Ready.
This app built and installed with no problems on my iPhone 6. I’m using 2830 and Xcode 7.2.1 as well.
You do have other problems that need addressed. You’re going to need to add ATS support since you’re using iOS 9 and the gamesAnalytics plugin is accessing http:// addresses.
Also you are trying to access a URL called “kindle://home”. This needs a block called:
LSApplicationQueriesSchemes =
{
“kindle”
},
added to your iphone.plist table in build.settings. I’m not seeing any of your plugin failures during build.
Rob
That’s bad, cause we failed to get build. Any ideas ? Mac os problem?
“This app built and installed with no problems on my iPhone 6”. We have no problems whith built and install. We have error when we run application after install.
I just built and ran your app again. Here is the entire console log of the run.
Mar 10 08:23:15.336 [Device] Platform: iPhone / iPhone7,2 / 9.2.1 / Apple A8 GPU / OpenGL ES 2.0 Apple A8 GPU - 75.11.5 / 2016.2830 / en-US | US | en\_US | en Mar 10 08:23:15.343 [Device] \>Show As Retina and not IPAD Mar 10 08:23:15.379 [Device] userdata: 0x1003f6585 Mar 10 08:23:15.383 [Device] luaopen\_CoronaProvider\_ads\_admob Mar 10 08:23:15.594 [Device] cache path: /var/mobile/Containers/Data/Application/4A24A67E-E950-4A1B-900C-9849E056DD95/Library/Caches/vungle Mar 10 08:23:15.629 [Device] will remove invalid bundle Mar 10 08:23:15.635 [Device] will remove invalid bundle Mar 10 08:23:15.637 [Device] will remove invalid bundle Mar 10 08:23:15.652 [Device] will remove invalid bundle Mar 10 08:23:15.654 [Device] will remove invalid bundle Mar 10 08:23:15.663 [Device] will remove invalid bundle Mar 10 08:23:15.735 [Device] NO SAVE TABLE Mar 10 08:23:16.287 [Device] Using Apple's in-app purchase system. Mar 10 08:23:16.297 [Device] Starting Corona OneSignal SDK v1.12.0 Mar 10 08:23:16.299 [Device] Flurry: Starting session on Agent Version [Flurry\_iOS\_123\_4.3.2] Mar 10 08:23:16.299 [Device] system, applicationStart Mar 10 08:23:16.299 [Device] inGameTime 1 Mar 10 08:23:16.467 [Device] nil Mar 10 08:23:16.483 [Device] ERROR: network request failed: http://api.gameanalytics.com/1/9468d921051f5ee827aded6ce47974fc/user [-1022: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.] Mar 10 08:23:16.486 [Device] ERROR: network request failed: http://api.gameanalytics.com/1/9468d921051f5ee827aded6ce47974fc/design [-1022: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.] Mar 10 08:23:16.486 [Device] ERROR: network request failed: http://api.gameanalytics.com/1/9468d921051f5ee827aded6ce47974fc/quality [-1022: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.] Mar 10 08:23:16.489 [Device] ERROR: network request failed: http://api.gameanalytics.com/1/9468d921051f5ee827aded6ce47974fc/user [-1022: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.] Mar 10 08:23:16.494 [Device] ERROR: network request failed: http://api.gameanalytics.com/1/9468d921051f5ee827aded6ce47974fc/design [-1022: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.] Mar 10 08:23:16.496 [Device] ERROR: network request failed: http://api.gameanalytics.com/1/9468d921051f5ee827aded6ce47974fc/quality [-1022: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.] Mar 10 08:23:18.512 [Device] ADD RANGE BTN ALL RANGE: Mar 10 08:23:18.652 [Device] \<Google\> To get test ads on this device, call: request.testDevices = @[@"e2acfeb4497ed599d39460225fc483e5"]; Mar 10 08:23:18.681 [Device] \>Show As Retina and not IPAD Mar 10 08:23:18.699 [Device] SHOW Mar 10 08:23:19.481 [Device] -canOpenURL: failed for URL: "kindle://home" - error: "This app is not allowed to query for scheme kindle" Mar 10 08:23:19.534 [Device] -canOpenURL: failed for URL: "kindle://home" - error: "This app is not allowed to query for scheme kindle" Mar 10 08:23:20.571 [Device] interstitial Mar 10 08:23:20.788 [Device] \<Google:HTML\> You are currently using version 6.12.2 of the SDK. Please consider updating your SDK to the most recent SDK version to get the latest features and bug fixes. The latest SDK can be downloaded from http://goo.gl/iGzfsP. A full list of release notes is available at https://developers.google.com/admob/ios/rel-notes. Mar 10 08:23:28.543 [Device] !!!!!!!!!!!! Mar 10 08:23:28.594 [Device] REMOVE INPUT nil Mar 10 08:23:33.477 [Device] Received memory warning.
Hi Rob,
We still have a problems. We also try to get our build on onother PC and failed with the same plugin issuies on device simulator.
xcode: 7.2.1
corona: 2830
After build: open in Xcode iOS Simulator iPhone 6/iOS 9.2
Attaching the log.
Either remove the supportedPlatform line from the applovin plugin, or include [“iphone-sim”]=true in the supportedPlatform line.
or test it on a device and not the Xcode simulator.
Rob
Hi Rob )
When i remove supportedPlatforms line or includ (iphone = true and [“iphone-sim”]=true) and then build on ios - i have no Errors. Its cool, but Vungle Plagin just dont showing ad - there is no Errors - just some text in log instead of showing ads :
марта 18 04:47:37.931 Developer passed nil instead of ALAd instance - please check object types! марта 18 04:47:37.931 Called with an nil ad from: ( марта 18 04:47:37.958 Developer passed nil instead of ALAd instance - please check object types! марта 18 04:47:37.958 Called with an nil ad from: (
Its just Vungle . AdMob work correctly.
Fed.
I would suggest posting in the Vungle forum here and see if their staff recognizes that error. It sounds like you’re not passing in a value they are expecting.
Rob
Hi @dmytrodrach,
I don’t see any reason for the first screenshot, since your code never includes the AdMob plugin. Perhaps you aren’t showing the actual code which generated that screenshot?
Best regards,
Brent
Hi Brent . From documentation (includes the AdMob plugin) :
https://docs.coronalabs.com/plugin/ads-admob-v2/index.html
adMob plagin:
settings =
{
plugins =
{
[“plugin.google.play.services”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { android=true }
},
},
}
is it wrong?
Hi @rollerband,
Can you change the “supportedPlatforms” line to include “iphone=true”? I probably need to update the documentation on that point…
[lua]
supportedPlatforms = { iphone=true, android=true }
[/lua]
If this works, please report back so I can proceed with edits.
Thanks,
Brent
Hi Brent,
To make it clear: Rollerband is my co-worker.
Nothing is changed, anyway, the same issues with applovin and flurry plugin. We’ve got such problem after last public release.
The thing is that we have not modified build.settings with this release, but got such troubles.
So, there are still errors with all 3? AdMob, Flurry, and AppLovin?
Yes. Errors in all three
i try to change supportedPlatforms string
- supportedPlatforms = { iphone=true, android=true }
but it did not help
Two things to try. First try commenting out the supportedPlatform lines. The line is there to really prevent loading the plugin on platforms that it’s not supported on. That is if you’re building for Android, you want to prevent Apple GameCenter from loading. If you’re building for desktop, you want to limit the mobile device plugins. As a test, comment out the supportedPlatform lines on the problem plugins.
Secondly, try building the sample app for that plugin. They can be found at https://github.com/coronalabs
Make sure you can build them successfully, then we can come back to look at your specific use.
Rob
hi Rob. I have build examples (https://github.com/coronalabs/plugins-sample-applovin https://github.com/coronalabs/plugins-sample-ads-admob https://github.com/coronalabs/plugins-source-analytics-flurry) (i use my game ids and do all correctly)These examples do not work. 2 of them I even know why - in AdMob incorrectly initialized plugin build.settings. [“CoronaProvider.ads.admob”] - this is an old example. In Flury build.settings in general do not have the plugin initialization strings. InAppLovin - Initialization as we do, and it does not work on IOS .
Hi Rob. We have good news .I commenting out the supportedPlatform lines at plagins whith errors . Application built without errors
Hi Rob. We have bad news : as i say we remove suportedPlatforms string and get back ADMob but we lost Vungle.Vungle did not work whithout this string. (plugin dont show errors, but dont show any ads). Both ads use this plugin but suportedPlatforms string breaks one of them. (This problem just for iOs)
plugins =
{
[“CoronaProvider.ads.vungle”] =
{
publisherId = “com.vungle”
},
[“plugin.google.play.services”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { iphone=true, android=true } — this string need to be here for Vungle and dont for adMob
},
},
Fed
The admob example is for the old admob V1 plugin. Admob V2 is the google.play.services plugin.
Vungle requires the google.play.services plugin loaded.
Rob