[deprecated in favor of https://microsoft.github.io/react-native-windows/] React Native for macOS is an experimental fork for writing desktop apps using Cocoa
error: bundling: UnableToResolveError: Unable to resolve module `react-native/Libraries/Image/AssetRegistry` from `[..]/app/images/logo.png`: Module does not exist in the module map or in these directories:
[..]/node_modules/react-native/Libraries/Image
It seems that it's still pointing to react-native instead of react-native-macos.
I've updated the flow config and babelrc configs, but still no luck.
Description
Update
I thought it was related to including macos into an existing project, but i've started a clean project and getting the same results :(
=====
I've included react-native-macos in my existing project together with windows succesfully. Except for images which make react packager fail.
Reproduction Steps and Sample Code
Example code:
The error:
It seems that it's still pointing to react-native instead of react-native-macos. I've updated the flow config and babelrc configs, but still no luck.
What am i missing here?