Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

lesleysin
Copy link
Contributor

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

Related issue

@Rapsssito
Copy link
Owner

@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
Copy link
Contributor Author

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

@Rapsssito
Copy link
Owner

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

@Rapsssito Rapsssito merged commit 32e9d20 into Rapsssito:master Sep 7, 2023
@lesleysin lesleysin deleted the fix(Android)-android-v12+-fix-servise-start branch September 7, 2023 16:35
github-actions bot pushed a commit that referenced this pull request Oct 11, 2023
## [3.0.1](v3.0.0...v3.0.1) (2023-10-11)

### Bug Fixes

* **Android:** Register background service in package AndroidManifest.xml ([#184](#184)) ([32e9d20](32e9d20))
@github-actions
Copy link

🎉 This PR is included in version 3.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@LucasHimelfarb
Copy link

@Rapsssito this fix si related with #168 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants