@appzung/react-native-code-push
Version:
React Native plugin for the CodePush service
19 lines (18 loc) • 649 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getConfiguration = getConfiguration;
exports.reloadCachedConfiguration = reloadCachedConfiguration;
var _NativeRNAppZungCodePushModule = require("./NativeRNAppZungCodePushModule.js");
let config;
async function getConfiguration() {
if (!config) {
config = await _NativeRNAppZungCodePushModule.NativeRNAppZungCodePushModule.getConfiguration();
}
return config;
}
async function reloadCachedConfiguration() {
config = await _NativeRNAppZungCodePushModule.NativeRNAppZungCodePushModule.getConfiguration();
}
//# sourceMappingURL=getConfiguration.js.map
;