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

Android ShareViaInstagram opens Send To Direct Message #1033

Open jkufrin opened 5 years ago

jkufrin commented 5 years ago

iOS opens the main dialog asking to share Story/Feed and successfully posts. Android 6 & 7 are both popping open straight to the Direct Message dialogs. It successfully posts the DM, but that's not what I want it to do. I can't seem to get to the Android regular sharing. I can't find any threads of anyone else having this issue. Any ideas?

cordova-android: 6.3.0 cordova-plugin-x-socialsharing: 5.2.1 ionic: 3.20.1 ionic-angular: 3.9.2 @ionic-native/social-sharing: 4.5.2

SudeshRani commented 5 years ago

Same problem I am facing

IgneButene commented 5 years ago

Same problem here.

dariobertini commented 5 years ago

Same problem here.

dejanmarkovic commented 5 years ago

Same problem here. I would appreciate any kind of suggestion/advice. Thanks in advance.

jkufrin commented 5 years ago

FYI. I never got around this. I had to upgrade the entire app to the latest Ionic starter and re-import all project files and plugins and make necessary updates along the way. It was a pain. The ShareViaInstagram works as expected now though. Good luck.

cordova-android: 7.1.4 cordova-plugin-x-socialsharing: 5.4.6 ionic: 5.2.0 ionic-angular: 4.6.0 @ionic-native/social-sharing: 5.8.0

dejanmarkovic commented 5 years ago

Thank you @jkufrin! We have lost our mind with debugging this.

fventurini commented 4 years ago

For me shareViaInstagram open up only direct message Is there a way to open feed? Or to choose.

"@ionic-native/social-sharing": "^5.28.0" "cordova-plugin-x-socialsharing": "^5.6.8"

Ionic:

Ionic CLI : 5.4.16 (C:\Users\effev\AppData\Roaming\npm\node_modules\ionic) Ionic Framework : @ionic/angular 4.7.1 @angular-devkit/build-angular : 0.13.9 @angular-devkit/schematics : 7.3.9 @angular/cli : 7.3.9 @ionic/angular-toolkit : 1.5.1

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1) Cordova Platforms : android 8.0.0, browser 5.0.4 Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.2, (and 7 other plugins)

Utility:

cordova-res (update available: 0.15.1) : 0.6.0 native-run (update available: 1.0.0) : 0.2.8

System:

Android SDK Tools : 26.1.1 (C:\Users\effev\AppData\Local\Android\Sdk) NodeJS : v10.15.3 (C:\Program Files\nodejs\node.exe) npm : 6.14.5 OS : Windows 10

bennimmo commented 3 years ago

See the commit and pull request for the solution to this problem. You should be able to remove the existing plugin with

cordova plugin remove cordova-plugin-x-socialsharing

and install this version with

cordova plugin add https://github.com/bennimmo/SocialSharing-PhoneGap-Plugin