{"action":"created","issue":{"url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/527","repository_url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin","labels_url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/527/labels{/name}","comments_url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/527/comments","events_url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/527/events","html_url":"https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/527","id":132915888,"number":527,"title":"canShareVia(“instagram”) not working in Android ","user":{"login":"fransyozef","id":13717081,"avatar_url":"https://avatars.githubusercontent.com/u/13717081?v=3","gravatar_id":"","url":"https://api.github.com/users/fransyozef","html_url":"https://github.com/fransyozef","followers_url":"https://api.github.com/users/fransyozef/followers","following_url":"https://api.github.com/users/fransyozef/following{/other_user}","gists_url":"https://api.github.com/users/fransyozef/gists{/gist_id}","starred_url":"https://api.github.com/users/fransyozef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fransyozef/subscriptions","organizations_url":"https://api.github.com/users/fransyozef/orgs","repos_url":"https://api.github.com/users/fransyozef/repos","events_url":"https://api.github.com/users/fransyozef/events{/privacy}","received_events_url":"https://api.github.com/users/fransyozef/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-11T08:32:40Z","updated_at":"2016-04-15T15:38:36Z","closed_at":null,"body":"Hi I'm using ngCordova with Ionic, but I've also tested the code with the normal window.plugin\r\n\r\nSo I have this\r\n\r\n```\r\n   $cordovaSocialSharing.canShareVia(\"instagram\").then(function(result) {  \r\n        console.log(result); console.log(\"good\");\r\n    }, function(err) {\r\n        console.log(err); console.log(\"no good\");\r\n    });\r\n\r\n```\r\nOn my iphone I have Instagram installed and I get \"good\".\r\n\r\nOn my android device I've also installed Instagram, but I get \"no good\". Also .. err has the following contents \r\n\r\n`[\"com.android.mms\", \"com.samsung.android.app.memo\", \"com.google.android.talk\", \"com.google.android.apps.docs\", \"com.samsung.android.app.FileShareClient\", \"com.android.bluetooth\", \"com.android.email\", \"com.google.android.gm\", \"com.google.android.apps.docs\", \"com.facebook.katana\", \"com.facebook.orca\"]\r\n`\r\n\r\nAs you can see .. no Instagram in the list, but I do have it installed on my device.\r\n\r\nSome Ionic info :\r\n\r\n```\r\nCordova CLI: 5.4.1\r\nGulp version:  CLI version 3.9.0\r\nGulp local:   Local version 3.9.0\r\nIonic CLI Version: 1.7.14\r\nIonic App Lib Version: 0.7.0\r\nios-deploy version: 1.8.4 \r\nios-sim version: 5.0.6 \r\nOS: Mac OS X El Capitan\r\nNode Version: v5.4.1\r\nXcode version: Xcode 7.2.1 Build version 7C1002\r\n```\r\n\r\nand the social sharing plugin\r\n\r\n`cordova-plugin-x-socialsharing 5.0.10 \"SocialSharing\"`\r\n\r\nAny help on this?"},"comment":{"url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/comments/210510446","html_url":"https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/527#issuecomment-210510446","issue_url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/527","id":210510446,"user":{"login":"EddyVerbruggen","id":1426370,"avatar_url":"https://avatars.githubusercontent.com/u/1426370?v=3","gravatar_id":"","url":"https://api.github.com/users/EddyVerbruggen","html_url":"https://github.com/EddyVerbruggen","followers_url":"https://api.github.com/users/EddyVerbruggen/followers","following_url":"https://api.github.com/users/EddyVerbruggen/following{/other_user}","gists_url":"https://api.github.com/users/EddyVerbruggen/gists{/gist_id}","starred_url":"https://api.github.com/users/EddyVerbruggen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EddyVerbruggen/subscriptions","organizations_url":"https://api.github.com/users/EddyVerbruggen/orgs","repos_url":"https://api.github.com/users/EddyVerbruggen/repos","events_url":"https://api.github.com/users/EddyVerbruggen/events{/privacy}","received_events_url":"https://api.github.com/users/EddyVerbruggen/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T15:38:36Z","updated_at":"2016-04-15T15:38:36Z","body":"What @gregavola describes can happen on iOS in case you didn't whitelist the `instagram` URL scheme in the `.plist` but I can't really explain why this behaves as you describe on Android :question:"}}