I am using react-native-qrcode-svg
to display QR codes.
And i want to save the screenshot of the qrcode to local file or photo album.
The react-native-view-shot
package works fine on iOS, i got the screenshot, and i saved the screenshot to my photo library use the expo-media-library
package
But i got this error on expo web:
Error: react-native-view-shot: NativeModules.RNViewShot is undefined. Make sure the library is linked on the native side.
It seems that this library does not support web platform yet.
So can anybody help me that how can i save the screenshot to a local file on expo web?