A stream of activity updates.
An event is emitted onto this stream each time a pushTokenUpdate occurs. The operating system can decide
to update a push token at any time. An update can also mean that the activity has ended or it became stale
A stream of push-to-start tokens for iOS 17.2+ Live Activities.
This stream emits tokens that can be used to start a Live Activity remotely via push notifications.
Create an iOS 16.1+ live activity.
When the activity is created, an activity id is returned.
Data is a map of key/value pairs that will be transmitted to your iOS extension widget.
Files like images are limited by size,
be sure to pass only small file size (you can use resizeFactor for images).
Remove all files copied in app group directory.
This is recommended after you send files, files are stored but never deleted.
You can set force param to remove ALL files in app group directory.
This is required to initialize the plugin.
Create an App Group inside "Runner" target & "Extension" in Xcode.
Be sure to set the SAME App Group in both targets.
urlScheme is optional and is the scheme sub-component of the URL.
appGroupId is the App Group identifier.
Update an iOS 16.1+ live activity.
You can get an activity id by calling createActivity.
Data is a map of key/value pairs that will be transmitted to your iOS extension widget.
Map is limited to String keys and values for now.
Get a stream of url scheme data.
Don't forget to add CFBundleURLSchemes to your Info.plist file.
Return a Future of schemeurlhostpath and queryParameters.