Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Vungle doesn't roll the ads (IOS)
Started by dmytrodrach Mar 21 2016 05:19 AM

1 reply to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

dmytrodrach

[GLOBAL: userInfoPane.html]
dmytrodrach
  • Enthusiast

  • 36 posts
  • Corona SDK

Hi, 

 

Continue this topic https://forums.coronalabs.com/topic/61909-module-admobapplovinflurry-not-found-build-troubles/ 

 

In the end we have a problems with vungle that does'nt roll ads for Ios (when on android works correctly, same build). 

 

xcode: 7.2.1

corona: 2830

 

 

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. 

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,["iphone-sim"]=true  },
        },

        ["plugin.google.play.services"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { iphone=true},
			--supportedPlatforms = { iphone=true, android=true },
        },
        
        ["CoronaProvider.analytics.flurry"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { iphone=true},
			--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 =
		{
            
            
			-- UIApplicationExitsOnSuspend = true, -- default is false
			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",
                        },

		LSApplicationQueriesSchemes =
            {
                "kindle"
            },	

		},
	},
	
}


[TOPIC: post.html]
#2

mcb

[GLOBAL: userInfoPane.html]
mcb
  • Enthusiast

  • 40 posts
  • Corona SDK

I had the same problem, this is the fix:

              NSAppTransportSecurity =               {
                  NSAllowsArbitraryLoads = true
               },

Put that in your build.settings -> iphone -> plist table

 

This is the topic:

https://forums.coronalabs.com/topic/61383-warning-the-ads-library-is-not-available-on-this-platform-on-iphone-6-with-ios-92/

 

Greets, mark




[topic_controls]
[/topic_controls]