Hi guys, yesterday i report the issue using Expo Sharing with react-native-view-shot, im unable to display proper sharing dialog on iOS in Android works as expected, here my github issue with captures and snacks:
https://github.com/expo/expo/issues/6920
@bacon Any advice will be welcome, thanks !!!
Solved, here the working example:
import { captureRef } from 'react-native-view-shot'; import * as Sharing from 'expo-sharing'; captureRef(this._shareViewContainer, { // defaults }).then( uri => { console.log('Image saved to', uri); Sharing.shareAsync('file://' + uri); }, error => console.error('Oops, snapshot failed', error) );
Thanks for the support !!!
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.