Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

GoogleCloudMessagingBroadcastReceiver does not exist Error
Started by akao Oct 19 2018 09:39 AM

1 reply to this topic
onesignal pushnotification google play android
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

akao

[GLOBAL: userInfoPane.html]
akao
  • Contributor

  • 336 posts
  • Corona SDK

@Josh_OneSignal I've just built using OneSignal, but while testing on an older device, I am running into the following error. Not sure if the same issue exists in the newer devices. I've confirmed that once I take the oneSignal plugin out, then the error disappears. Can you please investigate? 

 

Device: Nexus 7, Android version 6.0

Corona: 2018.3389 (2018.10.2)

10-19 10:25:00.404 14244 14265 E linker  : warning: unable to get realpath for the library "/data/app/com.sx.wonsterwords-1/lib/arm/libplugin.OneSignal.so". Will use given name.
10-19 10:25:00.413 14244 14265 V Corona  : > Class.forName: OneSignal.LuaLoader
10-19 10:25:00.413 14244 14265 V Corona  : < Class.forName: OneSignal.LuaLoader
10-19 10:25:00.413 14244 14265 V Corona  : Loading via reflection: OneSignal.LuaLoader
10-19 10:25:00.418 14244 14265 I Corona  : DEBUG: sxUtil.loadTableFromFile() metric.txt
10-19 10:25:00.418 14244 14265 I Corona  : DEBUG: reading from filePath: /data/user/0/com.sx.wonsterwords/app_data/metric.txt
10-19 10:25:00.418 14244 14265 I Corona  : DEBUG: metricUtil.logEvent: Register for Push&status=start
10-19 10:25:00.418 14244 14265 I Corona  : DEBUG: amplitudeUtil.logEvent() Register for Push
10-19 10:25:00.419 14244 14265 E OneSignal: You must initialize OneSignal before getting tags! Moving this tag operation to a pending queue.
10-19 10:25:00.419 14244 14265 I Corona  : Starting Corona OneSignal SDK v1.13.3
10-19 10:25:00.478 14244 14265 I art     : Rejecting re-init on previously-failed class java.lang.Class<com.onesignal.LocationGMS$LocationUpdateListener>
10-19 10:25:00.479 14244 14265 I art     : Rejecting re-init on previously-failed class java.lang.Class<com.onesignal.LocationGMS$LocationUpdateListener>
10-19 10:25:00.481 14244 14265 I art     : Rejecting re-init on previously-failed class java.lang.Class<com.onesignal.LocationGMS$LocationUpdateListener>
10-19 10:25:00.483 14244 14265 I art     : Rejecting re-init on previously-failed class java.lang.Class<com.onesignal.LocationGMS$LocationUpdateListener>
10-19 10:25:00.526   601   611 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
10-19 10:25:00.527   601  2861 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
10-19 10:25:00.529  5432  7825 I Finsky  : [544] com.google.android.finsky.billing.iab.al.b(41): com.sx.wonsterwords: Account determined from installer data - [_iAvrkamVZH505skotGwd1-Jyvc]
10-19 10:25:00.529  5432  7825 I Finsky  : [544] com.google.android.finsky.billing.iab.al.b(49): com.sx.wonsterwords: Account from preferred account - [_iAvrkamVZH505skotGwd1-Jyvc]
10-19 10:25:00.531   601  2821 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
10-19 10:25:00.532   601   810 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
10-19 10:25:00.540 14244 14265 W System.err: java.lang.IllegalArgumentException: Component class com.ansca.corona.notifications.GoogleCloudMessagingBroadcastReceiver does not exist in com.sx.wonsterwords
10-19 10:25:00.540 14244 14265 W System.err: at android.os.Parcel.readException(Parcel.java:1603)
10-19 10:25:00.540 14244 14265 W System.err: at android.os.Parcel.readException(Parcel.java:1552)
10-19 10:25:00.540 14244 14265 W System.err: at android.content.pm.IPackageManager$Stub$Proxy.setComponentEnabledSetting(IPackageManager.java:3963)
10-19 10:25:00.540 14244 14265 W System.err: at android.app.ApplicationPackageManager.setComponentEnabledSetting(ApplicationPackageManager.java:1859)
10-19 10:25:00.540 14244 14265 W System.err: at OneSignal.LuaLoader$InitFunction.invoke(LuaLoader.java:118)
10-19 10:25:00.540 14244 14265 W System.err: at com.ansca.corona.JavaToNativeShim.nativeRender(Native Method)
10-19 10:25:00.540 14244 14265 W System.err: at com.ansca.corona.JavaToNativeShim.render(JavaToNativeShim.java:195)
10-19 10:25:00.541 14244 14265 W System.err: at com.ansca.corona.Controller.updateRuntimeState(Controller.java:357)
10-19 10:25:00.541 14244 14265 W System.err: at com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onDrawFrame(CoronaGLSurfaceView.java:425)
10-19 10:25:00.541 14244 14265 W System.err: at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1625)
10-19 10:25:00.541 14244 14265 W System.err: at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1380)

 



[TOPIC: post.html]
#2

akao

[GLOBAL: userInfoPane.html]
akao
  • Contributor

  • 336 posts
  • Corona SDK

Just realized, is this a duplication of this? 

https://forums.coronalabs.com/topic/71936-javalangillegalargumentexception-component-class-comanscacoronanotificationsgooglecloudmessagingbroadcastreceiver-does-not-exist/

 

In terms of behavior, while this doesn't seem to crash our app, it does seem to inconsistently do weird things to our app - eg. the first launch seems to take much longer with a black screen. After closing our app, the audio keeps playing. Things that don't seem to happen otherwise.. 




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: onesignal, pushnotification, google play, android