[11.3] AdMob support for Android + EU Consent

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
yetneverdone
Party member
Posts: 448
Joined: Sat Sep 24, 2016 11:20 am
Contact:

Re: [0.10.2] AdMob support for Android!

Post by yetneverdone »

modiX wrote: Sun Dec 17, 2017 7:49 pm
yetneverdone wrote: Sun Dec 17, 2017 1:35 pmHey, ive forked your repo and added my instruction/guide in the wiki here: https://bitbucket.org/brbl/love2d-admob ... nstruction
IDK how to PR that, please have a look at it before i make any more updates
Great, but your NDK links are broken tho.

yetneverdone wrote: Fri Dec 15, 2017 12:47 pm Anyways, ive fixed it now. THERE SHOULD REALLY BE A PROPER GUIDE! I dont mind making one, but i think mobiX is already making one. Just ask me if you have any problem
I'm very busy lately. You are welcome to post a guide for it here on the forum, don't hold yourself back. :nyu:
Oh. I just copied that link from the original repo's wiki
Ill update it
bio1712
Citizen
Posts: 72
Joined: Wed Aug 19, 2015 4:13 pm
Location: Italy

Re: [0.10.2] AdMob support for Android!

Post by bio1712 »

yetneverdone wrote: Sun Dec 17, 2017 1:35 pm
Hey, ive forked your repo and added my instruction/guide in the wiki here: https://bitbucket.org/brbl/love2d-admob ... nstruction
IDK how to PR that, please have a look at it before i make any more updates
Sorry for the late reply.
That's awesome. I have added a link to my wiki.
yetneverdone wrote: Sun Dec 17, 2017 1:35 pm
PS. Youve mentioned that changing AndroidManifest.xml is useless, so what about the game activity? Do i still need to create my own folder struction beside org.love2d.android ??
AndroidManifest.xml is useless if you want to change the version and the bundle identifier, however if you want to change your app's title, you need to edit that.

If you want to change the bundle identifier just edit the gradle file. Therefore you don't need to create a new folder anymore :crazy: .
User avatar
yetneverdone
Party member
Posts: 448
Joined: Sat Sep 24, 2016 11:20 am
Contact:

Re: [0.10.2] AdMob support for Android!

Post by yetneverdone »

bio1712 wrote: Thu Dec 21, 2017 9:17 pm
yetneverdone wrote: Sun Dec 17, 2017 1:35 pm
Hey, ive forked your repo and added my instruction/guide in the wiki here: https://bitbucket.org/brbl/love2d-admob ... nstruction
IDK how to PR that, please have a look at it before i make any more updates
Sorry for the late reply.
That's awesome. I have added a link to my wiki.
yetneverdone wrote: Sun Dec 17, 2017 1:35 pm
PS. Youve mentioned that changing AndroidManifest.xml is useless, so what about the game activity? Do i still need to create my own folder struction beside org.love2d.android ??
AndroidManifest.xml is useless if you want to change the version and the bundle identifier, however if you want to change your app's title, you need to edit that.

If you want to change the bundle identifier just edit the gradle file. Therefore you don't need to create a new folder anymore :crazy: .
Oh. Okay. I'll update my guide to omit that part
User avatar
Marty
Citizen
Posts: 89
Joined: Mon Dec 04, 2017 1:47 am
Location: Germany

Re: [0.10.2] AdMob support for Android!

Post by Marty »

modiX wrote: Fri Dec 15, 2017 9:29 am First of all, I forgot to mention that I also had to change love\build.gradle:

Code: Select all

         ndk {
             // Specifies the ABI configurations of your native
             // libraries Gradle should build and package with your APK.
-            abiFilters 'armeabi-v7a', 'armeabi'
+            abiFilters 'x86'
         }
Because I use an Intel.
So I have to facepalm on myself now. This change is not justified, since the given abiFilters define the target architecture and not the architecture of the system that builds the app. Android devices use ARM. The SDL error most likely came from this change.
Visual Studio Code TemplateRichLÖVE Mobile (AdMob+UnityAds+PlayGamesServices+GameCenter)Add me on Discord

───▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄───
───█▒▒░░░░░░░░░▒▒█───
────█░░░░░░░░░█────
▄▄──█░░░▀█▀░░░█──▄▄
█░░█▀▄░░░░░░░▄▀█░░█
User avatar
TC1061
Prole
Posts: 32
Joined: Sat Oct 14, 2017 3:50 pm

Re: [0.10.2] AdMob support for Android!

Post by TC1061 »

It's a cool idea, I'll try it soon. I found binaries at GitHub (here), because I can't compile it.
P. S. There's no any game.love included in the source. Maybe it's there, but not here.
User avatar
yetneverdone
Party member
Posts: 448
Joined: Sat Sep 24, 2016 11:20 am
Contact:

Re: [0.10.2] AdMob support for Android!

Post by yetneverdone »

The sample game.love, where is it?
User avatar
Marty
Citizen
Posts: 89
Joined: Mon Dec 04, 2017 1:47 am
Location: Germany

Re: [0.10.2] AdMob support for Android!

Post by Marty »

yetneverdone wrote: Thu Jan 04, 2018 5:19 am The sample game.love, where is it?
There is a sample game.love in the iOS admob fork by bio: https://love2d.org/forums/viewtopic.php?t=84159
Since both ports provide the same API it should work, haven't tested it, tho.

Location is platform/xcode/game.love
Visual Studio Code TemplateRichLÖVE Mobile (AdMob+UnityAds+PlayGamesServices+GameCenter)Add me on Discord

───▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄───
───█▒▒░░░░░░░░░▒▒█───
────█░░░░░░░░░█────
▄▄──█░░░▀█▀░░░█──▄▄
█░░█▀▄░░░░░░░▄▀█░░█
User avatar
yetneverdone
Party member
Posts: 448
Joined: Sat Sep 24, 2016 11:20 am
Contact:

Re: [0.10.2] AdMob support for Android!

Post by yetneverdone »

Master both's repo have google play leadership and other support. How about this one?
p0co
Prole
Posts: 3
Joined: Tue Mar 06, 2018 1:11 am

Re: [0.10.2] AdMob support for Android!

Post by p0co »

Does this library have support for leadership, and other Google Services ? or is it just admob ?
Can anyone recommend a library for google services leadership, scoreboard and admob plus what ever esle.
bio1712
Citizen
Posts: 72
Joined: Wed Aug 19, 2015 4:13 pm
Location: Italy

Re: [0.10.2] AdMob support for Android!

Post by bio1712 »

This repo is only for AdMob.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests