@woosmap/expo-plugin-geofencing-batch
Version:
Woosmap geofencing and batch integration
15 lines (14 loc) • 771 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const config_plugins_1 = require("@expo/config-plugins");
const configWoosmapGeofencingAndroid_1 = require("./configWoosmapGeofencingAndroid");
const configWoosmapGeofencingIOS_1 = require("./configWoosmapGeofencingIOS");
const withWoosmapGeofencingPlugin = (config, _props) => {
const props = _props || { apiKey: "" };
//console.log("my custom plugin");
config = (0, configWoosmapGeofencingAndroid_1.withAndroidSdk)(config, props);
config = (0, configWoosmapGeofencingIOS_1.withIOSSdk)(config, props);
return config;
};
const pkg = require("../package.json");
exports.default = (0, config_plugins_1.createRunOncePlugin)(withWoosmapGeofencingPlugin, pkg.name, pkg.version);