Skip to content

Don't receive pushes on my Android #675

Open
@softwarea

Description

@softwarea

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions