Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4398] Android Push Notifications

GitHub Issuen/a
TypeStory
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2016-09-27T15:25:41.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterCarlo Milanesi
AssigneeShak Hossain
Created2016-08-30T13:50:56.000+0000
Updated2016-09-27T15:25:41.000+0000

Description

I am trying to implement Android Push Notifications using Appcelerator Studio 4.7.0 + Titanium using Mac OS X. The call CloudPush.retrieveDeviceToken, emits for five times the warning "W/com.appcelerator.aps.CCPushService: Getting GCM SenderId failed. No response area in returned JSON. Will try again n 5 seconds." and then it emits the error message: "Failed receiving GCM SenderId. Getting GCM SenderId failed. Max retry time reaches." Documentation says I should follow the steps in "Creating a Google API Project". But there are two problems: "Firebase Cloud Messaging (FCM) is the new version of GCM" and "Required: The latest versions of Android Studio and Google Play Services." Should I use FCM, and how? Should I install Android Studio and Google Play Services, or can I remain in Appcelerator Studio?

Comments

  1. Sharif AbuDarda 2016-09-05

    Hello, Did you followed the instruction on configuring push service in Appcelerator? http://docs.appcelerator.com/platform/latest/#!/guide/Configuring_push_services-section-37551713_Configuringpushservices-ConfiguringpushservicesforAndroiddevices. Follow the guide on how to set GCM sender iD in app dashboard in the platform. Thanks.

JSON Source