This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.

1 line
1.4 KiB
Plaintext
Raw Normal View History

2021-04-02 02:24:13 +03:00
{"version":3,"file":"expo-branch.js","sourceRoot":"","sources":["../../../src/plugins/unversioned/expo-branch.ts"],"names":[],"mappings":";;AACA,iDAAuE;AACvE,6CAA+D;AAC/D,kDAAsD;AACtD,sDAAqD;AAErD,MAAM,WAAW,GAAG,aAAa,CAAC;AAErB,QAAA,UAAU,GAAiB,MAAM,CAAC,EAAE;IAC/C,OAAO,iCAAgB,CAAC,MAAM,EAAE;QAC9B,eAAe,EAAE,IAAI;QACrB,MAAM,EAAE,WAAW;QACnB,6DAA6D;QAC7D,QAAQ,EAAE,qBAAqB;KAChC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAiB,kCAAmB,CAAC,MAAM,CAAC,EAAE;IACvE,MAAM,GAAG,mBAAiB,CAAC,MAAM,CAAC,CAAC;IACnC,MAAM,GAAG,mBAAa,CAAC,MAAM,CAAC,CAAC;IAC/B,OAAO,MAAM,CAAC;AAChB,CAAC,EAAE,WAAW,CAAC,CAAC;AAEhB,kBAAe,kBAAU,CAAC","sourcesContent":["import { ConfigPlugin } from '../../Plugin.types';\nimport { withBranch as withBranchAndroid } from '../../android/Branch';\nimport { withBranch as withBranchIOS } from '../../ios/Branch';\nimport { createRunOncePlugin } from '../core-plugins';\nimport { withStaticPlugin } from '../static-plugins';\n\nconst packageName = 'expo-branch';\n\nexport const withBranch: ConfigPlugin = config => {\n return withStaticPlugin(config, {\n _isLegacyPlugin: true,\n plugin: packageName,\n // If the static plugin isn't found, use the unversioned one.\n fallback: withUnversionedBranch,\n });\n};\n\nconst withUnversionedBranch: ConfigPlugin = createRunOncePlugin(config => {\n config = withBranchAndroid(config);\n config = withBranchIOS(config);\n return config;\n}, packageName);\n\nexport default withBranch;\n"]}