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;
}