inloop / easygcm

Android Library for easy GCM integration in few lines of code.
Apache License 2.0
261 stars 43 forks source link

BroadcastReceiver trying to return result during a non-ordered broadcast #32

Closed kaiyan910 closed 9 years ago

kaiyan910 commented 9 years ago

I don't know it is because of the SDK updated or what I get this error once the app is first launch

BroadcastReceiver trying to return result during a non-ordered broadcast java.lang.RuntimeException: BroadcastReceiver trying to return result during a non-ordered broadcast

And it is wired that I get a empty GCM broadcast on the app first launch

Seems the source is this line in the GcmBroadcastReceiver

setResultCode(Activity.RESULT_OK);

would you please have a look on that ? thanks.

DanielNovak commented 9 years ago

Probably duplicate of #36 .