diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3f9eac6..4cf3545 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: node-version: 18.x - run: | yarn && yarn lint && yarn test - cd react-native-in-app-payments-quickstart && yarn && yarn lint && cd .. + cd react-native-in-app-payments-quickstart && yarn && cd .. build-android: needs: install-and-test diff --git a/react-native-in-app-payments-quickstart/app/images/iconCookie.png b/react-native-in-app-payments-quickstart/app/images/iconCookie.png new file mode 100644 index 0000000..215755e Binary files /dev/null and b/react-native-in-app-payments-quickstart/app/images/iconCookie.png differ diff --git a/react-native-in-app-payments-quickstart/app/screens/HomeScreen.tsx b/react-native-in-app-payments-quickstart/app/screens/HomeScreen.tsx index 179b20e..2ddbb8f 100644 --- a/react-native-in-app-payments-quickstart/app/screens/HomeScreen.tsx +++ b/react-native-in-app-payments-quickstart/app/screens/HomeScreen.tsx @@ -641,7 +641,7 @@ export default function HomeScreen() { return ( - {/* */} + Super Cookie Instantly gain special powers when ordering a super cookie diff --git a/react-native-in-app-payments-quickstart/metro.config.js b/react-native-in-app-payments-quickstart/metro.config.js index e91aba9..9d41685 100644 --- a/react-native-in-app-payments-quickstart/metro.config.js +++ b/react-native-in-app-payments-quickstart/metro.config.js @@ -1,17 +1,11 @@ +const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config'); + /** - * Metro configuration for React Native - * https://github.com/facebook/react-native + * Metro configuration + * https://reactnative.dev/docs/metro * - * @format + * @type {import('metro-config').MetroConfig} */ +const config = {}; -module.exports = { - transformer: { - getTransformOptions: async () => ({ - transform: { - experimentalImportSupport: false, - inlineRequires: true, - }, - }), - }, -}; +module.exports = mergeConfig(getDefaultConfig(__dirname), config);