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 14 crash with implicit intent #208
base: master
Are you sure you want to change the base?
Conversation
Thanks for this. I have some users reporting issues on Android 14 and will use this with patch-package to get by for now |
its work for me |
Hi, For the foreground type, an action is not always of type shortService. I try to found a way to set a dynamically foregroundService |
Agreed with the service type. I'm using specialUse for my app with this patch. If using expo, this could easily be dynamic with a config plugin |
The foreground type could be pass by parameter since API Level 29. |
Right! Thanks for your feedback, i think we should set compileSDKVersion to 34 for library and foreground type to be is the responsibility of each application. Maybe i will update this patch |
After some test and read the document, it seems to be impossible to set the foregroundType directly in the startForeground method without declare it in the service tag (manifest). If we had all the possible tags, we must declare all the corresponding permissions. Imho, It's not an option I don't see any other solution than indicating in the documentation that the service must be redeclared in the application manifest with the correct foregroundType. |
I updated compileSdk to 34 and remove foregroundSeviceType in lib's manifest. To startForeground with dynamic type, i think lib must be to chang with param is permission type corresponding |
Worked for me! |
Hi, is there any news with respect to this PR? Need help with anything? |
Worked for me too! |
i am going to use it now. seem working for you guys |
No description provided.