简体   繁体   中英

Changed gcm sender id in iOS plist, return error registering with GCM 401

Created two projects one for Android and another for iOS. Works total fine if using separated project number and api key. But my problem is that I want to use one pair project number and api key on my Server side, so if I change the sender id in iOS plist, it returns that the operation couldn't be completed with an error 401 when asking for a registration_id to GCM. Anyone has ideas? Thanks

Hmm sounds like maybe you generated the sender ID from the wrong developer console. It has to be a sender ID generated from the same project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM