UNPKG

@azerion/bluestack-sdk-react-native

Version:

BlueStack provides functionalities for monetizing your mobile application: from premium sales with rich media, video and innovative formats, it facilitates inserting native mobile ads as well all standard display formats. BlueStack SDK is a library that a

18 lines 522 B
import { NativeModules } from 'react-native'; import logger from './Utils/Logger'; const { BluestackManager } = NativeModules; export const BluestackSDK = { /** * Load interstitial ad for a given placementId and shows it */ initialize(appId, enableDebug = false) { if (enableDebug) { logger.setDebug(enableDebug); } logger.log(`Initilizing Bluestack SDK with appId: ${appId}`); return BluestackManager.initializeSDK(appId, enableDebug); } }; //# sourceMappingURL=BluestackManager.js.map