Social Sharing on iOS don't always open the native app

Hi :slight_smile: in my Ionic 3 app I use the social sharing plugin native


I’ve implemented:

  • shareViaWhatsApp
  • shareViaTwitter -> works well
  • shareViaFacebook -> works well
  • shareViaInstagram
  • share -> works well

The problem is that shareViaWhatsApp and shareViaInstagram don’t open the application but the generic share panel.

shareViaWhatsApp open:
P_20180516_095856

shareViaInstagram
P_20180516_095904

This is the code of the two methods:

 whatsappShare(url,image,title){
    this.socialSharing.shareViaWhatsApp(title,image,url)
      .then(()=>{
        console.log("OK")
      }).catch(() => {
        console.log("NO")
      });
  }

instagramShare(url,image,title){
    this.socialSharing.shareViaInstagram(url, image)
    .then(()=>{
      console.log("OK")
     }).catch(() => {
       console.log("NO")
     });
  }

The iOS version that I tryied it’s iOS 10+

Why these methods don’t open the app on ios?

1 Like

I saw different videos about social sharing on ios and it seems that it’s a default behaviour of ios to not open the apps directy…
someone can confirm?

Did you ever find a resolution to this? I am having the same behavior for shareViaInstagram and it’s been driving me nuts

I think there is no solution right now

From the plugin:

  • Although this plugin follows the Instagram sharing guidelines, the user may not only see Instagram in the share sheet, but also other apps that listen to the “Instagram sharing ID”. Just google “com.instagram.exclusivegram” and you see what I mean.

I hope one day Instagram will offer a graph api like solution to solves this

1 Like

nothing solved unfortunately :frowning:

thank you for the information.