awslabs / aws-sdk-net-samples

Apache License 2.0
195 stars 175 forks source link

intent.GetStringExtra("registration_id") retruns null #10

Open SatMelody opened 7 years ago

SatMelody commented 7 years ago

I tried to get registration id using below code. but it returns null always. I am using the code in mainactivity.cs file. What is the issue? how can we get registration id? intent.GetStringExtra("registration_id")

ghatighorias commented 6 years ago

the same for me. any solution ?

ghatighorias commented 6 years ago

@SatMelody i found the reason. the issue is that from google developer console you should use "Project number " and nor "Project ID"

jitendracodehacker commented 6 years ago

i am also getting registration id as null where to use it . But where to use project number