Multiple intents for one GCM message
Hi,
I noticed that when I get one GCM while running the app, it shows one alert (by adding 'alert(data.aps.alert)' in 'push notification' on my page), in the android logcat, we can see it triggered 'onMessage' by 'GCMIntentService'
However, there still got one notification item in Android's notification center. After click that item, it will resend two same messages to my page (show another two alters). In the logcat, we can see it triggered two 'onNewIntent' by 'PushNotifacatons'
The same situation, If the app in the background, when I got GCM in, it shows one item in Android notification center, once you click that, the app will be open with multiple alters (cause triggered several 'onNewIntent')
So, how can we fix this?