afraid to buy Corona Enterprise

hi,

i am finishing the dev of my game, and i am at the moment in the dev where i have to add IAP and ads.

i think admob is (one of) the best ad service.

So, tu use it, i need Corona Enterprise.

I am totally OK to buy Corona Enterprise, but when i read some sentences like :

**"
Unlike projects built via Corona SDK, Corona Enterprise builds generally do not use the build.settings file, so you must configure settings manually in your project. The only exception is iOS builds which can optionally honor the orientation table as outlined here.
"

"
Corona Enterprise — Setup/Preparation

This guide will help you install/activate Corona Enterprise as well as understand the Enterprise project structure.
"**

I AM VERY AFRAID !!!

What i want is just a simply way to have ads in my game, ever if i have to buy Corona Enterprise (which is a good thing because i give money to people letting me create my app, and i am very ok for that).

But i don’t want to have ton of problems. Why is there so much difference between SDK and C-E?

if i buy C-E, my code will not work anymore ? i had to recode stuff and parameter a lot of things ?? no more build.settings file etc ??

i am so afraid, that i think i will stay on “just” corona SDK, because everything seems harder with C-E. But i want to use admob and so, need C-E… :frowning:

There is no reason to buy Enterprise if you want to implement AdMob and IAP. These are all available to Corona SDK customers. You only need Enterprise if you have some native features that you want to add that we don’t have in the Corona SDK core or an available plugin.

For IAP see this guide: https://docs.coronalabs.com/guide/monetization/IAP/index.html

To get started with ads, see: https://docs.coronalabs.com/guide/monetization/monetization/index.html

Now our AdMob plugin is a paid plugin, but if you use the Appodeal plugin, you can access AdMob through them in a free plugin.

Rob

thanks Rob !

on the appodeal website, when i create an APP to have an “app key”, i have to chose a platform : android or ios…

i can’t select android AND ios

so i need to create 2 apps (for the same app ?) to have 2 keys, one for ios and one for android ?

Most ad providers treat Android apps and iOS apps as different products. Most people outside of the Corona world are doing double the work creating a native iOS app and a totally separate Android app. In addition, they need to know if they should be showing ads that are for iOS apps or Android apps, so having two different AppIDs/keys makes sense. You will find this true for most every ad provider including AdMob.

Since you’re using a cross-platform tool where you only have one code base, you will have to put some logic in your app to handle this.

It just so happens I’m building an app for myself and I’m using Appoeal for rewarded video. You can use my code as a model. 

local appodeal = nil -- forward declare the appodeal object local platform = system.getInfo("platform") -- determine what system we are on local function appodealListener( event ) print("\*\*\* APPODEAL \*\*\*", event.phase) print( json.prettify( event )) if ( event.phase == "init" ) then -- Successful initialization print( event.isError ) elseif event.phase == "playbackEnded" and event.data then -- handle reward here end end local appodealIOSkey = "my iOS key from Appodeal's portal" local appodealANDROIDkey = "my Android key from Appodeal's portal" local appodealKey = nil -- if I'm an iOS device then set appodealKey to my iOS key if "ios" == platform then appodealKey = appodealIOSkey elseif "android" == platform then appodealKey = appodealANDROIDkey end local allowRewardedVideo = false print(platform, system.getInfo("environment"), appodealKey ) if ("ios" == platform or "tvos" == platform or "android" == platform) and "simulator" ~= system.getInfo("environment") and appodealKey then print("Platform can support ads") allowRewardedVideo = true end -- Initialize the Appodeal plugin if allowRewardedVideo then print("Initing Appodeal") appodeal = require( "plugin.appodeal" ) appodeal.init(appodealListener, { appKey = appodealKey, locationTracking = false, customRules = { levels\_played=5, boss\_mode=true, user\_level="beginner" }, supportedAdTypes = {"rewardedVideo"}, testMode = true }) end

Or something similar.

great, it works perfectly ! thanks rob, you are my miracle :slight_smile:

when i change testMode to false (now that everything is ok and that my code works), i always have “false” ads (the appodeal default ad)…

when do i have real ads on my phone ? do you know ? thanks again :slight_smile:

You probably still want to use test ads until you submit your builds to the stores that will go live.

Rob

There is no reason to buy Enterprise if you want to implement AdMob and IAP. These are all available to Corona SDK customers. You only need Enterprise if you have some native features that you want to add that we don’t have in the Corona SDK core or an available plugin.

For IAP see this guide: https://docs.coronalabs.com/guide/monetization/IAP/index.html

To get started with ads, see: https://docs.coronalabs.com/guide/monetization/monetization/index.html

Now our AdMob plugin is a paid plugin, but if you use the Appodeal plugin, you can access AdMob through them in a free plugin.

Rob

thanks Rob !

on the appodeal website, when i create an APP to have an “app key”, i have to chose a platform : android or ios…

i can’t select android AND ios

so i need to create 2 apps (for the same app ?) to have 2 keys, one for ios and one for android ?

Most ad providers treat Android apps and iOS apps as different products. Most people outside of the Corona world are doing double the work creating a native iOS app and a totally separate Android app. In addition, they need to know if they should be showing ads that are for iOS apps or Android apps, so having two different AppIDs/keys makes sense. You will find this true for most every ad provider including AdMob.

Since you’re using a cross-platform tool where you only have one code base, you will have to put some logic in your app to handle this.

It just so happens I’m building an app for myself and I’m using Appoeal for rewarded video. You can use my code as a model. 

local appodeal = nil -- forward declare the appodeal object local platform = system.getInfo("platform") -- determine what system we are on local function appodealListener( event ) print("\*\*\* APPODEAL \*\*\*", event.phase) print( json.prettify( event )) if ( event.phase == "init" ) then -- Successful initialization print( event.isError ) elseif event.phase == "playbackEnded" and event.data then -- handle reward here end end local appodealIOSkey = "my iOS key from Appodeal's portal" local appodealANDROIDkey = "my Android key from Appodeal's portal" local appodealKey = nil -- if I'm an iOS device then set appodealKey to my iOS key if "ios" == platform then appodealKey = appodealIOSkey elseif "android" == platform then appodealKey = appodealANDROIDkey end local allowRewardedVideo = false print(platform, system.getInfo("environment"), appodealKey ) if ("ios" == platform or "tvos" == platform or "android" == platform) and "simulator" ~= system.getInfo("environment") and appodealKey then print("Platform can support ads") allowRewardedVideo = true end -- Initialize the Appodeal plugin if allowRewardedVideo then print("Initing Appodeal") appodeal = require( "plugin.appodeal" ) appodeal.init(appodealListener, { appKey = appodealKey, locationTracking = false, customRules = { levels\_played=5, boss\_mode=true, user\_level="beginner" }, supportedAdTypes = {"rewardedVideo"}, testMode = true }) end

Or something similar.

great, it works perfectly ! thanks rob, you are my miracle :slight_smile:

when i change testMode to false (now that everything is ok and that my code works), i always have “false” ads (the appodeal default ad)…

when do i have real ads on my phone ? do you know ? thanks again :slight_smile:

You probably still want to use test ads until you submit your builds to the stores that will go live.

Rob