I have a similar problem when using the Unity Interstitial component on android 11 as mohned_almagrahi pointed out:
- when wi-fi is running, the application stops working
- when wi-fi is off, the mobile Internet is on or when the Internet is disconnected - the application works without problems.
What is the reason for this crash? - #7 by dora_paz
Butt Developers advised “request for load unity ad only if internet is connected” What is the reason for this crash? - #9 by Saezy
But the functionality of the Unity Interstitial component does not allow you to enable / disable load unity ad, since the advertising message is loaded automatically. There is only functionality to show load unity ad.
Star_On Enkel BR indicated this way of solving the problem “for those who want to continue using Unity Ads, just put the request for authorization feature like this text: android.permission.READ_PHONE_STATE” Bugs in kodular Fenix 1.5.2: Unity Ads not served and onesignal notification issue - #12 by maddevs
This method works, but its real use is unlikely because:
- it will be very suspicious for the user to agree to grant such permission, which most likely will not be related to the functionality of the application and for the same reason, with a high degree of probability, such an application will not be allowed to be published in Google Play
- the application at the first launch still quickly closes before the user has time to provide his consent and can only work after it is reopened.
maddevs MaD wrote that it fixed this bug by “enhance sdk” Bugs in kodular Fenix 1.5.2: Unity Ads not served and onesignal notification issue - #17 by Tejas_K
On the Unity forum they write … i have solved my issue by using the latest unity SDK from asset store "
https://forum.unity.com/threads/building-with-android-11-results-in-runtime-crash.920309/#:~:text=i%20have%20solved%20my%20issue%20by%20using%20latest%20unity%20SDK%20from%20asset%20store
Please help to configure the current Kodular component for Unity Interstitial correctly or where can I get an extension for Unity Interstitial that works correctly on android 11?