{"action":"created","issue":{"url":"https://api.github.com/repos/realtime-framework/CordovaPush/issues/2","labels_url":"https://api.github.com/repos/realtime-framework/CordovaPush/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/realtime-framework/CordovaPush/issues/2/comments","events_url":"https://api.github.com/repos/realtime-framework/CordovaPush/issues/2/events","html_url":"https://github.com/realtime-framework/CordovaPush/issues/2","id":101398839,"number":2,"title":"Phonegap Build fails for android","user":{"login":"silvanoAdami","id":8080610,"avatar_url":"https://avatars.githubusercontent.com/u/8080610?v=3","gravatar_id":"","url":"https://api.github.com/users/silvanoAdami","html_url":"https://github.com/silvanoAdami","followers_url":"https://api.github.com/users/silvanoAdami/followers","following_url":"https://api.github.com/users/silvanoAdami/following{/other_user}","gists_url":"https://api.github.com/users/silvanoAdami/gists{/gist_id}","starred_url":"https://api.github.com/users/silvanoAdami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvanoAdami/subscriptions","organizations_url":"https://api.github.com/users/silvanoAdami/orgs","repos_url":"https://api.github.com/users/silvanoAdami/repos","events_url":"https://api.github.com/users/silvanoAdami/events{/privacy}","received_events_url":"https://api.github.com/users/silvanoAdami/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-17T11:15:39Z","updated_at":"2015-08-19T02:57:39Z","closed_at":null,"body":"Hi Realtime team.\r\n\r\nI'm using Realtime plugin with an app (for android and iphone) built through \"Phonegap Build\".\r\n\r\nIn my config.xml file I added:\r\n   \r\n     <gap:plugin name=\"co.realtime.plugins.cordovapush\" version=\"0.1.4\" />\r\n\r\nBut I get the following build error:\r\n*\"Error - Two of the plugins in your app are incompatible as they both add a file with the same name. View logs to find which plugins are causing this issue.\"*\r\n\r\nAn Abstract of config.xml is as follows:\r\n\r\n    <preference name=\"permissions\" value=\"none\" />\r\n    <preference name=\"orientation\" value=\"default\" />\r\n    <preference name=\"target-device\" value=\"universal\" />\r\n    <preference name=\"fullscreen\" value=\"false\" />\r\n    <preference name=\"webviewbounce\" value=\"true\" />\r\n    <preference name=\"prerendered-icon\" value=\"true\" />\r\n    <preference name=\"stay-in-webview\" value=\"false\" />\r\n    <preference name=\"ios-statusbarstyle\" value=\"black-opaque\" />\r\n    <preference name=\"detect-data-types\" value=\"true\" />\r\n    <preference name=\"exit-on-suspend\" value=\"false\" />\r\n    <preference name=\"show-splash-screen-spinner\" value=\"true\" />\r\n    <preference name=\"auto-hide-splash-screen\" value=\"true\" />\r\n    <preference name=\"disable-cursor\" value=\"false\" />\r\n    <preference name=\"android-minSdkVersion\" value=\"7\" />\r\n    <preference name=\"android-installLocation\" value=\"auto\" />\r\n    <preference name=\"DisallowOverscroll\" value=\"true\" />\r\n\r\n    <gap:config-file parent=\"/manifest/application\" platform=\"android\">\r\n        <activity android:launchMode=\"singleInstance\" />\r\n    </gap:config-file>\r\n\r\n    <!-- GAP PLUGINS CORDOVA -->\r\n    <gap:plugin name=\"org.apache.cordova.battery-status\"  />\r\n    <gap:plugin name=\"org.apache.cordova.camera\"  />\r\n    <gap:plugin name=\"org.apache.cordova.console\"  />\r\n    <gap:plugin name=\"org.apache.cordova.contacts\"  />\r\n    <gap:plugin name=\"org.apache.cordova.device\"  />\r\n    <gap:plugin name=\"org.apache.cordova.device-motion\" />\r\n    <gap:plugin name=\"org.apache.cordova.device-orientation\"  />\r\n    <gap:plugin name=\"org.apache.cordova.dialogs\"  />\r\n    <gap:plugin name=\"org.apache.cordova.file\"  />\r\n    <gap:plugin name=\"org.apache.cordova.file-transfer\"  />\r\n    <gap:plugin name=\"org.apache.cordova.geolocation\"  />\r\n    <gap:plugin name=\"org.apache.cordova.globalization\"  />\r\n    <gap:plugin name=\"org.apache.cordova.inappbrowser\"  />\r\n    <gap:plugin name=\"org.apache.cordova.media\"  />\r\n    <gap:plugin name=\"org.apache.cordova.media-capture\"  />\r\n    <gap:plugin name=\"org.apache.cordova.network-information\"  />\r\n    <gap:plugin name=\"org.apache.cordova.splashscreen\"  />\r\n    <gap:plugin name=\"org.apache.cordova.vibration\"  />\r\n\r\n\r\n    <!-- GAP PLUGINS EXTERNAL -->\r\n    <gap:plugin name=\"com.phonegap.plugins.barcodescanner\" />\r\n    <gap:plugin name=\"nl.x-services.plugins.launchmyapp\">\r\n        <param name=\"URL_SCHEME\" value=\"XXXXXXXX\" />\r\n    </gap:plugin>\r\n    <gap:plugin name=\"com.phonegap.plugin.statusbar\" />\r\n    <gap:plugin name=\"com.badrit.macaddress\" />\r\n    <gap:plugin name=\"com.simonmacdonald.telephonenumber\" />\r\n    <gap:plugin name=\"nl.x-services.plugins.socialsharing\" />\r\n    <gap:plugin name=\"nl.x-services.plugins.googleplus\" source=\"plugins.cordova.io\"/>\r\n    \r\n    <gap:plugin name=\"com.phonegap.plugins.facebookconnect\">\r\n        <param name=\"APP_ID\" value=\"XXXXXXXX\" />\r\n        <param name=\"APP_NAME\" value=\"YYYYYYYY\" />\r\n    </gap:plugin>\r\n\r\n    <gap:plugin name=\"nl.x-services.plugins.insomnia\" />\r\n    <gap:plugin name=\"net.bgta.phonegap.plugin.appversion\" />\r\n    <gap:plugin name=\"org.pushandplay.cordova.apprate\" />\r\n    <gap:plugin name=\"co.realtime.plugins.cordovapush\" version=\"0.1.4\" />\r\n\r\n\r\nI tried many modifications to plugin import but cannot find the problem.\r\nIf I remove \"co.realtime.plugins.cordovapush\" the build ends without errors.\r\nDo you know which could be the problem?\r\n\r\nMany Thanks\r\nSilvano\r\n"},"comment":{"url":"https://api.github.com/repos/realtime-framework/CordovaPush/issues/comments/132428496","html_url":"https://github.com/realtime-framework/CordovaPush/issues/2#issuecomment-132428496","issue_url":"https://api.github.com/repos/realtime-framework/CordovaPush/issues/2","id":132428496,"user":{"login":"silvanoAdami","id":8080610,"avatar_url":"https://avatars.githubusercontent.com/u/8080610?v=3","gravatar_id":"","url":"https://api.github.com/users/silvanoAdami","html_url":"https://github.com/silvanoAdami","followers_url":"https://api.github.com/users/silvanoAdami/followers","following_url":"https://api.github.com/users/silvanoAdami/following{/other_user}","gists_url":"https://api.github.com/users/silvanoAdami/gists{/gist_id}","starred_url":"https://api.github.com/users/silvanoAdami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvanoAdami/subscriptions","organizations_url":"https://api.github.com/users/silvanoAdami/orgs","repos_url":"https://api.github.com/users/silvanoAdami/repos","events_url":"https://api.github.com/users/silvanoAdami/events{/privacy}","received_events_url":"https://api.github.com/users/silvanoAdami/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T02:57:39Z","updated_at":"2015-08-19T02:57:39Z","body":"Hi Realtime!\r\nThanks for the answer, I've tried to build the example you sent me with \"Phonegap Build\" but it gives to me the same error as before.\r\nCould you tell me How did you build it successfully? Maybe with some other tool, outside Phonegap Build?\r\n\r\nThanks a lot\r\nSilvano"}}