Rapsssito / react-native-background-actions

React Native background service library for running background tasks forever in Android & iOS.
MIT License
819 stars 117 forks source link

fix(Android) solving the problem with starting the service on Android OS version 12+ (#181) #184

Closed lesleysin closed 1 year ago

lesleysin commented 1 year ago

Register background service in package AndroidManifest.xml https://reactnative.dev/docs/headless-js-android?android-language=kotlin

Related issue

Rapsssito commented 1 year ago

@lesleysin, this is already described in https://github.com/Rapsssito/react-native-background-actions/blob/master/INSTALL.md. Do you mean that you do not need to add it to the user's AndroidManifest.xml, but instead to react-native-background-task AndroidManifest?

lesleysin commented 1 year ago

@Rapsssito Yes, I'm assuming it should work exactly as you described. The rules for merging manifests for packages are described here

Rapsssito commented 1 year ago

Thanks! Then, I will update the documentation. Thanks for the PR!

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 3.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

LucasHimelfarb commented 1 year ago

@Rapsssito this fix si related with https://github.com/Rapsssito/react-native-background-actions/issues/168 ?