App in Google Play Fails to Start in Motorola

#1

I’ve released my app in Google Play (standalone build) and two users are reporting that they get a blue screen with error just after starting the app:

“Error calling AppRegistry.RunApplication”

Both of them have Motorola Phones with Android 6.

Checking the stacktrace of the crash report, I think it’s related to exponent and push notifications cause it menthions:

host.exp.exponent.gcm.GcmRegistrationIntentService

One thing that I have changed at app.json was the permissions, can be that the reason?

Mi app.json

{
  "expo": {
    "name": "Football World 2018",
    "description": "Football matches, stats, brackets and more.",
    "slug": "football-world-2018",
    "privacy": "public",
    "sdkVersion": "25.0.0",
    "platforms": ["ios", "android"],
    "version": "1.1.2",
    "orientation": "portrait",
    "icon": "./assets/images/icon.png",
    "splash": {
      "image": "./assets/images/splash.png",
      "resizeMode": "contain",
      "backgroundColor": "#ffffff"
    },
    "assetBundlePatterns": [
      "assets/images/*",
      "assets/images/icons/*",
      "assets/images/flags/*",
      "assets/images/fonts/*",
    ],
    "ios": {
      "supportsTablet": false,
      "bundleIdentifier": "fun.sportapps.footballworld2018"
    },
    "android": {
      "package": "fun.sportapps.footballworld2018",
      "versionCode": 3,
      "permissions": [
        "WAKE_LOCK"
      ]
    }
  }
}

Google Play ANR complete report:

executing service fun.sportapps.footballworld2018/host.exp.exponent.gcm.GcmRegistrationIntentService

host.exp.exponent.gcm.GcmRegistrationIntentService

“main” tid=1 Native
“main” prio=5 tid=1 Native
| group=“main” sCount=1 dsCount=0 obj=0x7452d2a0 self=0xb790b790
| sysTid=26012 nice=-4 cgrp=default sched=0/0 handle=0xb6f91b34
| state=S schedstat=( 1001859681 175629897 1212 ) utm=78 stm=22 core=3 HZ=100
| stack=0xbe0b3000-0xbe0b5000 stackSize=8MB
| held mutexes=

#00 pc 0000000000016a6c /system/lib/libc.so (syscall+28)

#01 pc 0000000000042429 /system/lib/libc.so (_ZL33__pthread_mutex_lock_with_timeoutP24pthread_mutex_internal_tPK8timespeci+504)

#02 pc 000000000004252d /system/lib/libc.so (pthread_mutex_lock+26)

#03 pc 000000000000d48f /data/app/fun.sportapps.footballworld2018-1/lib/arm/libfb.so (_ZN8facebook3jni10initializeEP7_JavaVMOSt8functionIFvvEE+102)

#04 pc 0000000000025be9 /data/app/fun.sportapps.footballworld2018-1/lib/arm/libreactnativejni.so (JNI_OnLoad+48)

#05 pc 00000000002502ab /system/lib/libart.so (ZN3art9JavaVMExt17LoadNativeLibraryEP7_JNIEnvRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEP8_jobjectPS9+1174)

#06 pc 00000000002c23d7 /system/lib/libart.so (ZN3artL18Runtime_nativeLoadEP7_JNIEnvP7_jclassP8_jstringP8_jobjectS5+178)

#07 pc 000000000021bb8d /system/framework/arm/boot.oat (Java_java_lang_Runtime_nativeLoad__Ljava_lang_String_2Ljava_lang_ClassLoader_2Ljava_lang_String_2+144)

at java.lang.Runtime.nativeLoad (Native method)

at java.lang.Runtime.doLoad (Runtime.java:435)

  • locked <0x0fe236ab> (a java.lang.Runtime)

    at java.lang.Runtime.load (Runtime.java:330)

    at java.lang.System.load (System.java:1069)

    at com.facebook.soloader.DirectorySoSource.loadLibraryFrom (DirectorySoSource.java:71)

    at com.facebook.soloader.DirectorySoSource.loadLibrary (DirectorySoSource.java:42)

    at com.facebook.soloader.SoLoader.loadLibraryBySoName (SoLoader.java:299)

    at com.facebook.soloader.SoLoader.loadLibrary (SoLoader.java:247)

  • locked <0x033b9108> (a java.lang.Class<com.facebook.soloader.SoLoader>)

    at com.facebook.react.bridge.ReactBridge.staticInit (ReactBridge.java:18)

    at com.facebook.react.bridge.NativeArray. (NativeArray.java:19)

    at com.facebook.react.bridge.Arguments.createArray (Arguments.java:156)

    at com.facebook.react.bridge.Arguments.fromArray (Arguments.java:206)

    at host.exp.exponent.modules.ExponentKernelModule.addError (ExponentKernelModule.java:83)

    at host.exp.exponent.experience.a.a (BaseExperienceActivity.java:226)

  • locked <0x0abd60a1> (a java.util.LinkedList)

    at host.exp.exponent.experience.a.j (BaseExperienceActivity.java:32)

    at host.exp.exponent.experience.a$2.run (BaseExperienceActivity.java:185)

    at android.os.Handler.handleCallback (Handler.java:746)

    at android.os.Handler.dispatchMessage (Handler.java:95)

    at android.os.Looper.loop (Looper.java:148)

    at android.app.ActivityThread.main (ActivityThread.java:5443)

    at java.lang.reflect.Method.invoke! (Native method)

    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:728)

    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:618)

Link to the app
https://www.footballworld2018.com/

#2

What is the exact model of the phone?

#3

Hi @nikki

This happened in a Moto G5 and also in a Moto G3.

closed #4

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.