XtifySDK.getXidKey() returns null -
i'm following instructions getting started section xtify notifications doing following:
context myappcontext = getapplicationcontext(); xtifysdk.start(myappcontext , myapp.xtify_app_key, myapp.sender_id); string xid = xtifysdk.getxidkey(myappcontext); if(!"".equals(xid) && xid != null) { ... } and realised when register first time, returned xid, if uninstall , deploy again using eclipse returns null in xtifysdk.getxidkey() instruction.
the app target build using google apis 4.0 (level 14).
i'd thank , appreciate in guys.
perhaps you're asking quickly. better place request xid in onregistered callback method within xtifynotifier class.
Comments
Post a Comment