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

Unable to use extra GCM sender #194

unger opened this Issue Mar 16, 2016 · 0 comments


None yet
2 participants
Copy link

commented Mar 16, 2016

When adding the following to the AndroidManifest

<meta-data android:name="com.parse.push.gcm_sender_id" android:value="id:1234" />

You get the following row in logcat:

Found com.parse.push.gcm_sender_id <meta-data> element with value "id:1234", but the value is missing the expected "id:" prefix

The message sounded a bit strange as the value indeed had a id: prefix. When looking at the code in ParsePush\Internal\Android\GcmRegistrar.cs on line 38 the check against if senderIdExtra is a string fails because it really is of type Bundle. There is also a problem on row 65 where senderIds is concatenated with senderIdExtra that still has the id: in the string, it should concatenate with senderId instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.