EddyVerbruggen / SocialSharing-PhoneGap-Plugin

👨‍❤️‍💋‍👨 Cordova plugin to share text, a file (image/PDF/..), or a URL (or all three) via the native sharing widget
MIT License
1.78k stars 907 forks source link

Unable to see Instagram on iphone on sharing image #813

Open Soumitrasp opened 7 years ago

Soumitrasp commented 7 years ago

Hello,

I am sharing an image using "SocialSharing-PhoneGap-Plugin".While sharing an image from android phone on instagram in the sharing list instagram shows and shares efficiently.

But same thing as I tried on iphone it didn't show an instagram in the sharing list.[ I already installed instagram on iphone].

Can some one help me as soon as possible on this scenario as it is blocker for us.

EddyVerbruggen commented 7 years ago

Did you also search the readme for notes on Instagram?

Soumitrasp commented 7 years ago

Yes I actually tried this using "canShareVia('instagram'.." but it didn't work. Actually I didn't want a separate button for Instagram for sharing to share.

I actually want the same Instagram option in to sharing list on Iphone as like android device.

EddyVerbruggen commented 7 years ago

I meant the urlscheme whitelisting.

Soumitrasp commented 7 years ago

I tried this using following way:

window.plugins.socialsharing.canShareVia('instagram','https://www.google.nl/images/srpr/logo4w.png', null,null);

Example wise I give the path of url of image whichI want to share.

EddyVerbruggen commented 7 years ago

Let me try again. Did you edit the plist?

Soumitrasp commented 7 years ago

I am tried it using Javascript. So I didn't gone through plist

Soumitrasp commented 7 years ago

Hello Eddy,

Have you find any solution on problem regarding sharing in image on Instagram using iPhone?

EddyVerbruggen commented 7 years ago

Anyone else want to try?

captaincole commented 7 years ago

I tried this via ionic and am having issues. I added instagram to my plist and to my config.xml (allow navigation) Which solved the issue of canShareWith() failing. But now if I shareWithOptions() it does not allow instagram as an option.

When I use shareWith('instagram',...)

Then I receive this error message.

SLComposeViewController initWithServiceType failed to get extension for identifier instagram

This is at the same time that canShareWith('instagram', ...) will return true