Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Please confirm Vungle is Dead.
Started by russm305 Jan 28 2016 09:08 AM

- - - - -
8 replies 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

russm305

[GLOBAL: userInfoPane.html]
russm305
  • Contributor

  • 440 posts
  • Corona SDK

(ios only)

I recently updated some apps with minor changes and they are being rejected by Apple because the the ads are not showing.  So I tested and confirmed this.  Upon further investigation many people have this problem with no resolution...  

 

   https://forums.coronalabs.com/topic/59395-vungle-plugin-failed-during-ios-build/

 

The ads are still showing on my apps that I have not recently updated, they are showing  on my iPhone 6 using iOS 9.2.1

 

From my understanding this the direct cause of the Vungle ads not showing...

 

NSAppTransportSecurity = 
{
           NSAllowsArbitraryLoads = true,
},
 
 
Has anyone resolved this or had heard back from Vungle?  I have just contacted them.
 
Does this also mean that absolutely no ad networks work with Corona?


[TOPIC: post.html]
#2

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

Hi @russm305,

Did you add/enable that ATS stuff in there, or not add/enable it?

 

Best regards,

Brent



[TOPIC: post.html]
#3

russm305

[GLOBAL: userInfoPane.html]
russm305
  • Contributor

  • 440 posts
  • Corona SDK

Negative, have not enabled, can you confirm that enabling this will work for providing ads?



[TOPIC: post.html]
#4

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

Hi @russm305,

Well, Vungle is a 3rd-party plugin not maintained by Corona, so I can't confirm that it will work, but I encourage you to try it. ATS (App Transport Security) has thrown a wrench into the gears of many things (not just for Corona devs) but adding this may work in the case of Vungle.

 

Best regards,

Brent



[TOPIC: post.html]
#5

mpkostek

[GLOBAL: userInfoPane.html]
mpkostek
  • Enthusiast

  • 89 posts
  • Corona SDK

Vungle ads are still not working for me on my iPhone 5c iOS 9.2 even though they work on Android.



[TOPIC: post.html]
#6

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

Hi @mpkostek,

Did you add the "NSAppTransportSecurity" block noted above? It would go inside your build.settings under "settings" > "iphone" > "plist".

 

Best regards,

Brent



[TOPIC: post.html]
#7

mpkostek

[GLOBAL: userInfoPane.html]
mpkostek
  • Enthusiast

  • 89 posts
  • Corona SDK

I believe so, here is my build.settings, do they look okay to you?

--
-- For more information on build.settings see the Corona SDK Build Guide at:
-- http://docs.coronalabs.com/guide/distribution/buildSettings/index.html
--

settings =
{
	plugins = {  
	    ["plugin.GBCDataCabinet"] = {
	        publisherId = "com.gamesbycandlelight",
	    },
        ["plugin.google.play.services"] = {
            publisherId = "com.coronalabs"
        },
        ["CoronaProvider.ads.vungle"] = {
            publisherId = "com.vungle"
        },
	},
	
	orientation =
	{
		-- Supported values for orientation:
		-- portrait, portraitUpsideDown, landscapeLeft, landscapeRight

		default = "portrait",
		supported = { "portrait", }
	},
	
	excludeFiles =
	{
		-- Include only the necessary icon files on each platform
		iphone = { "Icon-*dpi.png", },
		android = { "Icon.png", "Icon-Small-*.png", "Icon*@2x.png", },
	},

	--
	-- iOS Section
	--
	iphone =
	{
		plist =
		{
			UIStatusBarHidden = false,
			UIPrerenderedIcon = true, -- set to false for "shine" overlay
			--UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend

			CFBundleIconFiles =
			{
				"Icon.png",
				"Icon@2x.png",
				"Icon-167.png",
				"Icon-60.png",
				"Icon-60@2x.png",
				"Icon-60@3x.png",
				"Icon-72.png",
				"Icon-72@2x.png",
				"Icon-76.png",
				"Icon-76@2x.png",
				"Icon-Small.png",
				"Icon-Small@2x.png",
				"Icon-Small@3x.png",
				"Icon-Small-40.png",
				"Icon-Small-40@2x.png",
				"Icon-Small-50.png",
				"Icon-Small-50@2x.png",
			},

		    plist=
		    {
		       NSAppTransportSecurity =
		       {
		          NSAllowsArbitraryLoads = true
		       },
		    },

			--[[
			-- iOS app URL schemes:
			CFBundleURLTypes =
			{
				{
					CFBundleURLSchemes =
					{
						"fbXXXXXXXXX",  -- replace XXXXXXXXX with your Facebook appId
					}
				}
			}
			--]]
		}
	},
	
	--
	-- Android Section
	--
	android =
	{
		usesPermissions =
		{
			"android.permission.INTERNET",
			"android.permission.ACCESS_NETWORK_STATE",
		},
	},
}



[TOPIC: post.html]
#8

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

No, that's not correct. You have another "plist" table nested inside the initial "plist" table...

 

Brent



[TOPIC: post.html]
#9

mpkostek

[GLOBAL: userInfoPane.html]
mpkostek
  • Enthusiast

  • 89 posts
  • Corona SDK

Yep, that was it, stupid mistake on my part, but that fixed it! The Vungle ads work now! Thank you so much!




[topic_controls]
[/topic_controls]