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

Error on iOS #7

Open
jaggerwang opened this issue Jan 9, 2017 · 0 comments
Open

Error on iOS #7

jaggerwang opened this issue Jan 9, 2017 · 0 comments

Comments

@jaggerwang
Copy link

jaggerwang commented Jan 9, 2017

Problem

Building passed, but running with error "Required dispatch_sync to load constants for RCTAMapLocation. This may lead to deadlocks".

Env

react-native: 0.39.2
react-native-smart-amap-location: 1.1.1
platform: iOS 10.2 on iPhone 5s, Android unknown.

Code

...
    {(
      ...
      AMapLocation.init(null);
      NativeAppEventEmitter.addListener('amap.location.onLocationResult', result => {
        console.log(result);
      })
      ...
    })
    .catch(error => logger.error(error));
...

Screenshots

image

image

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

1 participant