distriqt / ANE-IronSource

IronSource ANE updated to latest SDK
5 stars 0 forks source link

Unity mediation crash on Android #64

Closed Mintonist closed 7 months ago

Mintonist commented 7 months ago

I have app crash on Android with Unity mediation (after IronSource.instance.init() ). I try different combinations of mediations and exactly Unity is buggy( AIR 50.2.4.4, Windows, Idea 2022, lastest ANEs

logcat.txt

marchbold commented 7 months ago

We have an update for ironsource and all these mediators in final stages of development. I'll get this out asap.

In the meantime, you could try adding the androidx.webview extension. Seems we missed that from the docs but it gets added when you use apm.

Mintonist commented 7 months ago

I can not find 'androidx.webview' in ANE-AndroidSupport-2.8.1 Where can I get it?

marchbold commented 7 months ago

Apologies I meant androidx.webkit

https://github.com/distriqt/ANE-AndroidSupport/raw/master/lib/androidx.webkit.ane

marchbold commented 7 months ago

Update rolling out today, could you let us know if you continue to see this issue with the update?

Mintonist commented 7 months ago

Hi! You have a mistake in your docs with link https://github.com/distriqt/ANE-AndroidSupport/raw/master/lib/com.distriqt.square.okhttp3.ane here: image

And what about ANE-IronSource-master\lib\unityads\assets\android\ad-viewer folder? Do I need package this folder or files in it: image

marchbold commented 7 months ago

I'll get that link updated, the correct link is:

https://github.com/distriqt/ANE-SquareLibs/raw/master/lib/com.distriqt.square.okhttp3.ane

Yes you'll need to add those assets.

As a general rule with all our extensions anything in the assets/android folder should be added to your android builds and anything in the assets/ios should be added to your ios builds. All at the root level.

marchbold commented 7 months ago

(Add the folder at the root level)

Mintonist commented 7 months ago

Thanks!