Smitha Kamath
Smitha Kamath
I have added it this way const requestBLEPermission = async () => { if (Platform.OS !== 'android') { return; } if (Platform.Version >= 31) { PermissionsAndroid.requestMultiple([ PermissionsAndroid.PERMISSIONS.BLUETOOTH_SCAN, PermissionsAndroid.PERMISSIONS.BLUETOOTH_CONNECT, PermissionsAndroid.PERMISSIONS.POST_NOTIFICATIONS, ]).then((result)...
Is there any settings or configuration taht needs to be added as specified by this https://reactnative.dev/docs/headless-js-android On Tue, Dec 3, 2024 at 1:19 PM smitha kamath ***@***.***> wrote: > I...
` ` Do we need anather library react-native-foreground-service? ``` const uploadFromBackground = async () => { let playing = BackgroundJob.isRunning(); playing = !playing; if (playing) { try { await BackgroundJob.start(veryIntensiveTask,...
@BagasNS could you look into this issue please.
Thankyou @rokanost. Tried it. Its still gives the same problem. Crashes as soon as the background task starts.
@patphantuan251 Did you happen to solve it ?
@patphantuan251 what is the version of react native and react-native-background-actions you are using? and also what are the foregroundServiceTypes you are targetting?
My App crashes as soon as it tries to start the foreground task with runtime exception.I have included android:foregroundServiceType to be dataSync and connectedDevice as the app uses ble and...
@Beckmann0o where you able to solve it? Whats the version of react native and react-native-background-actions you are using. I have issue registered with background on android 14 at https://github.com/Rapsssito/react-native-background-actions/issues/251 ....
hello @viswa-capgemini have subscribed to multiple services from multiple devices?