Closed ToniLloyds closed 1 year ago
Here is a minimal reproducible example with fresh install of react native and very similar package rn-dynamic-app-icon
but same thing happens with this one
To reproduce git clone https://github.com/ToniLloyds/example-cahnge-icon-bug cd into project directory install dependencies yarn Run it yarn android After app opens click on "change UK" or "change US" Click Request permission App crashes
@ToniLloyds You can follow this fix: https://github.com/skb1129/react-native-change-icon/pull/66/commits/7542e96b830d2d4df38c5599213be18735709565
@ToniLloyds can you please try using v4.0.0 I can see you have action MAIN & category LAUNCHER in your MainActivity XML, try removing that. Also you need to android:exported="true" to both you activity-alias Try running the example application on your device
closing this issue due to inactivity
this problem still persists
Platform
Description App crashes after changing icon and asking for permission or opening in app browser
To Reproduce Steps to reproduce the behavior:
react-native-permissions
package request methodIf app doesn't change the icon everything works
Expected behavior App should not crash
Device (please complete the following information):
Versions
Code Snippet AndroidManifest.xml
Logcat
com.exampleName.elevate E/unknown:ReactNative: Tried to remove non-existent frame callback
...