Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't receive pushes on my Android #675

Open
softwarea opened this issue Apr 6, 2016 · 2 comments
Open

Don't receive pushes on my Android #675

softwarea opened this issue Apr 6, 2016 · 2 comments

Comments

@softwarea
Copy link

Hi,

it's probably a problem on my side but I was wondering if any of you guys had an idea:

I am using the latest PushSharp 4.0.8. (installed with NuGet this morning). For starters I have been implementing Redth's sample codes for iOS and Android.

iOS works fine! I can send push notifications and they show up on my iPhone.

No success on Android though: I am not getting any errors/exceptions, but my push notifications do not reach my Android test phone (Cubot P12, Android 5.1).

My debugger definitely hits the Debug.WriteLine command in the following snippet - so I believe something must be right.

androidBroker.OnNotificationSucceeded += (notification) => { Debug.WriteLine("GCM Notification Sent!"); };

Any idea why I don't receive push notifications for my app? I should mention that my app is uploaded to the Google Play Console, but not published yet. Everything else like SenderID or API key should be correct I think (I tried wrong values and got exceptions). I deployed the app to my phone (by cable) and made sure that push notifications are enabled for this app in the Android settings. And yes, sound is "on" too ;)

What could I be missing?

Thanks guys!

@es-alt
Copy link

es-alt commented Apr 20, 2016

If it is succeeded, there isn't much you can do.
Make sure it is sent to you device indeed, i.e. update your token. If everything looks good, maybe it is related to the fact that the app isn't published.

@Liquid-NeoN
Copy link

Having a similar issue.

Pushsharp 2.0 works instantly, but 4.0 just never delivers even though I do get a successful message after sending push.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants