Open arielweinberger opened 8 years ago
Solved by adding 'whatsapp' and 'instagram' to the LSApplicationQuriesSchemes
array in info.plist.
Still wondering, is there any way to add values to this array via Cordova's config.xml?
I'm facing the same issue. Where is LSApplicationQuriesSchemes
to add that info?
To add entries to LSApplicationQueriesSchemes
in the plist file use the cordova-custom-config plugin. According to the documentation you would add whatsapp and instagram like so:
<platform name="ios">
...
<config-file parent="LSApplicationQueriesSchemes" target="*-Info.plist">
<array>
<string>whatsapp</string>
<string>instagram</string>
</array>
</config-file>
</platform>
By the way. It is also noted in the social sharing documentation.
Yes i got same issue on android canShareVia('whatsapp') says no, but shareViaWhatsApp works . any solution ?
Hello. I am using the plugin on Ionic. So I used the default code provided to check if sharing is possible within certain platforms.
For apps like Instagram and WhatsApp I get "not available", but Instagram and WhatsApp are installed on the device.
I am running iOS 9.
Any ideas?