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

29 lines (28 loc) 961 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BluestackSDK = void 0; var _reactNative = require("react-native"); var _Logger = _interopRequireDefault(require("./Utils/Logger")); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } const { BluestackManager } = _reactNative.NativeModules; if (!BluestackManager) { throw new Error('BluestackManager native module is not available'); } const BluestackSDK = exports.BluestackSDK = { initialize(appId, enableDebug = false) { if (enableDebug) { _Logger.default.setDebug(enableDebug); } _Logger.default.log(`Initializing Bluestack SDK with appId: ${appId}`); return BluestackManager.initializeSDK(appId, enableDebug); }, isInitialized() { _Logger.default.log('Checking Bluestack SDK initialization status'); return BluestackManager.isSdkInitialized(); } }; //# sourceMappingURL=BluestackManager.js.map