|
|
@@ -0,0 +1,15 @@ |
|
|
|
import 'package:flutter/cupertino.dart'; |
|
|
|
|
|
|
|
import 'application.dart'; |
|
|
|
|
|
|
|
class AdvertisingUtils { |
|
|
|
static Future init() async { |
|
|
|
await Application.doStringParamsMethod("init_advertising", data: {}); |
|
|
|
//await Application.doStringParamsMethod("init_advertising", data: {"androidAppId": "5173995", "iosAppId": "5167929", "appName": "智莺生活"}); |
|
|
|
} |
|
|
|
|
|
|
|
static Future openSplashAd() async { |
|
|
|
await Application.doStringParamsMethod("advertising_splash", data: {'androidCodeId': "887478896", 'iosCodeId': "887478962"}, callback: (value) {}); |
|
|
|
} |
|
|
|
} |
|
|
|
|