Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

requireNativeComponent: "BaiduMapMarker" was not found in the UIManager. #256

Open
TangZhenPeng24 opened this issue May 27, 2021 · 3 comments

Comments

@TangZhenPeng24
Copy link

No description provided.

@gdmec07140512
Copy link

+1

@gdmec07140512
Copy link

lib/js/component.js
UIManager[this.nativeComponentName].Commands[command],
===>
UIManager.getViewManagerConfig(this.nativeComponentName).Commands[command],

@StevenGardnerGMJ
Copy link

下面是方法:
找到:

node_modules/react-native-baidumap-sdk/lib/js/component.js

UIManager[this.nativeComponentName].Commands[command],

修改成:

UIManager.getViewManagerConfig(this.nativeComponentName).Commands[command],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants