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.
2021-04-02 02:24:13 +03:00

1 line
1.4 KiB
Plaintext

{"version":3,"file":"expo-ads-admob.js","sourceRoot":"","sources":["../../../src/plugins/unversioned/expo-ads-admob.ts"],"names":[],"mappings":";;AACA,+CAAoE;AACpE,2CAA4D;AAC5D,kDAAsD;AACtD,sDAAqD;AAErD,MAAM,WAAW,GAAG,gBAAgB,CAAC;AAExB,QAAA,SAAS,GAAiB,MAAM,CAAC,EAAE;IAC9C,OAAO,iCAAgB,CAAC,MAAM,EAAE;QAC9B,eAAe,EAAE,IAAI;QACrB,MAAM,EAAE,WAAW;QACnB,6DAA6D;QAC7D,QAAQ,EAAE,oBAAoB;KAC/B,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAiB,kCAAmB,CAAC,MAAM,CAAC,EAAE;IACtE,MAAM,GAAG,iBAAgB,CAAC,MAAM,CAAC,CAAC;IAClC,MAAM,GAAG,iBAAY,CAAC,MAAM,CAAC,CAAC;IAC9B,OAAO,MAAM,CAAC;AAChB,CAAC,EAAE,WAAW,CAAC,CAAC;AAEhB,kBAAe,iBAAS,CAAC","sourcesContent":["import { ConfigPlugin } from '../../Plugin.types';\nimport { withAdMob as withAdMobAndroid } from '../../android/AdMob';\nimport { withAdMob as withAdMobIOS } from '../../ios/AdMob';\nimport { createRunOncePlugin } from '../core-plugins';\nimport { withStaticPlugin } from '../static-plugins';\n\nconst packageName = 'expo-ads-admob';\n\nexport const withAdMob: 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: withUnversionedAdMob,\n });\n};\n\nconst withUnversionedAdMob: ConfigPlugin = createRunOncePlugin(config => {\n config = withAdMobAndroid(config);\n config = withAdMobIOS(config);\n return config;\n}, packageName);\n\nexport default withAdMob;\n"]}