Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5101] ACS can't get token from Firebase in prod environment

GitHub Issuen/a
TypeStory
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2017-08-09T08:37:44.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsacs, android, firebase, production, token
ReporterMarian Kucharcik
AssigneeShak Hossain
Created2017-07-20T14:45:21.000+0000
Updated2017-08-09T08:37:44.000+0000

Description

Hi guys, I successfully implemented Android's push notifications with ACS and Firebase. When I build my app as development, everything works fine, I subscribe successfully to channel. But when I switch to production and install the app manually(without release to Play Store, for final test), app keeps showing error: Failed to register for push! Failed receiving GCM senderId. Max retry tine reaches. I don't understand why this error shows up, I have all set up properly, I tried to create/delete app in Firebase/Google console, but nothing helped. Please help me. Thank you

Comments

  1. Sharif AbuDarda 2017-08-01

    Hello, Did you successfully configured the Key and senderID in production mode of your ArrowDB app? Make sure you set for both development type in the AprrowDB app. If development is working fine the production should be working too. I have tested a demo app and it's working. Can you make sure. Thanks.
  2. Marian Kucharcik 2017-08-01

    Hi Sharif, I created new mobile project, copied over old source codes, set up push notifications on androdi for testing and production and it's working fine. I don't know what's wrong with the original project, but it's working fine now. Please close the issue as resolved. Thank you

JSON Source