This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// add this plugin to you app.congi.js via plugins - https://docs.expo.dev/versions/latest/config/app/#plugins | |
// | |
// ... | |
// plugins: [ | |
// ... | |
// "enableGooglePay.js" | |
// ] | |
const { AndroidConfig, withAndroidManifest } = require("@expo/config-plugins"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TODO: for React Native CLI require from '@react-native/metro-config' | |
const {getDefaultConfig} = require('@react-native/metro-config'); | |
// TODO: for Expo require from 'expo/metro-config' | |
// const {getDefaultConfig} = require('expo/metro-config'); | |
const path = require('path'); | |
// Find the project and workspace directories | |
const projectRoot = __dirname; |