Hey - so I've been trying to integrate GameCircle with my Fire TV game, but it's behaving strangely. My first attempt at calling:
com.amazon.nativeextensions.GameCircle.create().addServiceReadyListener( function(gameCircleEvent:com.amazon.nativeextensions.events.GameCircleEvent):void { trace("Returned"); if (gameCircleEvent.type == com.amazon.nativeextensions.events.GameCircleEvent.SERVICE_READY) { trace("Service ready - you can now call other GameCircle functions."); } else if (gameCircleEvent.type == com.amazon.nativeextensions.events.GameCircleEvent.SERVICE_NOT_READY ){ trace("Service start failed:" + gameCircleEvent.errorMessage); } });
seemed to work, but returned the error message "cannot initialize." Turns out I had the wrong package name in my profile. Fixed that, and now GameCircle seems to be initializing, in that GameCircle.gameCircle is no longer null, but the callback never happens. I can also call loadLocalPlayer, and the little "welcome" popup shows up correctly, but that callback likewise fails to return. Calling updateAchievementProgress appears to do nothing, however.
Any thoughts as to what's going on?
Thanks.