freshplanet / ANE-Google-Play-Game-Services

Enable user to log in with Google+ to upload high score and achievements
Apache License 2.0
57 stars 42 forks source link

Last version always crashes if network is not available #34

Open Provlax opened 10 years ago

Provlax commented 10 years ago

The game MoviePop falls too, if network is not available

jabraeel commented 9 years ago

Do you still get the google play games dialog? or it crashes before that? Im using the current version and dont have such problem, it just tries to log the user in and it fails which you can listen to using AirGooglePlayGamesEvent.ON_SIGN_IN_FAIL.

WHAmarcelo commented 9 years ago

Same issue here... .crashes at startAtLaunch. Any ideas? declared manifest with the "\ "+appcode, is there any other thing to do?

jabraeel commented 9 years ago

@WHAmarcelo does it crash when network is not available or every time you call startAtLaunch? and which version are you using, the 38 kb one? anyways dont forget to add the following to your manifest <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>

also make sure to package the ANE with you app

WHAmarcelo commented 9 years ago

@jabraeel I was using the 38kb one than i realized need to complement it with a full Google Play Game Services API ane. Now working according to examples described here (https://github.com/nitacawo/Google-play-freshplanet-Overlawled-examples/tree/19abd030933335f44c8a1a0372b824387e807eed), thanks to nitacawo.

Is there another version of the ANE with the API included?, because the current Nitacawo version is conflicting with another ANE for admob.

Cheers,

nitacawo commented 9 years ago

@WHAmarcelo, btw be careful with admob and other monetization anes not from their network owners. I am not saying that they are all dodgy but recent event make you think twice.

WHAmarcelo commented 9 years ago

@nitacawo , Thanks, I'm currently using lancelot's one (heitara), I see that they have a new version so I'll try again to see if both work toghether.

BTW, do you know of any adnewtwor with native support for AS3? what are you currently using? I'm quite new to this app dev world so with not much reading on this.

nitacawo commented 9 years ago

@WHAmarcelo which I am aware of: chartboost, vungle, revmob have developers support there are also some non official paid anes as well. Personally I'm quite new too, so it's really hard to judge. I've just released game on ios/Google play/Amazon. Have around 700 downloads so statistically it's rubbish, but to my surprise admob shows the best result yet. However I do recommend using several networks anyway as fill rate is usually not 100 percent and then adjust priority which you think is right.

Btw google play from overlawled works fine with some admob anes.

jabraeel commented 9 years ago

@nitacawo what admob anes does not conflict with overlawled's ane? because currently im using Code-Alchemy's ane and it does not work with that.

Also thanks for that link from starling forum. I will remove Code-Alchemy's ane from my apps.

nitacawo commented 9 years ago

@jabraeel , crap deleted my answer by accident I currently use lilili87222 Topic does not have any substential proof that lilis ane stealing but he/she seems really into adverts anes which makes me paranoid a little. I am not a great programmer but I guess if I implement google analytics it should provide me with info on this issue. Maybe in a few days. P.s. my game which has admob and google play impelemented.

jabraeel commented 9 years ago

@nitacawo well I really have doubts now about lilili87222. I think I will end up buying milkman's ANEs. (I saw your previous comment before you deleted it :p)

BTW nice game :+1: good luck

WHAmarcelo commented 9 years ago

@jabraeel do you have clear evidences that lilili87222 is also stealing admob revenue? @nitacawo do you have any updates after analytics? I've checked this ANE also https://github.com/lancelot1/ane-admob, what do you guys think?

jabraeel commented 9 years ago

actually Im not sure about lilili87222. People have been using his admob ane for a long time, I personally never used that. After code alchemy's ane turned out to be a trojan, I decided to go with paid ANEs.

and about lancelot1's ane, It is based on code alchemy's without the trojan code - or at least that is what it says.

I really think you should de-compile them and check the code. It is the only way to know.