Skip to content

undefined is not an object (evaluating '_reactNativeSmartAmapLocation2.default.getLocation') #29

@tanghua93

Description

@tanghua93

Version

Tell us which versions you are using:

  • react-native-smart-amap-location v1.1.3
  • react-native v0.50.3

Platform

Tell us to which platform this issue is related

  • iOS

Actual behaviour

undefined is not an object (evaluating '_reactNativeSmartAmapLocation2.default.getLocation')
_showLocation
home.js:127:21
onClick
home.js:172:20
touchableHandlePress
TouchableHighlight.js:285:45
_performSideEffectsForTransition
Touchable.js:746:34
_receiveSignal
Touchable.js:664:44
touchableHandleResponderRelease
Touchable.js:433:24
_invokeGuardedCallback
ReactNativeFiber-dev.js:73:23
invokeGuardedCallback
ReactNativeFiber-dev.js:47:40
invokeGuardedCallbackAndCatchFirstError
ReactNativeFiber-dev.js:50:60
executeDispatch
ReactNativeFiber-dev.js:125:132
executeDispatchesInOrder
ReactNativeFiber-dev.js:130:283
executeDispatchesAndRelease
ReactNativeFiber-dev.js:3255:62
forEachAccumulated
ReactNativeFiber-dev.js:3252:41
processEventQueue
ReactNativeFiber-dev.js:3309:147
runEventQueueInBatch
ReactNativeFiber-dev.js:3535:83
handleTopLevel
ReactNativeFiber-dev.js:3539:33

ReactNativeFiber-dev.js:3560:55
batchedUpdates
ReactNativeFiber-dev.js:2754:26
batchedUpdatesWithControlledComponents
ReactNativeFiber-dev.js:209:34
_receiveRootNodeIDEvent
ReactNativeFiber-dev.js:3559:50
receiveTouches
ReactNativeFiber-dev.js:3572:64
__callFunction
MessageQueue.js:302:47

MessageQueue.js:116:26
__guard
MessageQueue.js:265:6
callFunctionReturnFlushedQueue
MessageQueue.js:115:17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions