Posts

Showing posts with the label react-native-android

React Native App Icon Not Showing As Specified in Res Folder

React Native App Icon Not Showing As Specified in Res Folder I have been working with react native for quite a while. I am having this weird issue with the application icon. I am only targeting Android for now. I have replaced the ic_launcher.png in all "android/app/src/main/res/mipmap-*" folders. After deploying the app on emulator or a real device the app icon is showing a black droid icon like the image link (Black droid icon instead of app icon) I tried this on actual devices too same issue. Note: When i open the list of apps from phone settings the app icon is showing fine in the list of apps see image link (Icon showing fine in app list from android settings) Could anyone direct me what the issue might be? I tried cleaning and rebuilding. Also tried clearing all cache and reinstalling app. Also generation of signed apk has the same behavior. Just wanted to know that, all replaced icons are of same size? If yes then please try cleaning the gra...

Cannot resolve symbol PermissionListener in react-native-image-picker

Cannot resolve symbol PermissionListener in react-native-image-picker import com.facebook.react.modules.core.PermissionListener; Cannot resolve symbol PermissionListener. friends i am a newbie in react-native and getting this issue in react-native-image-picker. i have added api 'com.facebook.react:react-native:0.20.1' in my gradle file. any solution friends? plz mention which library are you using? write what you have done? – Sagar Chavada yesterday have you write 'react-native link' – Sagar Chavada yesterday i have added library project implementation project(':react-native-image-picker'). but in this library project – Hi...