Search code examples
react-nativecrashgoogle-play-console

React Native Android app Crashing again and again


I have made a react native app and published it on the Google Play Store. But when it was published it was crashing again and again and the logo was also changed a bit. Before the publishing, it worked fine. Please help me out.

Here's the link for the app:

https://play.google.com/store/apps/details?id=com.shubham_deswal.lblood_app


Solution

  • I have also faced this kind of issue and the following command worked for me

    1. Run Following command

      react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res

    2. Manifest.xml

      <application android:name=".MainApplication" android:icon="@mipmap/ic_launcher" android:usesCleartextTraffic="true" // add this line with TRUE Value. android:theme="@style/AppTheme">

    3. Permission

      On your Mac, choose Apple menu > System Preferences, click Security & Privacy, then click Privacy. Select Files and Folders. Select the tickbox below an app to allow it to access files and folders in that location. Deselect the tickbox to turn off access for that app.