Defold-vungle

Hi! In the defold-vungle, there is no android line in the manifest file: exported=“true”. The assembly does not go without it. Maybe someone has solved this problem already?

You mean this property on the activity?

Does it say in the developer docs for Vungle that it is needed? I don’t see it here:

@SkaterDad I’m a bit confused by your extension. You have a build.gradle file with your dependencies:

But you also have the dependencies in the extension itself:

You should use one or the other. I would recommend to use build.gradle. If you use build.gradle you can drop all files in defvungle/lib/android and you can remove the AndroidManifest.xml stub as well.

1 Like

That makes 2 of us :laughing:

It started as a fork of DefVideoAds, which has undergone big changes in the meantime.

I used this extension on my Amazon Appstore release, which I stopped updating. I’ll add this to my to-do list, cleaning that up.

About the “exported” option, is that really necessary? The Android docs imply that the game itself will need that option set, but nothing about embedded SDK activities.

Does your game have the exported flag? Defold added that in a recent release.

Yes, sure:

But I get the error anyway:


SEVERE: /tmp/job713344617328448449/upload/AndroidManifest.xml Error:
Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined. See <activity>  |  Android Developers for details.
Jul 04, 2022 3:42:21 PM com.defold.manifestmergetool.ManifestMergeTool$ILoggerWrapper warning

The extension is a few versions behind. As soon as my kid is done playing on my computer I can try to update the Vungle SDK version.

Their changelog says they have made updates to support Android 12, so this could be related.

Out of curiosity, do you get that same build error when removing the vungle extension temporarily?

2 Likes

No, everything is fine without Vungle. I tested the example and get the same error. Thank you for your support

I’ve just finished updating the Defold-Vungle extension to the latest SDK version (8.11.0). I kept the extension API the same, so no code changes are really needed.

I tested out the example application that is in the extension project, and it seems to work. I just built a development-mode SDK and installed via ADB.

The only thing to check is your Android minimum SDK setting in game.project. The new Vungle SDKs require 21+.

Github release page:

URL to use in your game.project dependencies.
https://github.com/SkaterDad/defold-vungle/archive/refs/tags/1.1.0.zip

I hope this works for you!

4 Likes

Great! It works now! Thank you so much for your quick support! :partying_face:

4 Likes