UNPKG

expo-share-intent

Version:

use native share intent for ios and android with expo

16 lines (15 loc) 650 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.withAppEntitlements = void 0; const config_plugins_1 = require("@expo/config-plugins"); const constants_1 = require("./constants"); const withAppEntitlements = (config, parameters) => { return (0, config_plugins_1.withEntitlementsPlist)(config, async (config) => { const appIdentifier = config.ios?.bundleIdentifier; config.modResults["com.apple.security.application-groups"] = [ (0, constants_1.getAppGroup)(appIdentifier, parameters), ]; return config; }); }; exports.withAppEntitlements = withAppEntitlements;