Haruka
1
Hello.
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.
aeq
2
Were you using latest version of Uno?
Haruka
3
Yes
When running the command “uno --version” in the CMD,
Output “1.12.2-dev-6cd746a (build 385)”
aeq
4
So it gave that error on the device or emulator?
Haruka
5
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.
aeq
6
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?
Haruka
7
Yes, uno clean -> uno doctor -> uno build -t=android -c=release.
aeq
8
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)
{
ExternedBlockHost.callUno_Fuse_PushNotifications_AndroidImpl_getRegistrationIdSuccess464((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?
aeq
9
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"]
},
}
Haruka
10
I’m sorry for the late reply.
callUno_Fuse_PushNotifications_AndroidImpl_getRegistrationIdSuccessful451
Searching for a string found one match in the ExternalBlockHost file.
And
“Architectures”: {
“Debug”: [“armeabi-v7a”, “arm64-v8a”],
“Release”: [“armeabi-v7a”, “arm64-v8a”]
}
Do I have to add a code?
aeq
11
Not sure what code you’re referring to but you should have this in your Android section of your project file:
myproject.unoproj
"Architectures": {
"Debug": ["armeabi-v7a", "arm64-v8a"],
"Release": ["armeabi-v7a", "arm64-v8a"]
},
aeq
12
Haruka
13
Thank you for your answer.
I’ll check.