vineri, 15 aprilie 2016

[SOLVED] Milkman's GoViral Facebook ANE login from AIR app not working


BEHAVIOUR : Adobe AIR app doesn't login to Facebook when using Milkman's GoViral ANE and no error is shown. The trace is:

[SWF] com.milkmangames.extensions.GoViral - 59334 bytes after decompression
[SWF] GoViralExample.swf - 25254 bytes after decompression
[GoViralExample] Started GoViral Example.
[GoViralExample] GoViral Extension Initialized: 5.3.0
[GoViralExample] Initializing facebook...
[GoViralExample] Facebook Initialized! GoViral v5.3.0/false
[GoViralExample] Login with facebook...
[GoViralExample] Waiting for login response...
make status
event from status->:5
PRE/[GVFacebookEvent type="gvFacebookLoggedin" graphPath=null dialogType=null bubbles=false cancelable=false eventPhase=2],null
do dispatch:[GVFacebookEvent type="gvFacebookLoggedin" graphPath=null dialogType=null bubbles=false cancelable=false eventPhase=2]
check granted user_friends
res false
[GoViralExample] Logged in to facebook:5.3.0,denied: [], user_friends permission?false
[GoViralExample] Getting profile...
Q DiD=1


Possible SOLUTIONS : 

  • Update the Facebook app from your device
  • Of course, if you get errors or app crashes, then you probably didn't set up the ANE right, so you should follow the docs again

Hope I saved you some time on this. 

luni, 11 aprilie 2016

[SOLVED] AS3 Adobe AIR app crashes when calling SharedObject flush() method

Recently run into a problem. I upgraded to the latest Adobe AIR SDK v21.0.0.176 and the app was crashing without any error. After some debugging, I found out that the error came from this line

SharedObject(localData).flush();


BEHAVIOUR : Adobe AIR app crashing when calling flush() on a SharedObject

Possible SOLUTIONS : 

  • One of the SharedObject().data properties are invalid. Check every property of SharedObject data to find it out. In my case was an empty array or possible filled with null elements. 

Hope I saved you some time on this. 

duminică, 10 aprilie 2016

[SOLVED] Adobe AIR app crashes after first x seconds

Recently run in a strange Adobe AIR error. Hope you'll save some time with this

BEHAVIOUR : Adobe AIR app was crashing just after launch.

Possible SOLUTIONS

  • Change "Render Mode" to "Auto"
  • Update to the latest Adobe AIR SDK

Please let us know if this worked for you in solving this problem