plugins
plugins copied to clipboard
[@nativescript/local-notifications] App crash when addOnMessageClearedCallback
The app crashed when setting a callback for the user clearing the notification.
Error: Unable to start receiver com.telerik.localnotifications.NotificationClearedReceiver: com.tns.NativeScriptException: Cannot find object id for instance=com.tns.gen.com.telerik.localnotifications.LocalNotificationsPluginListener@ce7d97
System.err: com.tns.NativeScriptException: Error: Cannot convert object to Ljava/lang/Throwable; at index 0
System.err: at com.tns.Runtime.passExceptionToJsNative(Native Method)
System.err: at com.tns.Runtime.passUncaughtExceptionToJs(Runtime.java:84)
System.err: at com.tns.NativeScriptUncaughtExceptionHandler.uncaughtException(NativeScriptUncaughtExceptionHandler.java:34)
System.err: at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1073)
System.err: at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068)
System.err: at java.lang.Thread.dispatchUncaughtException(Thread.java:2203)
NativeScript: 7.3.0 Device: Samsung A52 Android 11 @nativescript/local-notifications: "^5.1.0"