diff --git a/react-packager/src/Resolver/index.js b/react-packager/src/Resolver/index.js index 03795552..40a00d9e 100644 --- a/react-packager/src/Resolver/index.js +++ b/react-packager/src/Resolver/index.js @@ -100,7 +100,7 @@ class Resolver { preferNativePlatform: true, fileWatcher: opts.fileWatcher, cache: opts.cache, - shouldThrowOnUnresolvedErrors: () => true, + shouldThrowOnUnresolvedErrors: (_, platform) => platform !== 'android', transformCode: opts.transformCode, extraNodeModules: opts.extraNodeModules, assetDependencies: ['react-native/Libraries/Image/AssetRegistry'],