Shuang Liu
Posts: 0
Joined: Wed Jun 26, 2013 2:31 pm

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?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Multiple intents for one GCM message

Hello! Working on it.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Multiple intents for one GCM message

Hi Shuang,

We can't reproduce the issue, please share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and tell us its name.

Shuang Liu
Posts: 0
Joined: Wed Jun 26, 2013 2:31 pm

Multiple intents for one GCM message

Ok, shared under 'a href="mailto:liushuang.me@gmail.com" rel="nofollow"liushuang.me@gmail.com/a', login as user:'goodgym', psw:'goodgym'

By the way, I am working on this project right now, so should I stop coding and wait for your testing?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Multiple intents for one GCM message

Hi Shuang, thank you. No, we don't edit user apps. You can work with it.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Multiple intents for one GCM message

Hi, reproduced the problem on Android 4.0.4. Looks like a bug, but we need to test with some other devices. What's your Android version?

Shuang Liu
Posts: 0
Joined: Wed Jun 26, 2013 2:31 pm

Multiple intents for one GCM message

I got this problem on Android 4.04, 4.1.1, and 4.2.2.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Multiple intents for one GCM message

Thank you! I'll report this problem.

Return to “Issues”