Basic process of YomobSdk access test
All modifications in the debug mode need to be closed before the official line
1、Debug mode
In debug mode, you can see more log information at the command line and filter TGSDK, and you need to call before the initialize method
android:
TGSDK.setDebugModel(true);
ios:
[TGSDK setDebugModel:YES];
2、Play a plugin advertisement forcibly
You need to use it in debug mode and call it before initialize. The parameter is the name of the advertisement plug-in eg: TGSDKADVungle, normal preload and show just fine
android:
TGSDK.setSDKConfig("debugForceADSDK", "vungle");
ios:
[TGSDK setSDKConfig:@"vungle" forKey:@"debugForceADSDK"];
3、Display ads by an advertiser
View all plug-in installation information and ad loading status, and optionally display an advertiser advertisement It must be in debug mode and can be used after preloadSuccess
android: TGSDK.showTestView(MainActivity.this, "Scene id");
ios: [TGSDK showTestView:"Scene id"];
Install indicates that plug-ins can be used, and uninstall indicates that plug-ins are unavailable. If you make sure the plug-in is integrated into the project, please contact us Ready says that the ad plug in is ready for advertising and can click on the play ad Android:
iOS