RNTMap was not found in the UIManager

Viewed 580
3 Answers

This is happens because native module not compiled yet, simply execute react-native run-ios in terminal while in project directory.

Note: For latest node version use: npx react-native run-ios

RNTMapManager.m must be created within the XCode project, the docs do not specify that. Open the XCode project and click File -> New -> File and create a new Cocoa Touch Class called "RNTMapManager". Then place the objective-c code within RNTMapManager.m. Rebuild the application and it should work!

  1. To be able to use native components make sure your project was ejected (expo eject)
  2. Once ejected open for example iOS project with XCode and create/add file from Xcode. This way it will update all the dependencies.
  3. Rebuild the project
Related