@voximplant/react-native-foreground-service
Version:
React native module to start foreground service on android
23 lines (17 loc) • 955 B
Markdown
- Fix for [
- Fix for [
- Fix: Reference error on action button click if there are no handlers for this event
- All static methods are changed to instance methods.
Now, to call public APIs, it is required to get the shared instance via `VIForegroundService.getInstance()` API
- Add the ability to set a button to the foreground service notification and handle its click.
To handle button click event, it is required to subscribe to `VIForegroundServiceButtonPressed` event via `VIForegroundService.on` API.
- RN 0.60 autolinking support
- Make channelId in NotificationConfig required only for android 8+
- First release