[11.3] AdMob support for iOS + EU Consent

Showcase your libraries, tools and other projects that help your fellow love users.
bio1712
Citizen
Posts: 72
Joined: Wed Aug 19, 2015 4:13 pm
Location: Italy

Re: [11.3] AdMob support for iOS + EU Consent

Post by bio1712 »

Updated to LÖVE 11.3.
I've updated the AdMob SDK and made some changes.
If you update from a previous version, open the file info.plist and set GADApplicationIdentifier with your AdMob app ID.
gianmichele
Citizen
Posts: 63
Joined: Tue Jan 14, 2014 11:03 pm

Re: [11.3] AdMob support for iOS + EU Consent

Post by gianmichele »

Brilliant! Thank you very much :)
joogur
Prole
Posts: 1
Joined: Mon Jul 27, 2020 10:18 am

Re: [11.3] AdMob support for iOS + EU Consent

Post by joogur »

Hello

Thank you very much for your post it really helped! I can successfully build my app with XCode, however, if I want to open my app on the phone, I get the following error:

Error

boot.lua:507: module 'love.ads' not found:
no field package.preload['love.ads']
no 'love/ads' in LOVE game directories.
no file 'love/ads' in LOVE paths.
no file './love/ads.lua'
no file '/usr/local/share/luajit-2.1.0-beta3/love/ads.lua'
no file '/usr/local/share/lua/5.1/love/ads.lua'
no file '/usr/local/share/lua/5.1/love/ads/init.lua'
no file './love/ads.so'
no file '/usr/local/lib/lua/5.1/love/ads.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './love.so'
no file '/usr/local/lib/lua/5.1/love.so'
no file '/usr/local/lib/lua/5.1/loadall.so'


Traceback

[C]: in function 'require'
[C]: in function 'xpcall'
[C]: in function 'xpcall'

Did anyone already face same problem or knows the solution to this?

Thank you very much.
vestman
Prole
Posts: 1
Joined: Fri Jul 31, 2020 7:29 am

Re: [11.3] AdMob support for iOS + EU Consent

Post by vestman »

joogur wrote: Mon Jul 27, 2020 10:22 am Hello

Thank you very much for your post it really helped! I can successfully build my app with XCode, however, if I want to open my app on the phone, I get the following error:

Error

boot.lua:507: module 'love.ads' not found:
...
Did anyone already face same problem or knows the solution to this?

Thank you very much.
I'm getting the same error. Did you find a solution to this?
jimninja
Prole
Posts: 1
Joined: Sat Dec 02, 2023 4:40 pm

Re: [11.3] AdMob support for iOS + EU Consent

Post by jimninja »

Hi,

I'm not sure if anyone is still looking for an answer to this, but I managed to solve the error above. When i originally downloaded library, it came without a 'config.h' file in 'liblove/common/'.

So i added one in from Love 11.3 (not Love11.4). I realised that config.h was being called, so I added this line at 160.

Code: Select all

#define LOVE_ENABLE_ADS
That then meant the demo at least worked for me on my device when loaded via xcode.
User avatar
yetneverdone
Party member
Posts: 446
Joined: Sat Sep 24, 2016 11:20 am
Contact:

Re: [11.3] AdMob support for iOS + EU Consent

Post by yetneverdone »

Can you guys try if it is the same issue when using this fork? https://github.com/flamendless/love-android-extensions
Post Reply

Who is online

Users browsing this forum: No registered users and 45 guests