{"action":"created","issue":{"url":"https://api.github.com/repos/djds4rce/angular-socialshare/issues/65","repository_url":"https://api.github.com/repos/djds4rce/angular-socialshare","labels_url":"https://api.github.com/repos/djds4rce/angular-socialshare/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/djds4rce/angular-socialshare/issues/65/comments","events_url":"https://api.github.com/repos/djds4rce/angular-socialshare/issues/65/events","html_url":"https://github.com/djds4rce/angular-socialshare/issues/65","id":139127636,"number":65,"title":"Integrate with Cordova / Phonegap","user":{"login":"davibertolini","id":17347794,"avatar_url":"https://avatars.githubusercontent.com/u/17347794?v=3","gravatar_id":"","url":"https://api.github.com/users/davibertolini","html_url":"https://github.com/davibertolini","followers_url":"https://api.github.com/users/davibertolini/followers","following_url":"https://api.github.com/users/davibertolini/following{/other_user}","gists_url":"https://api.github.com/users/davibertolini/gists{/gist_id}","starred_url":"https://api.github.com/users/davibertolini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davibertolini/subscriptions","organizations_url":"https://api.github.com/users/davibertolini/orgs","repos_url":"https://api.github.com/users/davibertolini/repos","events_url":"https://api.github.com/users/davibertolini/events{/privacy}","received_events_url":"https://api.github.com/users/davibertolini/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-07T23:34:56Z","updated_at":"2016-03-09T03:04:59Z","closed_at":null,"body":"Hi! I've been trying to use the angular-socialshare on a Phonegap / Cordova (v. 6.0.0) app on iOS.\r\n\r\nWhen clicking on the button \r\n\r\n`<a facebook role=\"button\" class=\"btn btn-fb btn-lg center-block\" data-url=\"https://URL_TO_REST_SERVICE/shareOnFB?token_auth={{getTokenAuth()}}&uid={{getTransactionId()}}&format=html\">Share on Facebook</a>`\r\n\r\nWon't do anything. No errors on console.\r\n\r\nAny suggestions?"},"comment":{"url":"https://api.github.com/repos/djds4rce/angular-socialshare/issues/comments/194091316","html_url":"https://github.com/djds4rce/angular-socialshare/issues/65#issuecomment-194091316","issue_url":"https://api.github.com/repos/djds4rce/angular-socialshare/issues/65","id":194091316,"user":{"login":"djds4rce","id":350933,"avatar_url":"https://avatars.githubusercontent.com/u/350933?v=3","gravatar_id":"","url":"https://api.github.com/users/djds4rce","html_url":"https://github.com/djds4rce","followers_url":"https://api.github.com/users/djds4rce/followers","following_url":"https://api.github.com/users/djds4rce/following{/other_user}","gists_url":"https://api.github.com/users/djds4rce/gists{/gist_id}","starred_url":"https://api.github.com/users/djds4rce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djds4rce/subscriptions","organizations_url":"https://api.github.com/users/djds4rce/orgs","repos_url":"https://api.github.com/users/djds4rce/repos","events_url":"https://api.github.com/users/djds4rce/events{/privacy}","received_events_url":"https://api.github.com/users/djds4rce/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T03:04:59Z","updated_at":"2016-03-09T03:04:59Z","body":"$FB needs a domain to initialize. Cordova serves it in the local domain.\nFor sharing you will have to use different Cordova bridge\nhttps://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin\nOn Mar 9, 2016 12:50 AM, \"davibertolini\" <notifications@github.com> wrote:\n\n> It is working on web applications hosted in our production and dev\n> servers. But when either launching the app on an iOS device with #\n> phonegap serve or launching it on the iOS simulator (Xcode), it won't\n> work (i.e. it won't do anything) and no messages are shown in the log (e.g.\n> I could expect a \"cross domain error\" or a \"$FB not found\").\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/djds4rce/angular-socialshare/issues/65#issuecomment-193888555>\n> .\n>\n"}}