finscn / Ejecta

A Fast, Open Source JavaScript, Canvas & Audio Implementation for iOS
42 stars 6 forks source link

revMob #42

Open Pasha187 opened 8 years ago

Pasha187 commented 8 years ago

How to display ads RevMob when the game starts?

finscn commented 8 years ago

You have to write a plugin/extension to support it

Pasha187 commented 8 years ago

I integrated the sdk revmob but the ads are not running

matrixreal commented 8 years ago

@Pasha187 i have the revmob plguin for ejecta showbanner, hide banner, show ineterstitial will send you or add it to this repo later

Pasha187 commented 8 years ago

send it to me - Pasha187@mail.ru thank

finscn commented 8 years ago

@matrixreal , could you give a pull-request about revmob plguin

matrixreal commented 8 years ago

@finscn @Pasha187

1) drag and drop the revmob sdk to your project

2) add .h and .m files https://www.dropbox.com/s/tffy34l6ckgw29n/revmob-ejecta.zip?dl=0

3) add this lines to your appdelegate.m after didFinishLaunchingWithOptions method

[RevMobAds startSessionWithAppID:@"55ddc610914c6c0b198ec9e9"];

4) initialise sdk in your main js by var "rev = new Ejecta.Advertising("55ddc610914c6c0b198ec9e9");"

5) later call banner "rev.showRevMobBannerAd();" hide banner "rev.hideRevMobBannerAd();" call interstitial "rev.showRevMobFullscreenAd();"

good luck

matrixreal commented 8 years ago

here it is but i don't recommand revmob at all since they are slow updating sdk and their ecpm is horrible ... very horrible ... i suggest to move to appodeal (wich they mediate with all networks (admob, revmob, chartboost, vungle, startapp, unityads etc ...) and also airpush wich is new company and offer very high ecpm good luck

matrixreal commented 8 years ago

@Pasha187 ?

Pasha187 commented 8 years ago

ads work revmob but very few games and bad content. I think revmob not interesting for monetization. It is interesting to consider the network or appodeal AirPush

matrixreal commented 8 years ago

@Pasha187 i already ask @finscn :D appodealecpm

Pasha187 commented 8 years ago

it would be very good :)

finscn commented 8 years ago

@matrixreal , your picture is whose ? appodeal ? AirPush ?

finscn commented 8 years ago

appodeal is too big (the size of SDK is 300MB) , too complex for me. Which ADs service has the best eCPM ?

matrixreal commented 8 years ago

@finscn this is appodeal their sdk is big but once you build the ipa it will ok why is so big ? because they have all sdk of other network if we success appodeal plugin ... no need admob ... no need chartboost no need vungle etc ... because appodeal mediate all these ... and show banner , intersitital , rewraded video of the best ecpm from the other networks really it is challenging ...

finscn commented 8 years ago

@matrixreal , thanks. I'll try next week , I was ill now .

matrixreal commented 8 years ago

@finscn i just have discussion with their developper they told me that he will do something for the sdk and he confirm that once the ipa is build it will not has big size ... so it's okay

finscn commented 8 years ago

@matrixreal , What's size of appodeal in an IPA file ?

matrixreal commented 8 years ago

@finscn about 5 mb

finscn commented 8 years ago

@matrixreal , I'm sorry , appodeal needs JavaScriptCore built in iOS , it isn't compatible with Ejecta

matrixreal commented 8 years ago

@finscn are you sure that is not posible ? sad ... we miss the big deal

Pasha187 commented 8 years ago

I feel very good network heyZap. It supports a lot of good advertising networks. Look here please www.heyzap.com

matrixreal commented 8 years ago

@finscn Hi, i think you ae wrong JavaScript code is executed directly by a JavaScript VM (JavaScriptCore), the HTML5 Canvas 2D and WebGL API is implemented in native code with OpenGL, Audio is implemented with OpenAL. Several other APIs (touch, accelerometer, localStorage) behave like those in a real browser. source http://impactjs.com/ejecta

finscn commented 8 years ago

@matrixreal , no ,you are wrong . I think you don't understand the JavaScriptCore built in iOS 7+ . In new iOS , there is a pure JavaScriptCore (without any HTML5 features) and native JSBinding. They are conflict with Ejecta's JSBinding . Please read https://github.com/phoboslab/Ejecta/issues/578 and https://github.com/phoboslab/Ejecta/issues/368

matrixreal commented 8 years ago

@finscn you are better than me so it's okay