takeSnapShot from MapView is undefined in android

Hello everyone,

I’m try the example for taking a snapshot from the MapView as the react-native-maps documentation indicates in it’s example:
takeSnapShot Example

I’m getting this error:
TypeError: undefined is not an object (evaluating ‘_reactNative.NativeModules.AirMapModule.takeSnapshot’)

This only happens to me on Android. For iOS it works fine.

Additional information:
I’m using Expo v27

“expo”: “^27.1.1”,
“react-native”: “https://github.com/expo/react-native/archive/sdk-27.0.2.tar.gz

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.