npm.io
1.0.5 • Published 6 years ago

cordova-plugin-native-admob

Licence
MIT
Version
1.0.5
Deps
0
Size
13 kB
Vulns
0
Weekly
0

1.Install plugin

cordova plugin add cordova-plugin-native-admob

2.Alipay on iOS

2.1.Mannual config: AppDelegate.MD

Add code on AppDelegate.m

/**
 This method is implemented to route returnURLs back to the Stripe SDK.
 
 @see https://stripe.com/docs/mobile/ios/authentication#return-url
 */
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options {
    BOOL stripeHandled = [Stripe handleStripeURLCallbackWithURL:url];
    if (stripeHandled) {
        return YES;
    } else {
        // This was not a stripe url – do whatever url handling your app
        // normally does, if any.
    }
    return NO;
}

Keywords