Plugin table?

I am using a tutorial on how to put vungle ads on my app ( 

)  and it tells me to put 2 things in the plugins table . my problem is that there is no plugins table in my build.settings . SO I want to know how do I add a plugins table without messing anything up that’s there already .

build.settings:


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

settings =
{
 
 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-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”,
   },

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

 

Paste the plugin table from here: https://docs.coronalabs.com/plugin/vungle/

plugins =     {         ["CoronaProvider.ads.vungle"] = { publisherId = "com.vungle", },     },      

under the orientation table within the settings table.

If you need to add other plugin to your project then you would paste that table within the plugins table under the line for the vungle plugin like this:

plugins =     {         ["CoronaProvider.ads.vungle"] = { publisherId = "com.vungle", },         ["plugin.twitter"] = {  publisherId = "com.jasonschroeder",  },     },   

Several people are reporting issues on Vungle at the moment, we are investigating.

Rob

Actually to this post…   I highly recommend that you read this tutorial:

https://coronalabs.com/blog/2014/07/08/tutorial-understanding-build-settings/

It will explain what build settings is.

Rob

Paste the plugin table from here: https://docs.coronalabs.com/plugin/vungle/

plugins =     {         ["CoronaProvider.ads.vungle"] = { publisherId = "com.vungle", },     },      

under the orientation table within the settings table.

If you need to add other plugin to your project then you would paste that table within the plugins table under the line for the vungle plugin like this:

plugins =     {         ["CoronaProvider.ads.vungle"] = { publisherId = "com.vungle", },         ["plugin.twitter"] = {  publisherId = "com.jasonschroeder",  },     },   

Several people are reporting issues on Vungle at the moment, we are investigating.

Rob

Actually to this post…   I highly recommend that you read this tutorial:

https://coronalabs.com/blog/2014/07/08/tutorial-understanding-build-settings/

It will explain what build settings is.

Rob