morinel / gcmpush

Titanium Module for Android Push
Apache License 2.0
57 stars 35 forks source link

Setting "backgroundOnly" disables receiving data in foreground #41

Closed cr0ybot closed 8 years ago

cr0ybot commented 8 years ago

The backgroundOnly setting should only turn off system notifications, but should still send the data to the app's callback method for processing if the app is open. Currently, if backgroundOnly is true, GCMIntentService.onMessage() returns early if the app is in the foreground without sending the data to the GCMModule.

morinel commented 8 years ago

Thanks, request merged and version 1.6 released