Page 2 of 6

Re: [Android] Admob Banner and Interstitial Support

Posted: Sun May 01, 2016 8:06 pm
by master both
Ranguna259 wrote:All my problems have been fixed :D
The problem was that google-play-services_lib was inside love-android-sdl2 and not in the same folder and the apk works now.

Things that I'd like to see added to the API:
  • Something like love.system.isIntertitialClosed() or a callback love.interstitialClosed() to check when an intertitial add is closed.
  • A new adds class so I can write something like this:
Other than that, the API is perfect, thank you very much and keep up the awesome work.

EDIT:
Nevermind implementing an intertiatial callback or a checker, interstitials stop the game from running while they are open so we don't have to worry about the game while it is open, awesome.
Thanks for the suggestions! I really like the idea of having classes, but I have no idea how to implement, I might research that up.
Kibita wrote:Are you planning to add Google leaderboard or achievements system soon? I think this would be great!
I might add google play services like leaderboards and achivements in the future, why not? But first I have to find the time to implement it. :)

Re: [Android] Admob Banner and Interstitial Support

Posted: Sun May 01, 2016 8:55 pm
by Ranguna259
Yes +1 for leaderboards

Re: [Android] Admob and Google Play Game Support

Posted: Mon May 30, 2016 6:10 pm
by master both
- Added a third parameter to createBanner to change it's size.
- Added achivements and leaderboards support.

Re: [Android] Admob and Google Play Game Services Support

Posted: Tue May 31, 2016 7:32 am
by Ranguna259
You are AWESOME
I just woke up and I was reading this half asleep and now I'm fully awake, thank you very much, finally my game is gonna have a leaderboard.

Re: [Android] Admob and Google Play Game Services Support

Posted: Tue May 31, 2016 1:51 pm
by bio1712
Awesome!!

Re: [Android] Admob and Google Play Game Services Support

Posted: Wed Jun 01, 2016 4:44 pm
by Ranguna259
Google play services don't work, when I try to connect to the game services the app crashes simply saying that it has stopped working. What's going on ?

Re: [Android] Admob and Google Play Game Services Support

Posted: Wed Jun 01, 2016 5:56 pm
by master both
Ranguna259 wrote:Google play services don't work, when I try to connect to the game services the app crashes simply saying that it has stopped working. What's going on ?
That's odd, It works perfectly for me. Can you plug your phone to your pc and run "adb logcat" and post here what it prints when you try to connect to game services?

Re: [Android] Admob and Google Play Game Services Support

Posted: Wed Jun 01, 2016 9:23 pm
by Ranguna259
Nevermind, I read through the logs and I traced back the error to AndroidManifest.xml, it was missing a line, I probably removed it by accident. I'm publishing now and I'll test it in a few minutes.

EDIT: Heads up for those who want to test Google Play Services before publishing, first you need to set everything up in the Game Services tab.
  • Create an app there and link it to your app.
  • Set everything up, achievements, leaderboard but do not publish.
  • Create your new apk and upload it to beta or alpha.
  • Add the emails of people you want to allow into the alpha/beta.
  • Go back to the game services tab and go to the testing tab, make sure you allow alpha/beta tester to use the game services by adding their emails and by pressing the red tick at the bottom of the page.
  • Send your tester the "Opt-in" link found in the beta tab of your apk and tell them to follow the instructions.
  • Once your tester accept to opt in, the packadge should download and install by itself.
  • Happy testing.
EDIT2:
I just posted some issues on the repo, I'd appreciate if you checked them out ;)

Re: [Android] Admob and Google Play Game Services Support

Posted: Tue Oct 11, 2016 4:20 pm
by monsieur_h
Holy zeus ! This is the miracle I was waiting for ! Thank you so much master both !!

Re: [Android] Admob and Google Play Game Services Support

Posted: Sun Dec 18, 2016 1:45 pm
by timotta
Nice work!

Do you have any plan to integrate it to the original repository?