ajith-ab / react-native-receive-sharing-intent

A React Native plugin that enables React Native apps to receive sharing photos, videos, text, urls or any other file types from another app
MIT License
297 stars 106 forks source link

React Navigation is not working. #176

Open ranjitAcelucid opened 11 months ago

ranjitAcelucid commented 11 months ago

Hii @ajith-ab and @all,

Please Help, I am stuck on a point.

useEffect(() => { // To get All Recived Urls ReceiveSharingIntent.getReceivedFiles( (files: any) => { // setFile(files[0]); console.log('fileDesc======>>>>>', files); navigation.navigate('DescerptionScreen', { file: files[0] }); // setFile({}); }, (error: any) => { // console.log('error==>', error); }, // share url protocol (must be unique to your app, suggest using your apple bundle id) ); // console.log('data'); }, []);

On above code, React Navigation is not working when we successfully receive intent from other app. please help

Thanks

developerfullstack12 commented 9 months ago

Facing Same Issue

ranjitAcelucid commented 9 months ago

Hii @developerfullstack12 ,

Have you find any solution?