{"action":"created","issue":{"url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/2182","repository_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps","labels_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/2182/labels{/name}","comments_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/2182/comments","events_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/2182/events","html_url":"https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/2182","id":308811730,"number":2182,"title":"xml2js error even in v2.2.9","user":{"login":"caiotarifa","id":197979,"avatar_url":"https://avatars1.githubusercontent.com/u/197979?v=4","gravatar_id":"","url":"https://api.github.com/users/caiotarifa","html_url":"https://github.com/caiotarifa","followers_url":"https://api.github.com/users/caiotarifa/followers","following_url":"https://api.github.com/users/caiotarifa/following{/other_user}","gists_url":"https://api.github.com/users/caiotarifa/gists{/gist_id}","starred_url":"https://api.github.com/users/caiotarifa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caiotarifa/subscriptions","organizations_url":"https://api.github.com/users/caiotarifa/orgs","repos_url":"https://api.github.com/users/caiotarifa/repos","events_url":"https://api.github.com/users/caiotarifa/events{/privacy}","received_events_url":"https://api.github.com/users/caiotarifa/received_events","type":"User","site_admin":false},"labels":[{"id":133074247,"url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/labels/need%20more%20information","name":"need more information","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-03-27T03:44:02Z","updated_at":"2018-03-27T19:06:25Z","closed_at":null,"author_association":"NONE","body":"**I'm submitting a ...**  (check one with \"x\")\r\n- [ ] question\r\n- [x] any problem or bug report\r\n- [ ] feature request\r\n\r\n**If you choose 'problem or bug report', please select OS:**  (check one with \"x\")\r\n- [x] **Android**\r\n- [x] **iOS**\r\n\r\n**cordova information:**  (run `$> cordova plugin list`) \r\n\r\n```\r\ncordova-plugin-googlemaps 2.2.9 \"cordova-plugin-googlemaps\"\r\ncordova-plugin-whitelist 1.3.3 \"Whitelist\"\r\n```\r\n---\r\n\r\nI noted that in the last changelog (v2.2.9) there was a bug fix involving the xml2js library. But when I tested here, the problem persists.\r\n\r\n![gmaps](https://user-images.githubusercontent.com/197979/37945689-c410f4dc-3157-11e8-802a-e8abdceb7b98.png)\r\n\r\n```\r\n$ cordova plugin rm cordova-plugin-googlemaps\r\n(node:68929) UnhandledPromiseRejectionWarning: Error: Cannot find module '/path/to/plugins/cordova-plugin-googlemaps/node_modules/xml2js'\r\n    at Function.Module._resolveFilename (module.js:543:15)\r\n    at Function.Module._load (module.js:470:25)\r\n    at Module.require (module.js:593:17)\r\n    at require (internal/module.js:11:18)\r\n    at module.exports (/path/to/plugins/cordova-plugin-googlemaps/src/before_plugin_rm.js:16:16)\r\n    at runScriptViaModuleLoader (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:188:18)\r\n    at runScript (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:164:16)\r\n    at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:132:20\r\n    at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:787:54)\r\n    at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:816:30)\r\n(node:68929) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)\r\n(node:68929) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.\r\n```"},"comment":{"url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/comments/376639543","html_url":"https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/2182#issuecomment-376639543","issue_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/2182","id":376639543,"user":{"login":"wf9a5m75","id":167831,"avatar_url":"https://avatars3.githubusercontent.com/u/167831?v=4","gravatar_id":"","url":"https://api.github.com/users/wf9a5m75","html_url":"https://github.com/wf9a5m75","followers_url":"https://api.github.com/users/wf9a5m75/followers","following_url":"https://api.github.com/users/wf9a5m75/following{/other_user}","gists_url":"https://api.github.com/users/wf9a5m75/gists{/gist_id}","starred_url":"https://api.github.com/users/wf9a5m75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wf9a5m75/subscriptions","organizations_url":"https://api.github.com/users/wf9a5m75/orgs","repos_url":"https://api.github.com/users/wf9a5m75/repos","events_url":"https://api.github.com/users/wf9a5m75/events{/privacy}","received_events_url":"https://api.github.com/users/wf9a5m75/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T19:06:24Z","updated_at":"2018-03-27T19:06:24Z","author_association":"OWNER","body":"Okay, please try again with `multiple_maps` branch version.\r\n\r\n```\r\n$ cordova create my-app com.example.app MyApp --template cordova-template-framework7-vue-webpack\r\n$ cd my-app/\r\n$ npm install\r\n$ cordova platform add browser ios\r\n$ cordova plugin add https://github.com/mapsplugin/cordova-plugin-googlemaps.git#multiple_maps --variable API_KEY_FOR_ANDROID=\"...\" --variable API_KEY_FOR_IOS=\"...\"\r\n```"}}
{"actor":{"display_login":"wf9a5m75"}}