AppLovin / AppLovin-MAX-SDK-iOS

Other
92 stars 74 forks source link

Test mode on simulator sometimes fails to load ads (banner and interstitial) #372

Open gerchicov-vg opened 2 months ago

gerchicov-vg commented 2 months ago

MAX SDK Version

13.0.0

Device/Platform Info

any iOS Simulator

Current Behavior

User integration instructions from here: https://developers.applovin.com/en/max/ios/overview/new-sdk-initialization-api/

Checked that sdkConfig shows "test mode".

Tried to enable or disable the line builder.mediationProvider = ALMediationProviderMAX.

IDFA is set:

builder.testDeviceAdvertisingIdentifiers = [
                ASIdentifierManager.shared().advertisingIdentifier.description
            ]

but it doesn't matter because simulator doesn't have IDFA.

On real device everything seems to be ok. Used banner and interstitial ads.

Documentation has no info about using of Simulator but previously test mode worked normally.

Expected Behavior

Test ads sometimes fail to load. When I try to load interstitial again there is an error "ad is already loading". Such ads don't return "fail" message in delegate callbacks - just error on load attempts.

How to Reproduce

Just followed your tutorials but tried to run on iOS Simulator. Possibly it is connected with the specific location (USA works worse than other countries).

Reproducible in the demo app?

Not Tested

Additional Info

No response

applovinAsh commented 2 months ago

Hi @gerchicov-vg - can you provide verbose logs using a simulator from the start of a session to when you see the issue? To enable verbose logs, see here: https://developers.applovin.com/en/max/faq/how-to-enable-verbose-logging-in-the-applovin-sdk

If you are more comfortable providing the verbose logs over zendesk, please submit a new ticket here: https://support.applovin.com/hc/en-us/requests/new

gerchicov-vg commented 2 months ago

@applovinAsh verbose logs: applovin_sdk_logs.txt

applovinAsh commented 2 months ago

Thank you for providing the logs. I see errors when trying to connect to our servers. Do you have an ad blocker, a VPN, or anything similar on your computer that could cause issues?

gerchicov-vg commented 2 months ago

@applovinAsh no, there is no VPN, Firewall and etc that may cause such issues.

applovinAsh commented 2 months ago

Thank you for that information. I am unable to recreate the issue you are experiencing with the simulator. Can you reproduce the issue in our demo application with your same setup? If so, can you provide us with the project so we can investigate?

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open for 30 days with no activity.