{"action":"created","issue":{"url":"https://api.github.com/repos/Pushwoosh/pushwoosh-phonegap-plugin/issues/149","labels_url":"https://api.github.com/repos/Pushwoosh/pushwoosh-phonegap-plugin/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/Pushwoosh/pushwoosh-phonegap-plugin/issues/149/comments","events_url":"https://api.github.com/repos/Pushwoosh/pushwoosh-phonegap-plugin/issues/149/events","html_url":"https://github.com/Pushwoosh/pushwoosh-phonegap-plugin/issues/149","id":126038908,"number":149,"title":"Use various PhoneGap apps Pushwoosh, you can not install together.","user":{"login":"RonnySchleicher","id":1914203,"avatar_url":"https://avatars.githubusercontent.com/u/1914203?v=3","gravatar_id":"","url":"https://api.github.com/users/RonnySchleicher","html_url":"https://github.com/RonnySchleicher","followers_url":"https://api.github.com/users/RonnySchleicher/followers","following_url":"https://api.github.com/users/RonnySchleicher/following{/other_user}","gists_url":"https://api.github.com/users/RonnySchleicher/gists{/gist_id}","starred_url":"https://api.github.com/users/RonnySchleicher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RonnySchleicher/subscriptions","organizations_url":"https://api.github.com/users/RonnySchleicher/orgs","repos_url":"https://api.github.com/users/RonnySchleicher/repos","events_url":"https://api.github.com/users/RonnySchleicher/events{/privacy}","received_events_url":"https://api.github.com/users/RonnySchleicher/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-11T21:20:04Z","updated_at":"2016-01-27T14:30:27Z","closed_at":"2016-01-14T13:18:35Z","body":"##### Step to Reproduce:\r\n\r\n* Create a new Phonegap Application (in this example on the PC):\r\n\r\n* Identifier and Name **de.myapp.myapp MYAPP**\r\n\r\n```batch\r\ncd c:\\\r\n\r\ncall cordova create PhoneGap_android de.myapp.myapp MYAPP\r\n\r\ncd PhoneGap_android\r\n\r\ncall cordova platform add android\r\n\r\ncall cordova plugin add https://github.com/Pushwoosh/pushwoosh-phonegap-3.0-plugin.git\r\n\r\ncall cordova plugin add cordova-plugin-whitelist@1.0\r\ncall cordova plugin add cordova-plugin-network-information\r\ncall cordova plugin add cordova-plugin-device\r\ncall cordova plugin add cordova-plugin-splashscreen\r\ncall cordova plugin add cordova-plugin-console\r\n```\r\n\r\n* Open the project in the Android Studio\r\n\r\n* Now add the needed dependency in the build.gradle file **compile \"com.google.android.gms:play-services-gcm:+\"**\r\n\r\n```gradle\r\ndependencies {\r\n    compile fileTree(dir: 'libs', include: '*.jar')\r\n    // SUB-PROJECT DEPENDENCIES START\r\n    debugCompile project(path: \"CordovaLib\", configuration: \"debug\")\r\n    releaseCompile project(path: \"CordovaLib\", configuration: \"release\")\r\n    compile \"com.google.android.gms:play-services-gcm:+\"\r\n    // SUB-PROJECT DEPENDENCIES END\r\n}\r\n\r\n```\r\n\r\n* Try to install and run the MYAPP on a real Android device\r\n\r\n* **Also is fine!** The App can be installed and lanched too.\r\n\r\n* Close the App and close the Android Studio too\r\n\r\n* Create a second new Phonegap App\r\n\r\n* Identifier and Name are completely different to the first APP **de.myapp2.myapp2 MYAPP2**\r\n\r\n\r\n```batch\r\ncd c:\\\r\n\r\nrd .\\PhoneGap_android2 /S /Q\r\n\r\ncall cordova create PhoneGap_android2 de.myapp2.myapp2 MYAPP2\r\n\r\ncd PhoneGap_android2\r\n\r\ncall cordova platform add android\r\n\r\ncall cordova plugin add https://github.com/Pushwoosh/pushwoosh-phonegap-3.0-plugin.git\r\n\r\ncall cordova plugin add cordova-plugin-whitelist@1.0\r\ncall cordova plugin add cordova-plugin-network-information\r\ncall cordova plugin add cordova-plugin-device\r\ncall cordova plugin add cordova-plugin-splashscreen\r\ncall cordova plugin add cordova-plugin-console\r\n```\r\n* Open the second project in the Android Studio\r\n\r\nNow add also the dependency in build.gradle file **compile \"com.google.android.gms:play-services-gcm:+\"**\r\n\r\n```gradle\r\ndependencies {\r\n    compile fileTree(dir: 'libs', include: '*.jar')\r\n    // SUB-PROJECT DEPENDENCIES START\r\n    debugCompile project(path: \"CordovaLib\", configuration: \"debug\")\r\n    releaseCompile project(path: \"CordovaLib\", configuration: \"release\")\r\n    compile \"com.google.android.gms:play-services-gcm:+\"\r\n    // SUB-PROJECT DEPENDENCIES END\r\n}\r\n\r\n```\r\n\r\n* Try to install and run the ***MYAPP2*** on the same real  Android device (MYAPP is still installed)\r\n\r\n* Follow error message appear\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1914203/12246839/15b99d7e-b8b1-11e5-919b-99feea099367.png)\r\n\r\nThen trying uninstalling proposes course fail. Because App does not exist.\r\n\r\n* **You can never install more then one PhoneGap App with the PushWoosh-Plugin and the required dependency (compile \"com.google.android.gms:play-services-gcm:+\") on the same device**\r\n\r\n* **This also happens with released Apps (sent via email as an APK MYAPP and MyApp2)**\r\n\r\n* **And it happens even if the apps are installed from the** :exclamation: Play Store :exclamation: ** Mostly then comes the error -505**\r\n\r\n* Without dependencies it would work. But then I can not use PUSHWOOSH. Because PUSHWOOSH the dependencies needs."},"comment":{"url":"https://api.github.com/repos/Pushwoosh/pushwoosh-phonegap-plugin/issues/comments/175656373","html_url":"https://github.com/Pushwoosh/pushwoosh-phonegap-plugin/issues/149#issuecomment-175656373","issue_url":"https://api.github.com/repos/Pushwoosh/pushwoosh-phonegap-plugin/issues/149","id":175656373,"user":{"login":"luizwagner","id":16546319,"avatar_url":"https://avatars.githubusercontent.com/u/16546319?v=3","gravatar_id":"","url":"https://api.github.com/users/luizwagner","html_url":"https://github.com/luizwagner","followers_url":"https://api.github.com/users/luizwagner/followers","following_url":"https://api.github.com/users/luizwagner/following{/other_user}","gists_url":"https://api.github.com/users/luizwagner/gists{/gist_id}","starred_url":"https://api.github.com/users/luizwagner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luizwagner/subscriptions","organizations_url":"https://api.github.com/users/luizwagner/orgs","repos_url":"https://api.github.com/users/luizwagner/repos","events_url":"https://api.github.com/users/luizwagner/events{/privacy}","received_events_url":"https://api.github.com/users/luizwagner/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T14:30:27Z","updated_at":"2016-01-27T14:30:27Z","body":"We are having the same problem, but used the Intel XDK, has planned some solution for this platform?\r\n\r\nHelp us, the application is in production and can not deliver to my clients.\r\n\r\nThank you!"}}