Links

Ad Support

Setup Prerequisites

Please contact the Firework AD operator for AD tag configurations.

Google AdMob Support

Setup Native Project

iOS

Please refer to the instruction to set up the iOS project. You don't need to call FireworkVideoSDK.initializeSDK() on the iOS side. We will call this method when you call FireworkSDK.getInstance().init on the JS side.

Android

Please refer to the Google Admob doc to add your AdMob app ID to your app's AndroidManifest.xml file.

Google IMA Support

Setup Native Project

iOS

Please refer to the instruction to set up the iOS project. You don't need to call FireworkVideoSDK.initializeSDK() on the iOS side. We will call this method when you call FireworkSDK.getInstance().init on the JS side.

Android

No code configuration is required.

Ad Badge Customizations

FireworkSDK.getInstance().adBadgeConfiguration = {
badgeTextType: 'ad',
backgroundColor: '#ff0000',
textColor: '#000000',
};
Last modified 8mo ago