diff --git a/wrappers/react-native/example/metro.config.js b/wrappers/react-native/example/metro.config.js index d9f4f4a3..b1a75754 100644 --- a/wrappers/react-native/example/metro.config.js +++ b/wrappers/react-native/example/metro.config.js @@ -32,6 +32,9 @@ module.exports = { }, {}), }, + // We set the entryfile Android expects index.js but IOS expects index.tsx + entryFile: 'index.js', + transformer: { getTransformOptions: async () => ({ transform: {