expo-branch
Version:
A unimodule wrapping react-native-branch, enabling its use in Expo managed workflow
13 lines (12 loc) • 568 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const config_plugins_1 = require("expo/config-plugins");
const withBranchAndroid_1 = require("./withBranchAndroid");
const withBranchIOS_1 = require("./withBranchIOS");
const pkg = require('expo-branch/package.json');
const withBranch = (config) => {
config = (0, withBranchAndroid_1.withBranchAndroid)(config);
config = (0, withBranchIOS_1.withBranchIOS)(config);
return config;
};
exports.default = (0, config_plugins_1.createRunOncePlugin)(withBranch, pkg.name, pkg.version);