
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
cordova-plugin-voxeet2
Advanced tools
Voxeet Cordova Plugin
This plugin is bridging the Voxeet's Toolkit/ConferenceKit calls. You can interacting with the plugin after the Cordova's deviceReady event.
It is mandatory that you added:
cordova platform add ioscordova platform add androidcordova plugin add https://github.com/voxeet/voxeet-cordova-conferencekit
By default the postinstall options will try to build the ios package. To skip the postinstall you can set env variable `VOXEET_SKIP_IOS_BUILD` to true. `export VOXEET_SKIP_IOS_BUILD=true`
cordova platform add ios in the project root folderALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES in Xcode build settings to trueTo enable push notification, follow https://github.com/voxeet/voxeet-ios-conferencekit#project-setup
No steps are required
To enable push notification, follow the steps in the app, for push notification, follow https://github.com/voxeet/android-sdk-sample
Verify that the Voxeet Push Notification services's tags are before the other services registered in the AndroidManifest with the proper priority to prevent Cordova's FCM issues
You also need to make a modification in the generated MainActivity. Using Android Studio or any other IDE :
right before the call to super.onCreate(savedInstanceState); :
getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED |
WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD |
WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON |
WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON
);
This call use the following import : import android.view.WindowManager;
<meta-data android:name="rn_voxeet_incoming_call_accepted_or_declined" android:value="fully.qualified.package.name.to.the.default.cordova.activity" />
You can use the Voxeet and UserInfo classes using the following :
Voxeet is a singleton from which you will interact with the SDKUserInfo is a class :
(externalId: string, name: string, avatarUrl: string)Voxeet.initialize(<your consumer key>: string , <your secret key>: string)
.then(() => {
//if the initialization is ok
})
.catch(err => {
//in case of error
});
//Voxeet.initializeWithRefresh(accessToken: string , refreshToken: () => Promise<boolean>)
//the callback to be used
const refreshToken = () => {
return new Promise((resolve, reject) => {
//here do your network call to get a new accessToken
//and do resolve(theAccessTokenValue);
});
}
//the actual call to the SDK initialization
Voxeet.initializeWithRefresh("someValidAccessToken" , refreshToken)
.then(() => {
//if the initialization is ok
})
.catch(err => {
//in case of error
});
Voxeet.openSession(<userId>: string, <name>: string, <avatarUrl>: string)
.then(() => {
//if the session is started
})
.catch(err => {
//in case of error
});
You can start a conference with its conferenceId. You can also invite others to join the current conference by using an array of UserInfo
Voxeet.startConference(<conferenceId>: string, <optional participants>: UserInfo[])
.then(() => {
//call made and everything is ok
})
.catch(err => {
//in case of error
});
You can also stop a given conference using the following method which will close the conference.
Voxeet.stopConference()
.then(() => {
//call made and everything is ok
})
.catch(err => {
//in case of error
});
Voxeet.sendBroadcastMessage(your_message)
.then(() => {
//message sent
})
.catch(err => {
//error while sending the message
});
Voxeet.closeSession()
.then(() => {
//if the session is closed
})
.catch(err => {
//in case of error
});
var user0 = new UserInfo('0', 'Benoit', 'https://cdn.voxeet.com/images/team-benoit-senard.png');
var user1 = new UserInfo('1', 'Stephane', 'https://cdn.voxeet.com/images/team-stephane-giraudie.png');
var user2 = new UserInfo('2', 'Thomas', 'https://cdn.voxeet.com/images/team-thomas.png');
Voxeet.initialize('consumerKey', 'consumerSecret')
.then(() => Voxeet.openSession(user0))
.then(() => Voxeet.startConference('conferenceId', [user1, user2]))
.then(() => alert("done"))
.error(err => alert(err));
This code-source is under the GPL-v3 License
FAQs
Cordova Voxeet Plugin
The npm package cordova-plugin-voxeet2 receives a total of 0 weekly downloads. As such, cordova-plugin-voxeet2 popularity was classified as not popular.
We found that cordova-plugin-voxeet2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.