parse-push-plugin
parse-push-plugin copied to clipboard
com.parse.ParsePushChannelsController.checkManifestAndLogErrorIfNecessary
Using the plugin generates the following error at startup on Android device after following all the configuration steps. Any idea what I am missing ?1
08-23 18:49:03.141 28520 28748 E PluginManager: at com.parse.ParsePushChannelsController.checkManifestAndLogErrorIfNecessary(ParsePushChannelsController.java:69)
08-23 18:49:07.151 1012 1219 D ISSUE_DEBUG: InputChannelName : 867bd72 Application Error: x.y.z
08-23 18:49:07.251 1012 1219 D StatusBarManagerService: manageDisableList userId=0 what=0x0 pkg=Window{867bd72 u0 d0 Application Error: x.y.z}
08-23 18:49:07.341 1012 1219 V WindowStateAnimator: Finishing drawing window Window{867bd72 u0 d0 Application Error: x.y.z}: mDrawState=DRAW_PENDING
08-23 18:49:07.361 1012 1219 V WindowStateAnimator: Finishing drawing window Window{867bd72 u0 d0 Application Error: x.y.z}: mDrawState=HAS_DRAWN
This happens when I try to access the ParsePushPlugin API for the first time (on device).
if (window.ParsePushPlugin) {
ParsePushPlugin.subscribe('ABC', function() {
alert("success");
}, function(e) {
alert("failure");
});
}
Did you wrap the ParsePushPlugin call in some sort of document.ready() event handler?