$cordovaSocialSharing
.canShareVia('instagram', image, description, null)
.then(function(result) {
alert('success');
},function(err) {
alert("Make sure your instagram is installed on your device and internet is available.")
})
.finally(function() {
$ionicLoading.hide();
$state.go('app.photo',{},{reload: true});
})
Image is base64 image. It shows success. But nothing shared to instagram. What should I do beside installation of the plugin? It mentions that I should add add url scheme. So I add the following in my plist:
My code:
Image is base64 image. It shows success. But nothing shared to instagram. What should I do beside installation of the plugin? It mentions that I should add add url scheme. So I add the following in my plist:
What's the next? I still can't share to instagram.