I was wondering if there are any plans to integrate the User Messaging Platform (UMP) into the AdMob native extension for Defold. This would greatly simplify managing GDPR and consent requirements.
There are no immediate plans to add this, but if enough users request it then we will consider it. Also, since this is code in an extension it is something that is relatively easy for a motivated developer to add themselves.
i have 0 experience with building extensions in defold, i’m reading the doc at the moment, can i ask you to review my plan of action?
i think extending your extensions is above what i am able to do, but because i am targeting android only i was thinking to build just a simple native extensions for android only which, looking at the github example should be a lot easier: https://github.com/defold/extension-android/tree/master/androidnative
am i correct in thinking that in theory i should just create an extension similar to androidnative but i should include a gradle file with the UMP library, then write up a java file that calls and uses UMP, and let surface those methods writing up an extension cpp?
i will have a go i might bother people on this thread if i’m stuck.
but if it works, i’m happy to make the repo public as i think A LOT of people will want this very soon.
but ideally once your extension will provide this in the long term, i would 100% migrate over to remove a dependency from my clunky stuff.
i have error during the build, i created a gradle file to reference the library and so far so good i was able to lunch the test app, as soon i start importing references the build blows up.
i’m unsure why because i checked other extensions and it seems you can use library you reference with gradle (and i can see the library being downloaded in the logs)
i will keep digging but seems i’m clearly missing something trivial here.
i mean… as you can see i’m using monarch, druid and they work just fine so i think i’m aware on how to import a depencies the problem here is that the one that i wrote is not showing up, so the problem must be in my extension rather than the way i import it.
aaaah you are 100% right!
i thought you were saying to add that folder name to the project that was going to use the dependency, you were saying to change the game.project of my extension!!
that worked! thank you so much!
i also changed the name to “ump”, umpandroidnative sounded awful!