{"action":"created","issue":{"url":"https://api.github.com/repos/Pushwoosh/pushwoosh-phonegap-plugin/issues/157","repository_url":"https://api.github.com/repos/Pushwoosh/pushwoosh-phonegap-plugin","labels_url":"https://api.github.com/repos/Pushwoosh/pushwoosh-phonegap-plugin/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/Pushwoosh/pushwoosh-phonegap-plugin/issues/157/comments","events_url":"https://api.github.com/repos/Pushwoosh/pushwoosh-phonegap-plugin/issues/157/events","html_url":"https://github.com/Pushwoosh/pushwoosh-phonegap-plugin/pull/157","id":132166182,"number":157,"title":"Fix issue 149 with [INSTALL_FAILED_CONFLICTING_PROVIDER]","user":{"login":"VictorBjelkholm","id":459764,"avatar_url":"https://avatars.githubusercontent.com/u/459764?v=3","gravatar_id":"","url":"https://api.github.com/users/VictorBjelkholm","html_url":"https://github.com/VictorBjelkholm","followers_url":"https://api.github.com/users/VictorBjelkholm/followers","following_url":"https://api.github.com/users/VictorBjelkholm/following{/other_user}","gists_url":"https://api.github.com/users/VictorBjelkholm/gists{/gist_id}","starred_url":"https://api.github.com/users/VictorBjelkholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VictorBjelkholm/subscriptions","organizations_url":"https://api.github.com/users/VictorBjelkholm/orgs","repos_url":"https://api.github.com/users/VictorBjelkholm/repos","events_url":"https://api.github.com/users/VictorBjelkholm/events{/privacy}","received_events_url":"https://api.github.com/users/VictorBjelkholm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-08T15:02:51Z","updated_at":"2016-05-04T04:55:25Z","closed_at":"2016-02-09T06:42:18Z","pull_request":{"url":"https://api.github.com/repos/Pushwoosh/pushwoosh-phonegap-plugin/pulls/157","html_url":"https://github.com/Pushwoosh/pushwoosh-phonegap-plugin/pull/157","diff_url":"https://github.com/Pushwoosh/pushwoosh-phonegap-plugin/pull/157.diff","patch_url":"https://github.com/Pushwoosh/pushwoosh-phonegap-plugin/pull/157.patch"},"body":"So, the proposed fix in https://github.com/Pushwoosh/pushwoosh-phonegap-plugin/issues/149 is not really the right way of fixing this. Writing stuff in the `gradle.build` gets overwritten later because the file is generated.\r\n\r\nI came across this issue and made a post in the Google Groups for Phonegap ( https://groups.google.com/forum/#!topic/phonegap/bIef9FU1RJY ) and got pointed to a fixed issue in the PluginPush ( https://github.com/phonegap/phonegap-plugin-push/commit/15b76632ac2849f1cb2f48e75a5292dfaa97de7f )\r\n\r\nThis PR does the same fix here, so people don't have to edit unedited files.\r\n\r\nAlso, this would make your documentation better by removing this warning:\r\n<img width=\"765\" alt=\"screen shot 2016-02-08 at 16 02 33\" src=\"https://cloud.githubusercontent.com/assets/459764/12889043/6288ab72-ce7d-11e5-9624-53e21b8fdeb8.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/Pushwoosh/pushwoosh-phonegap-plugin/issues/comments/216742893","html_url":"https://github.com/Pushwoosh/pushwoosh-phonegap-plugin/pull/157#issuecomment-216742893","issue_url":"https://api.github.com/repos/Pushwoosh/pushwoosh-phonegap-plugin/issues/157","id":216742893,"user":{"login":"axemclion","id":17868,"avatar_url":"https://avatars.githubusercontent.com/u/17868?v=3","gravatar_id":"","url":"https://api.github.com/users/axemclion","html_url":"https://github.com/axemclion","followers_url":"https://api.github.com/users/axemclion/followers","following_url":"https://api.github.com/users/axemclion/following{/other_user}","gists_url":"https://api.github.com/users/axemclion/gists{/gist_id}","starred_url":"https://api.github.com/users/axemclion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axemclion/subscriptions","organizations_url":"https://api.github.com/users/axemclion/orgs","repos_url":"https://api.github.com/users/axemclion/repos","events_url":"https://api.github.com/users/axemclion/events{/privacy}","received_events_url":"https://api.github.com/users/axemclion/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T04:55:25Z","updated_at":"2016-05-04T04:55:25Z","body":"Looks like this is fixed in [CB-10014](https://issues.apache.org/jira/browse/CB-10014] and a [corresponding commit](https://github.com/apache/cordova-android/commit/fb9cf60c4100d5bc6f9320747611da1ca0ced289).\r\n\r\nWe could get do away with this commit. To ensure that the plugin works with versions where this is fixed in Cordova, we could leverage Cordova's [plugin pinning](https://issues.apache.org/jira/browse/CB-10679).\r\n\r\n\r\nThis commit is causing the plugins to be unusable with [react-native-cordova-plugin](http://github.com/axemclion/react-native-cordova-plugin). The fundamental issue is that ReactNative includes plugins as libraries, while Cordova simply changes build files to make plugins a part of the main project. A library cannot have an `applicationID` and thus, this library can only be used when included in a main project as a result of computing `applicationID` in gradle. \r\n\r\nA library cannot really set an applicationID and hence ,"}}