Android debug apptracker7/5/2023 ![]() ![]() If you're using cocos2d-x from source copy the jar files to:Ĭocos2d/cocos/platform/android/libcocos2dx/libs proj.android-studio will be used as our for Android Studio project.Ĭopy the following jar files from plugin/android/libs folder of this. ![]() proj.android will be used as our for command-line and eclipse project.SDKBOX supports three different kinds of Android projects command-line, eclipse and Android Studio. NOTE: plugin/jsbindings/jsb2 for creator 1.7.Īdd these same files, that you just copied, to Xcode by either dragging and dropping them into Xcode or by using File -> Add files to. Manual Integration For iOSĭrag and drop the following frameworks from the plugins/ios folder of the LeadBolt bundle into your Xcode project, check Copy items if needed when adding frameworks:Ĭopy all source and header files from plugin/jsbindings/ to your projects Classes folder. If you find yourself using these steps, please, after completing, double back and re-read the steps above for other integration items. These steps are listed last in this document on purpose as they are seldom needed. If the installer complete successfully, please do not complete anymore of this document. If the SDKBOX Installer fails to complete successfully, it is possible to integrate SDKBOX manually. Notifies the delegate that the rewarded video has finished playing. Notifies the delegate that the module has fail onMediaFinished(viewCompleted) Notifies the delegate that the module has cached onModuleFailed(placement, error, iscached) Notifies the delegate that the module has clicked onModuleCached(placement) Notifies the delegate that the module has closed onModuleClicked(placement) Notifies the delegate that the module has finished loading onModuleClosed(placement) SetFramework Listeners onModuleLoaded(placement) To pass this additional information, use the following methods BEFORE calling loadModuleToCache.Īccepted values "13-17", "18-25", "26-35", "36-45", "46+" (gender) Īccepted valued "Male", "Female" (f) This allows selected premium advertisers to display their Ads to your users. You can increase your App’s performance by optionally including the additional information above. Transaction Events () ĭestroy module (enable) Ĭrash Reporting (crashName, description) Ĭrash Reporting (orientation) įorce Ad Orientation (range) Sync data (name) Įvent (name, floatValue) Įvent with float value (name, floatValue, currenc圜ode, ref, instant) Start session () Ĭlose session (periodInSecond) Load/Display Ad with name (referenced from your json config file) (apiKey) ![]() Set listener to listen for leadbolt events (placement, userData) Ĭache Ad with name (referenced from your json config file) (placement) Ĭheck if Ad with name (referenced from your json config file) is available for display (placement, userData) Here is an example of the LeadBolt configuration, you need to replace, item with your specific leadbolt account information. SDKBOX Installer will automatically inject a sample configuration to your res/sdkbox_config.json, that you have to modify it before you can use it for your own app You may need to add the required entry to the ist, under LSApplicationQueriesSchemes. This setting depends on what plugins are in your project. If you do not, your app will fail Apple's submission process. If your game doesn't support all screen orientations, you will need to check Requires full screen in Xcode. If you don't, cocos2d-x will fail to build. Disable App Transport SecurityĪdding the following entry to the ist file: NSAppTransportSecurity Please make sure the following settings in your project to make the plugin work well. Make sure you setup the SDKBOX installer correctly. Open a terminal and use the following command to install the SDKBOX LeadBolt plugin. ‹ LeadBolt Doc Home LeadBolt Integration Guide For the Javascript version of cocos2d-x v3.x - ( all other versions) SDK Version ![]()
0 Comments
Leave a Reply. |