A few months ago I implemented xtify SDK for Android GCM and it used to work well (the instruction XtifySDK.getXidKey(getApplicationContext())
returned a xid, but now it doesn't work anymore and I didn't make any changes since then.
I realized the SDK was updated (I was using 2.3) so I made everything since the beginning (created a new Google GCM application (server key without associated IPs); created a new app key in xtify console (development key), added the necessary info in manifest and the libraries.
I've implemented:
public class XtifyNotifier extends XtifyBroadcastReceiver
{
final String XTIFY_APP_KEY = //app key in console
final String SENDER_ID = //project number in google application
protected void onRegistered(Context arg0)
{ //applicationContext
XtifySDK.start(arg0, XTIFY_APP_KEY, SENDER_ID);
String xid = XtifySDK.getXidKey(arg0); //and this is the problem, it returns always null
.....
}
}
The target is Google APIs (level 8) and I have a Google account configured in the phone. I tried again the sample but it still doesn't work.
Does anyone know about some kind of changes or limitations in the SDK?