Quantcast
Channel: Questions in topic: "ads"
Viewing all articles
Browse latest Browse all 1416

Android build initializes ads with iOS ID

$
0
0
I have been testing my app on unity remote targeting iOS and also have built it to my iOS device, test ads are working fine there. But when I build it to android it somehow initializes itself with the project's iOS id. I know it's a feature but I have tried turning it off in the UnityConnectSetting.asset file. It doesn't matter if the service is on or off for the project, if I am initializing it from my Ad Manager script, even what advertisements package I am using (tried using multiple different ones separately), or my unity version for that matter, nothing changes, not even log output. Most of the testing was done with the 3.4.4 Package from the package manager but also a lot with the 2.0.8 package because it was "2019.3 verified", I've also tried using some version from the asset store but that just broke most things. Also tried using the "Use built-in Ads extension" from the advanced tab in the ads service. However, no matter what version I am using the few lines I get at the launch of the android build on both my device and the android emulator is just:com.unity3d.services.UnityServices.initialize() (line:66) :: Initializing Unity Services 3.4.2 (3420) with game id [PROJECT'S IOS APP ID] in test mode and com.unity3d.services.core.configuration.InitializeThread$InitializeStateConfig.execute() (line:191) :: Unity Ads init: load configuration from https://config.unityads.unity3d.com/webview/3.4.2/release/config.json as well as Init failed in create webapp There's also some lines that are simply True and not found nothing more, whatever that means. I have made sure to delete the iOS ID from everywhere on my computer in an attempt to force the build process to not try to initialize with that ID but it's somehow still there. Notice that the services version is the same no matter what advertisement package version I am using. It could just be the services version and not the advertisements version I guess, but it's still using the iOS app id and getting the "Ads init configuration" from the 3.4.2 version nonetheless. The device is connected to the internet, I even tried to get some web content and load it in game just to make sure, and that worked just fine. I did also try putting the Advertisement.Initialize() in a while loop until it was initialized but it just looped forever and never did. I have been banging my head against the wall last week because I expected to release my game a week ago yet here we are... I have tried any options I could find, thankful for any suggestions at all though. Thanks!

Viewing all articles
Browse latest Browse all 1416

Trending Articles