Код: Выделить всё
import React from 'react'
import { Share, Linking ....} from 'react-native'
//button and run function
testShareInsta = async () => {
const uri = "https://s3-dev.s3-us-west-1.amazonaws.com/video/myvideo";
let encodedURL = encodeURIComponent(uri);
let instagramURL = 'instagram://library?AssetPath=${encodedURL}';
return Linking.openURL(instagramURL);
}
Подробнее здесь: https://stackoverflow.com/questions/607 ... -instagram