PushNotification Crush on Android 8 and above


This time, update to the latest version of fuselibs
Apps using PushNotification have been released into the play store.

After launch, some devices have detected post-installation crush events.

Below is the error log.

  • Test devices and test procedure
    Test Device : V20

Test method: Crush occurs 1 to 2 seconds after installing app in Play Store (not running app)

Is this error fuselibs error?
Or did I write the wrong code?

Please let me know if you need more information.

Were you using latest version of Uno?

When running the command “uno --version” in the CMD,
Output “1.12.2-dev-6cd746a (build 385)”

So it gave that error on the device or emulator?

It occurred on the actual device.

The test instrument is V20.

One difference is the error that occurs when you install an app that is released in the Play Store.

The error looks like it couldn’t find the method for registering the push notification success, which leads me to believe a compilation error.

Have you tried cleaning (“uno clean”) your android release/build, “uno doctor”, then release/build?

Yes, uno clean -> uno doctor -> uno build -t=android -c=release.

If you look at the source of your release: Android/Release/app/src/main/java/com/foreign/Fuse/PushNotifications/AndroidImpl.java

Goto line 187, should look similar:

    public static void RegistrationIDUpdated(final String regid)

Copy this part from your code: callUno_Fuse_PushNotifications_AndroidImpl_getRegistrationIdSuccess464

Goto Android/Release/app/src/main/java/com/Bindings/ExternedBlockHost.java

Search for the string mentioned above.

Do you find anything?

Perhaps @mortend may have some insight on this.

By the way, do you have this setup in your .unoproj?

"Android": {
    "Architectures": {
      "Debug": ["armeabi-v7a", "arm64-v8a"],
      "Release": ["armeabi-v7a", "arm64-v8a"]

I’m sorry for the late reply.

Searching for a string found one match in the ExternalBlockHost file.

“Architectures”: {
“Debug”: [“armeabi-v7a”, “arm64-v8a”],
“Release”: [“armeabi-v7a”, “arm64-v8a”]
Do I have to add a code?

Not sure what code you’re referring to but you should have this in your Android section of your project file:


    "Architectures": {
      "Debug": ["armeabi-v7a", "arm64-v8a"],
      "Release": ["armeabi-v7a", "arm64-v8a"]

Try the answer here: https://stackoverflow.com/questions/34156331/app-crashing-when-installed-from-play-store

Thank you for your answer.

I’ll check.