-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[question]: How to integrate live activity in cordova? #877
Comments
Hello @abhin-dynamify you do not need to call enterLiveActivity from the Swift plugin. OneSignal's enterLiveActivity method should be called from your Cordova code after your Cordova app has started a live activity. OneSignal does not currently have methods to help bridge between Cordova and Apple's iOS native Live Activity APIs. |
That brings me to another set of questions.
Here is a log i for my recent integration tested on ios sim
|
@abhin-dynamify
|
in ref to point 1. i see the PR is merged is . Please suggest a alternative method to test with the current version onesignal-cordova-plugin 3.3.1 |
@abhin-dynamify The iOS Native SDK will need to be released first before you would be able to have the change applied in a local version of of the OneSignal Cordova plugin. A release should be happening this week and a Cordova plugin release would happen shortly thereafter |
The current documentation is not clear on how to add live activity in a cordova app, the main confusion being, wether to use enterLiveActivity function in the swift plugin code that ll be created for live activity or the cordova app which will call the the said plugin to start a liveactivity.
The text was updated successfully, but these errors were encountered: