When I’m using a library (
@draftbit/ui) that includes
import MapView from 'react-native-maps', on Snack ONLY it will return the error message:
Tried to register two views with the same name AIRMap
If you go to this url:
and change draftbit version to 2.22.0, everything works. If you change it to 2.23.0, it breaks. The only difference in the code is the new
react-native-maps import statement.
If I import
react-native-maps directly on Snack, it works. This ONLY happens when using a library that uses react-native-maps ONLY on Snack.