1export default ({ config }) => {
2  config.version = '41.0.0';
3  // app.json defines the sdkVersion as UNVERSIONED, we can override it here dynamically if we need to,
4  // for example with an environment variable.
5  // config.sdkVersion = '41.0.0';
6  config.plugins = [
7    // iOS plugins
8    // Add a plugin to modify the AppDelegate.
9    './plugins/withNotFoundModule',
10    // Add the React DevMenu back to the client.
11    './plugins/withDevMenu',
12    // Add AsyncStorage
13    './plugins/withExpoAsyncStorage',
14    // Set the minimum version to 11 for Google Sign-In support -- TODO: Maybe this belongs in expo-google-sign-in?
15    ['./plugins/withPodfileMinVersion', '11.0'],
16
17    // Android plugins
18
19    // unimodules-test-core requires kotlin, so additional setup must be executed.
20    'unimodules-test-core',
21    [
22      './plugins/withGradleProperties',
23      {
24        // Increase default java VM size so it can handle building all the Expo packages.
25        'org.gradle.jvmargs':
26          '-Xmx3g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8',
27      },
28    ],
29    [
30      // unimodules-test-core must be added manually.
31      './plugins/withSettingsImport',
32      {
33        packageName: 'unimodules-test-core',
34        packagePath: '../../../packages/unimodules-test-core/android',
35      },
36    ],
37  ];
38
39  // NOTE(brentvatne):
40  // This adds an ios.scheme property to manifest, which does not validate
41  // against our schema but works with config plugins. Comment this plugin
42  // out if you need to publish.
43  //
44  config.plugins.push([
45    'expo-payments-stripe',
46    {
47      scheme: 'ncl-payments',
48      merchantId: 'merchant.com.example.development',
49    },
50  ]);
51
52  config.plugins.push([
53    'expo-document-picker',
54    {
55      appleTeamId: 'XXXXXX',
56    },
57  ]);
58
59  return config;
60};
61