UNPKG

smartech-base-expo-plugin

Version:

Smartech Base Expo SDK's React Native Plugin For React Native Projects.

16 lines (15 loc) 809 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const config_plugins_1 = require("@expo/config-plugins"); const withSmartechBaseAndroid_1 = require("./withSmartechBaseAndroid"); const withSmartechBaseiOS_1 = require("./withSmartechBaseiOS"); const validateSmartechBaseProps_1 = require("./validateSmartechBaseProps"); const withSmartechBase = (config, props) => { (0, validateSmartechBaseProps_1.validateSmartechProps)(props); config = (0, withSmartechBaseiOS_1.withNetcoreiOS)(config, props); config = (0, withSmartechBaseAndroid_1.withNetcoreAndroid)(config, props); return config; }; module.exports = withSmartechBase; const pkg = require("../package.json"); exports.default = (0, config_plugins_1.createRunOncePlugin)(withSmartechBase, pkg.name, pkg.version);