-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new plugin #41
Comments
Sorry, there too many problems in your code, |
By the way , I've send an email to [email protected] , and send TestFlight invitations to |
Don't worry they Know ;) Envoyé de mon iPhone
|
@finscn ejecta.load('index.js'); |
@matrixreal no , I reply it in a wrong place. that is reply another thread ... |
@finscn |
@finscn |
any can help me please ? what go wrong in my plugin ? |
Send Me your code first |
everything is on my first page |
Hi,
i try playing with ejecta to implement some new plugin
i found easy network with good and high ecpm
why i choose it ? because it's the simple to prgramme since they have only 1 action / call (showing banner) thats all
here is doc http://docs.airpush.com/index.php?title=IOS_SDK_1.4
what i do ?
import <UIKit/UIKit.h>
import "AP_SDK.h"
import "EJBindingBase.h"
@interface EJBindingAdvertising : EJBindingBase
@EnD
import "EJBindingAdvertising.h"
@implementation EJBindingAdvertising
object:(JSObjectRef)obj
argc:(size_t)argc
argv:(const JSValueRef [])argv
{
return self;
}
EJ_BIND_FUNCTION( showBanner, ctx, argc, argv ) {
[AP_SDK showAdWithViewController: self.tabBarController withPlacementId:1 isTestMode:false];
return NULL;
}
@EnD
then on index.js
the call to show banner should be 👍
var rev = new Ejecta.Advertising("291355");
rev.showBannerAd();
ps : i have add to appdelegate.m this 👍
(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[AP_SDK setupForAppPortalIdentifier:@"291355"];
the problem is that the app crash ...
any advice ?
thank you
The text was updated successfully, but these errors were encountered: