I’m currently building a test app using React Native. The Image module thus far has been working fine. For example, if I had an image named avatar, the below code snippet works fine. But if I change it to a dynamic string, I get I get the error: Requiring unknown module “image!avatar”. If you are sure the module is there,
Tag: react-native
How do I set a marker in MapView of React Native
I want to set a marker on MapView in React Native, but I can’t find any information through official documents of MapView. If it is not allowed in that way, how can I use existed react module such as react-googlemaps in React Native? Answer You can set markers using the annotations prop. For example: