I am developing an application that uses GCM. It worked fine while the application was called manually. However, now I want to configure the application to start at boot. I configured what, in my opinion, is the proper service, broadcast receiver, and permissions to run the application at boot time. However, when I do this, I get the following error from my existing GCM broadcast receiver:
java.lang.RuntimeException: BroadcastReceiver is trying to return a result during a non-standard transmission
There seems to be some kind of race condition between the GCM broadcast receiver and the broadcast receiver that I use as part of my application on boot.
... or is there a way to get GCM orders to order?
Has anyone seen this problem before, and if so, can you point me to documents that explain how I can solve it?
Many thanks.
source
share