Hello,
I tried to update my app with a very old unityads sdk to the latest one and I have a problem.
Everything seems to work perfect but when my app tries to show an Interstitial then it starts with “Sponsored” and unity logo (testMode) and then black screen for eternity without let me to close this window.
Sometimes when I press the home button and reopen the app, ad starts to playing (sometimes as I said) but and those times doesn’t let me to close it (skip button and X doesn’t work).
I use the same code in a couple of applications and works perfectly.
I don’t get a specific error… but in logcat there is this:
UnityAds: com.unity3d.services.core.connectivity.ConnectivityMonitor.connectionStatusChanged() (line:173) :: Unity Ads was not able to get current network type due to missing permission
In AndroidManifest i added off course these two permissions:
Does anyone have any idea?
Here is the logcat (I don’t copy everything… i take tha latest things):
W/UnityAds: com.unity3d.services.core.connectivity.ConnectivityMonitor.connectionStatusChanged() (line:173) :: Unity Ads was not able to get current network type due to missing permission
W/UnityAds: com.unity3d.services.core.connectivity.ConnectivityMonitor.connectionStatusChanged() (line:173) :: Unity Ads was not able to get current network type due to missing permission
I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:88) :: Requesting configuration from https://publisher-config.unityads.unity3d.com/games/4957251/configuration?deviceMake=Google&screenDensity=440&screenSize=268435810&idfi=26fa7b5b-ff08-44bd-812b-fca41da9d315&advertisingTrackingId=31cca979-9639-4d94-b19b-f919a052eeac&limitAdTracking=false&installationId=26fa7b5b-ff08-44bd-812b-fca41da9d315&connectionType=wifi&screenHeight=2088&screenWidth=1080&bundleId=com.r.movie.quiz&encrypted=false&rooted=false&platform=android&sdkVersion=4400&osVersion=11&deviceModel=sdk_gphone_x86&language=en_US&test=true&first=false&c.ads=true&c.external=true&c.gameExp=true&pipl.applies=false&pipl.optinState=Unknown&userLevelFlagDetected=false&store=ImdCRlEU-I-Y6R7sHgSYDntqH0fr2GTMK16EI2Fwihqfn7i0-MgWh7Pi2S5j9DssrgZFq1ihBWgu8zAc_qRHVgANzy91047dNuc2W91ogP1LM-TEYGUwtN7590QoWP80hpovmNnk67V4lkYwib2L4zQT1gY_2pVQbt0saaFlAJwcm8xtYt_BklIjtsi4sy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3NSw4NDA3LDczMTAsNzczOSw3NjEwLDczNDYsNTc1Niw4MzIyLDg0MDYsNTM0OV0sImV4cCI6MTY2NjEyNTI2NiwiaWFwIjoyMzMsImlhdCI6MTY2NDkxNTY2NiwiaWciOiJXK2EvTmlnTk5NM0Q0SWNUbm5LRnBQdW1YL2tiMG5MdGdBNTBNTXBDSXdYQmdKL3F0R1cvMzF0WEU2OCtkekQ1MmxpdFJBPT0iLCJpbnN0YWxsYXRpb25JZCI6IjI2ZmE3YjViLWZmMDgtNDRiZC04MTJiLWZjYTQxZGE5ZDMxNSIsImlyIjoibXZPeEs1V2ozYXV2WS8xcHlRcTlXK1Q4ZDFQcCs5YXB5WmJxdGpnMmQydytYOU1yUHZkcVNkekpCcE5XOHlHbHJDMG1lZGY1Rk9FK1pHTHNzcmFQVWc9PSIsImlzcyI6ImFkcy1zZGstY29uZmlndXJhdGlvbi51bml0eWFkcy51bml0eTNkLmNvbSIsImxlZ2FsVGVycml0b3J5IjoxLCJsdHYiOjE4LCJtaXhlZCI6ZmFsc2UsInBybyI6MTcyLCJwcm94aWVkIjpmYWxzZSwic3MiOiI3MjNjZTQwNi01MGU0LTQ3NmQtYTgyYi1mMzZkYmY1NTY1OWIiLCJzdWIiOiJxbU1DeFpNeUgyMXVtcWhaSWJ4b0lzanlIczZmb3hORjkzQldEMi9TaE53ZW9DVUswN3JmMTVrOSs5YVJlK05BWHpoVFVnPT0iLCJ0Z3QiOjcsInhwciI6MjA4fQ.ebv2OxNO0gh4CeSWDBfDZATjDF6QEGbukeWAbyOvVjM (A/B group 16)
E/UnityAds: com.unity3d.services.core.configuration.ExperimentObject.getAppliedRule() (line:30) :: Invalid rule for experiment
I/chatty: uid=10158(com.r.movie.quiz) identical 8 lines
E/UnityAds: com.unity3d.services.core.configuration.ExperimentObject.getAppliedRule() (line:30) :: Invalid rule for experiment
E/UnityAds: com.unity3d.services.core.configuration.ExperimentObject.getAppliedRule() (line:30) :: Invalid rule for experiment
I/chatty: uid=10158(com.r.movie.quiz) identical 8 lines
E/UnityAds: com.unity3d.services.core.configuration.ExperimentObject.getAppliedRule() (line:30) :: Invalid rule for experiment
W/UnityAds: com.unity3d.services.core.device.Device.getNetworkType() (line:148) :: Unity Ads was not able to get current network type due to missing permission
I/chatty: uid=10158(com.r.movie.quiz) JavaBridge identical 2 lines
W/UnityAds: com.unity3d.services.core.device.Device.getNetworkType() (line:148) :: Unity Ads was not able to get current network type due to missing permission
I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:88) :: Webview started using the latest version
//Here I call UnityAds.show()
E/UnityAds: com.unity3d.services.core.configuration.ExperimentObject.getAppliedRule() (line:30) :: Invalid rule for experiment
I/chatty: uid=10158(com.r.movie.quiz) JavaBridge identical 8 lines
E/UnityAds: com.unity3d.services.core.configuration.ExperimentObject.getAppliedRule() (line:30) :: Invalid rule for experiment
I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:88) :: Opening performance ad unit with orientation PORTRAIT, hardware acceleration enabled
V/MediaHTTPService: MediaHTTPService(android.media.MediaHTTPService@97c63ba): Cookies: null
V/MediaHTTPService: makeHTTPConnection: CookieManager created: java.net.CookieManager@c35526b
V/MediaHTTPService: makeHTTPConnection(android.media.MediaHTTPService@97c63ba): cookieHandler: java.net.CookieManager@c35526b Cookies: null
D/MediaPlayerNative: getMetadata
//Here stopped everything and I have a black screen...