{"action":"created","issue":{"url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/1156","repository_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps","labels_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/1156/labels{/name}","comments_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/1156/comments","events_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/1156/events","html_url":"https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/1156","id":185350035,"number":1156,"title":"Permission error on android 6.*","user":{"login":"gchokeen","id":1717379,"avatar_url":"https://avatars.githubusercontent.com/u/1717379?v=3","gravatar_id":"","url":"https://api.github.com/users/gchokeen","html_url":"https://github.com/gchokeen","followers_url":"https://api.github.com/users/gchokeen/followers","following_url":"https://api.github.com/users/gchokeen/following{/other_user}","gists_url":"https://api.github.com/users/gchokeen/gists{/gist_id}","starred_url":"https://api.github.com/users/gchokeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gchokeen/subscriptions","organizations_url":"https://api.github.com/users/gchokeen/orgs","repos_url":"https://api.github.com/users/gchokeen/repos","events_url":"https://api.github.com/users/gchokeen/events{/privacy}","received_events_url":"https://api.github.com/users/gchokeen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-26T10:07:23Z","updated_at":"2016-10-27T05:49:47Z","closed_at":null,"body":"Hi,\r\n\r\n\r\nI am not able to get the current location. \r\n\r\nMy environment \r\n\r\n\r\n- Ionic 2\r\n- Android 6.0 \r\n- using master branch of this plugin\r\n \r\n\r\nI was getting below error with stable version of this plugin so I switched to master branch but  now getting exception while building app.\r\n\r\n`\r\ngooglemaps-cdv-plugin.js:117 my location requires permission ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION`\r\n\r\n**Exception**\r\n\r\n```\r\nplatforms/android/gradlew: Command failed with exit code 1 Error output:\r\n/var/www/html/RSA/platforms/android/src/plugin/google/maps/PluginMarker.java:167: error: cannot find symbol\r\n              if(e instanceof FileNotFoundException) {}\r\n                              ^\r\n  symbol: class FileNotFoundException\r\nNote: /var/www/html/RSA/platforms/android/src/plugin/google/maps/GoogleMaps.java uses or overrides a deprecated API.\r\nNote: Recompile with -Xlint:deprecation for details.\r\n1 error\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':compileDebugJavaWithJavac'.\r\n> Compilation failed; see the compiler error output for details.\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/comments/256552531","html_url":"https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/1156#issuecomment-256552531","issue_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/1156","id":256552531,"user":{"login":"gchokeen","id":1717379,"avatar_url":"https://avatars.githubusercontent.com/u/1717379?v=3","gravatar_id":"","url":"https://api.github.com/users/gchokeen","html_url":"https://github.com/gchokeen","followers_url":"https://api.github.com/users/gchokeen/followers","following_url":"https://api.github.com/users/gchokeen/following{/other_user}","gists_url":"https://api.github.com/users/gchokeen/gists{/gist_id}","starred_url":"https://api.github.com/users/gchokeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gchokeen/subscriptions","organizations_url":"https://api.github.com/users/gchokeen/orgs","repos_url":"https://api.github.com/users/gchokeen/repos","events_url":"https://api.github.com/users/gchokeen/events{/privacy}","received_events_url":"https://api.github.com/users/gchokeen/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T05:49:47Z","updated_at":"2016-10-27T05:49:47Z","body":"\r\nAfter waiting long time, I got this exception. \r\n\r\nFetching plugin \"https://github.com/mapsplugin/cordova-plugin-googlemaps\" via git clone\r\nRepository \"https://github.com/mapsplugin/cordova-plugin-googlemaps\" checked out to git ref \"multiple_maps\".\r\nInstalling \"cordova-plugin-googlemaps\" for android\r\nANDROID_HOME=/home/gowri/Android/Sdk\r\nJAVA_HOME=/usr/lib/jvm/java-8-oracle\r\nSubproject Path: CordovaLib\r\nStarting a new Gradle Daemon for this build (subsequent builds will be faster).\r\nIncremental java compilation is an incubating feature.\r\n:clean\r\n:CordovaLib:clean\r\n\r\nBUILD SUCCESSFUL\r\n\r\n```\r\nTotal time: 20.181 secs\r\nFailed to install 'cordova-plugin-googlemaps':Error: There was a conflict trying to modify attributes with <edit-config> in plugin cordova-plugin-googlemaps. The conflicting plugin, undefined, already modified the same attributes. The conflict must be resolved before cordova-plugin-googlemaps can be added. You may use --force to add the plugin and overwrite the conflicting attributes.\r\n    at PlatformMunger.add_plugin_changes (/var/www/html/RSA/platforms/android/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:169:19)\r\n    at /var/www/html/RSA/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:126:25\r\n    at _fulfilled (/var/www/html/RSA/platforms/android/cordova/node_modules/q/q.js:834:54)\r\n    at self.promiseDispatch.done (/var/www/html/RSA/platforms/android/cordova/node_modules/q/q.js:863:30)\r\n    at Promise.promise.promiseDispatch (/var/www/html/RSA/platforms/android/cordova/node_modules/q/q.js:796:13)\r\n    at /var/www/html/RSA/platforms/android/cordova/node_modules/q/q.js:857:14\r\n    at runSingle (/var/www/html/RSA/platforms/android/cordova/node_modules/q/q.js:137:13)\r\n    at flush (/var/www/html/RSA/platforms/android/cordova/node_modules/q/q.js:125:13)\r\n    at _combinedTickCallback (internal/process/next_tick.js:67:7)\r\n    at process._tickCallback (internal/process/next_tick.js:98:9)\r\n\r\n```\r\n> Error: There was a conflict trying to modify attributes with <edit-config> in plugin cordova-plugin-googlemaps. The conflicting plugin, undefined, already modified the same attributes. The conflict must be resolved before cordova-plugin-googlemaps can be added. You may use --force to add the plugin and overwrite the conflicting attributes."}}
{"actor":{"display_login":"gchokeen"}}