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

React native app crashes on start #25387

Closed
uendar opened this issue Jun 25, 2019 · 1 comment
Closed

React native app crashes on start #25387

uendar opened this issue Jun 25, 2019 · 1 comment
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot. Type: Question Issues that are actually questions and not bug reports.

Comments

@uendar
Copy link

uendar commented Jun 25, 2019

I updated the react native android support libraries to AndroidX and now when i run react-native run-android my app opens and crashes in a second.

buildscript {
    ext {
            buildToolsVersion = "28.0.3"
            minSdkVersion = 16
            compileSdkVersion = 28
            targetSdkVersion = 28
            supportLibVersion = "28.0.3"
            googlePlayServicesAuthVersion = "16.1.0"
           firebaseVersion = '17.6.0'
    }
    repositories {
        google()
        jcenter()

    }

    dependencies {

         classpath 'com.android.tools.build:gradle:3.3.0'
         classpath 'com.google.gms:google-services:4.0.0'
}
}
dependencies {

   implementation fileTree(dir: "libs", include: ["*.jar"])
   implementation 'androidx.appcompat:appcompat:1.0.0'
   implementation 'androidx.legacy:legacy-support-core-utils:1.0.0'
  implementation 'com.google.firebase:firebase-core:16.0.9'
   implementation 'com.google.firebase:firebase-messaging:17.3.4'
   implementation 'com.google.android.gms:play-services-auth:16.0.1'
   implementation ("com.facebook.react:react-native:+") { force = true }  // From node_modules
   implementation project(':realm')
   implementation project(':react-native-firebase')
   implementation project(':react-native-fs')
   implementation project(':react-native-vector-icons')
   implementation project(':react-native-image-picker')
   implementation project(':rn-fetch-blob')
   implementation project(':react-native-image-crop-picker')
   implementation project(':react-native-exit-app')
   implementation project(':react-native-onesignal')
   implementation project(':react-native-sensor-manager')
   implementation project(':react-native-smart-barcode')
   implementation(project(":react-native-push-notification"),  {
    exclude group: "com.google.android.gms"
    })
   implementation project(':react-native-linear-gradient')
   implementation project(':react-native-file-picker')
   implementation project(':react-native-doc-viewer')
   implementation project(':react-native-svg')
   implementation project(":react-native-google-signin")
   implementation project(':react-native-spinkit')
   implementation project(':react-native-pdf')
    implementation project(':react-native-gesture-handler')
}

"react": "16.5.0",
    "react-native": "^0.59.9",

I dont know if it is something related with react-native-firebase or not because i migrated from fcm to firebase. Any one issuing same thing ?

@uendar uendar added the Type: Question Issues that are actually questions and not bug reports. label Jun 25, 2019
@react-native-bot
Copy link
Collaborator

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

👉 Click here if you want to report a reproducible bug or regression in React Native.

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. Resolution: No Template labels Jun 25, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Jun 25, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jun 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot. Type: Question Issues that are actually questions and not bug reports.
Projects
None yet
Development

No branches or pull requests

2 participants