Closed ksrajath7 closed 1 year ago
In Android 9 , working perfectly as expected
I will investigate.
This is a expected behavior...
See in https://developer.android.com/guide/components/foreground-services#user-dismiss-notification
I can't see the notification in Android 13
@SurajMohanty02 Check if the notification permission is enabled.
Alternatively i am using a package react-native-background-actions and it is working for me
Manage Notification was off by default. why?
any Update ?? Please recover the issues for Android 13
@FazilMuhammed @SB2318 @SurajMohanty02 Alternatively i am using a package react-native-background-actions and it is working for me
Hello Everyone, I just was able to run this on an Android with the Android 13 version. Seems like you need a new permission to show a notification, which is
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
Please try again after adding this. Furthermore, below is an example application via which I was able to run the application.
https://github.com/Raja0sama/foreground-service-example
Please feel free report back.
@ksrajath7 @FazilMuhammed @SurajMohanty02
In Addition, you can use libraries like React Native Permission to request permission from the users. Permission required moving forward by user.
https://www.npmjs.com/package/react-native-permissions
Also the notification are now dismissable, but seems like the process stills is active and working.
Hi @Raja0sama I add this Line
The notification tab is not closable on drag in Android 9 as expected.
I am able to successfully run the task in background with the same app in Android 9
The issue with respect to Android 13 is the notification tab is closable in Android 13