airbnb / airbnb/native-navigation

Unfortunately App has stopped .

Open
#86 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.1k
Forks
173
PR merge metrics
No merged PRs in 30d

Description

App is getting crashed when try to push() or present() , but registerScreen is working (probably) .

I dont think its a javascript issue .
here's my gradle file

```
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"

dexOptions {
jumboMode = true
}
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/DEPENDENCIES.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/notice.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/dependencies.txt'
exclude 'META-INF/LGPL2.1'
}
defaultConfig {
applicationId "com.shopfort"
minSdkVersion 16
targetSdkVersion 25
versionCode 1
multiDexEnabled true
versionName "1.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
signingConfigs {
release {
storeFile file(MYAPP_RELEASE_STORE_FILE)
storePassword MYAPP_RELEASE_STORE_PASSWORD
keyAlias MYAPP_RELEASE_KEY_ALIAS
keyPassword MYAPP_RELEASE_KEY_PASSWORD
}
}

splits {
abi {
reset()
enable enableSeparateBuildPerCPUArchitecture
universalApk false // If true, also generate a universal APK
include "armeabi-v7a", "x86"
}
}
buildTypes {
release {
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
signingConfig signingConfigs.release
}
}
// applicationVariants are e.g. debug, release
applicationVariants.all { variant ->
variant.outputs.each { output ->
// For each separate APK per architecture, set a unique version code as described here:
// http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
def versionCodes = ["armeabi-v7a":1, "x86":2]
def abi = output.getFilter(OutputFile.ABI)
if (abi != null) { // null for the universal-debug, universal-release variants
output.versionCodeOverride =
versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
}
}
}
}

dependencies {


compile project(':react-native-vector-icons')
compile project(':react-native-spinkit')
compile project(':react-native-share')

compile project(':react-native-linear-gradient')

compile(project(':react-native-fcm')){
exclude group: "com.google.firebase"
}
compile(project(':react-native-maps'))
{
exclude group: 'com.google.android.gms'
}


compile ("com.google.firebase:firebase-core:9.8.0"){
force = true;
}
compile ('com.google.firebase:firebase-messaging:9.8.0'){
force = true;
}


compile ("com.google.android.gms:play-services-base:9.8.0") {
force = true;
}
compile ("com.google.android.gms:play-services-maps:9.8.0") {
force = true;
}

compile ('com.google.android.gms:play-services-gcm:9.8.0') {
force = true;
}

compile project(':react-native-fbsdk')
compile project(':react-native-camera')
compile project(':lottie-react-native')
compile project(':gl-react-native')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:25.1.1"
compile "com.facebook.react:react-native:+" // From node_modules
compile 'com.android.support:support-annotations:25.1.1'

// add native-navigation
compile project(':native-navigation')
```

### Need help .

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the crash in push() or present() using the supplied Android Gradle configuration, and capture the native crash output while comparing it with the working registerScreen path. Done means identifying a reproducible failing entry point and verifying the resulting fix or documented cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, react-native
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.