Hi Rob. T.Y.
I know it. But how it can help me? The question is, how can I use adMob plagin, and Vungle plagin together (like before the last corona publick release)
Fed
Hi Rob. T.Y.
I know it. But how it can help me? The question is, how can I use adMob plagin, and Vungle plagin together (like before the last corona publick release)
Fed
The last public release had nothing to do with plugins. Can you post your complete build.settings please? Make sure to use the <> button above and copy/paste your build.settings.
Thanks
Rob
settings = { orientation = { default = "landscapeRight", supported = { "landscapeRight", "landscapeLeft" }, }, plugins = { ["plugin.google.iap.v3"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true }, }, ["plugin.applovin"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true, appletvos=true }, }, ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true }, }, ["CoronaProvider.analytics.flurry"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true }, }, ["plugin.notifications"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.gameNetwork.google"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true }, }, ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true }, }, ["plugin.OneSignal"] = { publisherId = "com.onesignal", }, ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs", }, ["CoronaProvider.ads.vungle"] = { publisherId = "com.vungle", }, ["plugin.gameanalytics"] = { publisherId = "com.gameanalytics", }, ["plugin.advertisingId"] = { publisherId = "com.coronalabs", }, }, android = { googlePlayGamesAppId = "924768734057", usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "com.android.vending.BILLING", "android.permission.WRITE\_EXTERNAL\_STORAGE", }, usesFeatures = { }, }, iphone = { plist = { CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", }, UIBackgroundModes = {"remote-notification"}, UIAppFonts = { "Franklin Gothic Medium Cond.ttf", "a\_ConceptoTitulNrFy.ttf", "ComixHeavy.ttf", "Comic Sans MS.ttf", "Impact.ttf", }, }, }, }
Also can I see your config.lua?
Also your post with the screen shots above is very confusing. Your build.settings does not attempt to load the AdMob V1 plugin. You cannot possibly be getting the error that reads:
The following plugin could not be downloaded:
com.coronalabs/CoronaProvider.ads.admob
The second error on that screen shot makes it sound like you’re trying to use some Graphics 1.0 features without telling us that you want to use these older methods (which is why I want to see your config.lua). These errors are unrelated.
If you’re running the latest Corona public build, there should be a console window that opens automatically. It would be much better for you to copy/paste errors from that window rather than the big long pink dialog box you’re showing. The new console window reads your device’s console long as long as you don’t dismiss the popup that happens after the build is complete. You also have to let Corona install the app on your test device for you.
Rob
-“The second error on that screen shot makes it sound like you’re trying to use some Graphics 1.0 features without telling us that you want to use these older methods (which is why I want to see your config.lua). These errors are unrelated.” - this error windows from the examples that you give. i just compile it ) (admob plug in example as you say: “Secondly, try building the sample app for that plugin. They can be found at https://github.com/coronalabs” c. Rob.)
What are you offering? Try to connect the V1 AdMob plugin instead of the adMob V2?
This Build still works correctly on android
Here my config:
local HeWe = display.pixelWidth/display.pixelHeight local GoodHeWe = 0 local isRetina = (display.pixelHeight \> 1024 or display.pixelWidth \> 1024) local model = system.getInfo( "model" ) if (HeWe\<0.75) then if (HeWe\<0.59) then GoodHeWe = 0.5625 androidSufix = { ["@56"] = 0.1, } else GoodHeWe = 0.625 androidSufix = { ["@625"] = 0.1, } end else GoodHeWe = 0.75 androidSufix = { } end if (model~="iPhone" and model~="iPad") then application = { license = { google = { key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjehf6s5k8yZo/FhE/56/7lL49ntjppzHDV5t/JAo01Z+hbRLDPGjsJyN4M7W4Hnx0g37a+QqXRlP3KnM8cniVGJSSkg9r9t2hqebPj9xCzombXffQ4hUuDrL4IIv0L/QBr7eBuLRaopZ/WBxt0kNG8whiaigw8X0Afnb6HML0pSK4sGcB5fvLlmALHtK9uWS4H4KxsAY8TNAJ+fMtdBqUn7TdA4y6iOYOTtAnstWqrr+ti8kivbUc+/QwoqPPRsRdopdVsvQH9Lf4RfN9gH1Akyf4XJPUjacjjOPumFPPOvJetiwQzwrdCs8panlEtUhAVnLW41l25612aSL8irvewIDAQAB", }, }, content = { width = 768,--768 Not Good For Phone 768 1280 height = 1024, scale = "letterBox", fps = 30, imageSuffix = androidSufix }, } else if (isRetina and "iPad" == model) then application = { content = { width = 768, height = 1024, scale = "letterBox", fps = 30, } } elseif (isRetina) then--Iphone5 print("\>Show As Retina and not IPAD") application = { content = { width = 768, height = 1024, scale = "letterBox", fps = 30, imageSuffix = { ["@56"] = 0.83, } } } else print("\>not Retina") application = { content = { width = 768, height = 1024, scale = "letterBox", fps = 30, imageSuffix = { ["@640"] = 0.21, } } } end end
Error from xCode ios simulator to corona log:
06 05:11:27.293 Runtime Error: Runtime error: module ‘plugin.applovin’ not found:resource (plugin.applovin.lu) does not exist in archive
06 05:14:52.188 *** Terminating app due to uncaught exception ‘Corona Runtime Error’, reason: 'module ‘plugin.applovin’ not found:resource (plugin.applovin.lu) does not exist in archive
Can you zip up your project, and put it up on dropbox and share it with me rob AT coronalabs DOT com.
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