Please provide the following:
- SDK Version: 35
- Platforms(Android/iOS/web/all): iOS : 13
After I updated my iPhone to iOS 13. Sharing doesn’t work when I choose Sharing to Instagram.
Nothing happens when I choose it.
Sharing is working with other social networks
handleShare = async () =>{
this.setState({share : true, opa : 0.4})
if(!this.state.downloaded){
await this.handleDownload();
}
if(Platform.OS == 'ios'){
try {
const result = await Share.share({
message : this.state.uri,
url : this.state.uri,
}, {
excludedActivityTypes : [
"net.whatsapp.WhatsApp.ShareExtension",
]
});
if (result.action === Share.sharedAction) {
if (result.activityType) {
// shared with activity type of result.activityType
} else {
// shared
}
} else if (result.action === Share.dismissedAction) {
this.setState({share: false, opa : 1})
}
} catch (error) {
alert(error.message);
}
}
else{
Sharing.shareAsync(this.state.uri).then(() =>{
this.setState({share : false, opa : 1})
})
}
};