{"action":"created","issue":{"url":"https://api.github.com/repos/wf9a5m75/phonegap-googlemaps-plugin/issues/520","labels_url":"https://api.github.com/repos/wf9a5m75/phonegap-googlemaps-plugin/issues/520/labels{/name}","comments_url":"https://api.github.com/repos/wf9a5m75/phonegap-googlemaps-plugin/issues/520/comments","events_url":"https://api.github.com/repos/wf9a5m75/phonegap-googlemaps-plugin/issues/520/events","html_url":"https://github.com/wf9a5m75/phonegap-googlemaps-plugin/issues/520","id":72966829,"number":520,"title":"Not working with ionic crosswalk 14","user":{"login":"piernik","id":420691,"avatar_url":"https://avatars.githubusercontent.com/u/420691?v=3","gravatar_id":"","url":"https://api.github.com/users/piernik","html_url":"https://github.com/piernik","followers_url":"https://api.github.com/users/piernik/followers","following_url":"https://api.github.com/users/piernik/following{/other_user}","gists_url":"https://api.github.com/users/piernik/gists{/gist_id}","starred_url":"https://api.github.com/users/piernik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piernik/subscriptions","organizations_url":"https://api.github.com/users/piernik/orgs","repos_url":"https://api.github.com/users/piernik/repos","events_url":"https://api.github.com/users/piernik/events{/privacy}","received_events_url":"https://api.github.com/users/piernik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-05-04T09:10:27Z","updated_at":"2015-08-09T13:49:45Z","closed_at":"2015-05-04T13:13:00Z","body":"I'm tring to get Your plugin to work with ionic but no luck.\r\nHere are commands\r\n\r\n```\r\nC:\\strony\\www\\test_app>ionic run\r\nUpdated the hooks directory to have execute permissions\r\nrunCordova run\r\nRunning command: \"C:\\Program Files\\nodejs\\node.exe\" C:\\strony\\www\\test_app\\hooks\\after_prepare\\010_add_platform_class\r\n.js C:\\strony\\www\\test_app\r\nadd to body class: platform-android\r\nRunning command: C:\\strony\\www\\test_app\\platforms\\android\\cordova\\run.bat\r\nANDROID_HOME=C:\\Users\\Lukasz\\AppData\\Local\\Android\\android-sdk\r\nJAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_40\r\nWARNING : No target specified, deploying to device '192.168.56.101:5555'.\r\nRunning: C:\\strony\\www\\test_app\\platforms\\android\\gradlew cdvBuildDebug -b C:\\strony\\www\\test_app\\platforms\\android\\b\r\nuild.gradle -PcdvBuildArch=x86 -Dorg.gradle.daemon=true\r\nWARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.\r\nWARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.\r\nWARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.\r\nWARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.\r\nWARNING [Project: :cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library] Current NDK support is deprecat\r\ned.  Alternative will be provided in the future.\r\n:preBuild\r\n:compileX86DebugNdk UP-TO-DATE\r\n:preX86DebugBuild\r\n:checkX86DebugManifest\r\n:preArmv7DebugBuild\r\n:CordovaLib:compileLint\r\n:CordovaLib:copyDebugLint UP-TO-DATE\r\n:CordovaLib:mergeDebugProguardFiles UP-TO-DATE\r\n:CordovaLib:preBuild\r\n:CordovaLib:preDebugBuild\r\n:CordovaLib:checkDebugManifest\r\n:CordovaLib:prepareDebugDependencies\r\n:CordovaLib:compileDebugAidl UP-TO-DATE\r\n:CordovaLib:compileDebugRenderscript UP-TO-DATE\r\n:CordovaLib:generateDebugBuildConfig UP-TO-DATE\r\n:CordovaLib:generateDebugAssets UP-TO-DATE\r\n:CordovaLib:mergeDebugAssets UP-TO-DATE\r\n:CordovaLib:generateDebugResValues UP-TO-DATE\r\n:CordovaLib:generateDebugResources UP-TO-DATE\r\n:CordovaLib:packageDebugResources UP-TO-DATE\r\n:CordovaLib:processDebugManifest UP-TO-DATE\r\n:CordovaLib:processDebugResources UP-TO-DATE\r\n:CordovaLib:generateDebugSources UP-TO-DATE\r\n:CordovaLib:compileDebugJava UP-TO-DATE\r\n:CordovaLib:processDebugJavaRes UP-TO-DATE\r\n:CordovaLib:packageDebugJar UP-TO-DATE\r\n:CordovaLib:compileDebugNdk UP-TO-DATE\r\n:CordovaLib:packageDebugJniLibs UP-TO-DATE\r\n:CordovaLib:packageDebugLocalJar UP-TO-DATE\r\n:CordovaLib:packageDebugRenderscript UP-TO-DATE\r\n:CordovaLib:bundleDebug UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:compileLint\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:copyDebugLint UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:mergeDebugProguardFiles UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:preBuild\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:preDebugBuild\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:checkDebugManifest\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:preDebugTestBuild\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:prepareAndroidCordovaLibUnspecifiedDebugLibrary UP-TO\r\n-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:prepareDebugDependencies\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:compileDebugAidl UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:compileDebugRenderscript UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:generateDebugBuildConfig UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:generateDebugAssets UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:mergeDebugAssets UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:generateDebugResValues UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:generateDebugResources UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:mergeDebugResources UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:processDebugManifest UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:processDebugResources UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:generateDebugSources UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:compileDebugJava UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:processDebugJavaRes UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:packageDebugJar UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:compileDebugNdk UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:packageDebugJniLibs UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:packageDebugLocalJar UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:packageDebugRenderscript UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:packageDebugResources UP-TO-DATE\r\n:com.google.playservices:PolskieSzlaki-google-play-services_lib:bundleDebug UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:compileLint\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:copyDebugLint UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:mergeDebugProguardFiles UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:preBuild\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:preDebugBuild\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:checkDebugManifest\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:preDebugTestBuild\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:prepareAndroidCordovaLibUnspecifiedDebugLibrary UP\r\n-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:prepareDebugDependencies\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:compileDebugAidl UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:compileDebugRenderscript UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:generateDebugBuildConfig UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:generateDebugAssets UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:mergeDebugAssets UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:generateDebugResValues UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:generateDebugResources UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:mergeDebugResources UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:processDebugManifest UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:processDebugResources UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:generateDebugSources UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:compileDebugJava UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:processDebugJavaRes UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:packageDebugJar UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:compileDebugNdk UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:packageDebugJniLibs UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:packageDebugLocalJar UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:packageDebugRenderscript UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:packageDebugResources UP-TO-DATE\r\n:cordova-plugin-crosswalk-webview:testapp511215-xwalk_core_library:bundleDebug UP-TO-DATE\r\n:prepareAndroidComGooglePlayservicesPolskieSzlakiGooglePlayServices_libUnspecifiedDebugLibrary UP-TO-DATE\r\n:prepareAndroidCordovaLibUnspecifiedDebugLibrary UP-TO-DATE\r\n:prepareAndroidCordovaPluginCrosswalkWebviewTestapp511215Xwalk_core_libraryUnspecifiedDebugLibrary UP-TO-DATE\r\n:prepareX86DebugDependencies\r\n:compileX86DebugAidl UP-TO-DATE\r\n:compileX86DebugRenderscript UP-TO-DATE\r\n:generateX86DebugBuildConfig UP-TO-DATE\r\n:generateX86DebugAssets UP-TO-DATE\r\n:mergeX86DebugAssets UP-TO-DATE\r\n:generateX86DebugResValues UP-TO-DATE\r\n:generateX86DebugResources UP-TO-DATE\r\n:mergeX86DebugResources UP-TO-DATE\r\n:processX86DebugManifest UP-TO-DATE\r\n:processX86DebugResources UP-TO-DATE\r\n:generateX86DebugSources UP-TO-DATE\r\n:compileX86DebugJavaC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\GoogleMaps.java:138: error: canno\r\nt find symbol\r\n    root = (ViewGroup) webView.getParent();\r\n                              ^\r\n  symbol:   method getParent()\r\n  location: variable webView of type CordovaWebView\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\GoogleMaps.java:197: error: cannot find symbol\r\n          webView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);\r\n                 ^\r\n  symbol:   method setLayerType(int,<null>)\r\n  location: variable webView of type CordovaWebView\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\GoogleMaps.java:206: error: cannot find symbol\r\n          webView.setBackgroundColor(0);\r\n                 ^\r\n  symbol:   method setBackgroundColor(int)\r\n  location: variable webView of type CordovaWebView\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\GoogleMaps.java:789: error: cannot find symbol\r\n    webView.setVisibility(View.GONE);\r\n           ^\r\n  symbol:   method setVisibility(int)\r\n  location: variable webView of type CordovaWebView\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\GoogleMaps.java:807: error: cannot find symbol\r\n        webView.setVisibility(View.VISIBLE);\r\n               ^\r\n  symbol:   method setVisibility(int)\r\n  location: variable webView of type CordovaWebView\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\GoogleMaps.java:879: error: cannot find symbol\r\n          divTop - webView.getScrollY(), \r\n                          ^\r\n  symbol:   method getScrollY()\r\n  location: variable webView of type CordovaWebView\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\GoogleMaps.java:881: error: cannot find symbol\r\n          divTop + divH - webView.getScrollY());\r\n                                 ^\r\n  symbol:   method getScrollY()\r\n  location: variable webView of type CordovaWebView\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\MyPluginLayout.java:53: error: cannot find symbol\r\n    this.root = (ViewGroup) webView.getParent();\r\n                                   ^\r\n  symbol:   method getParent()\r\n  location: variable webView of type CordovaWebView\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\MyPluginLayout.java:55: error: cannot find symbol\r\n    webView.setBackgroundColor(Color.TRANSPARENT);\r\n           ^\r\n  symbol:   method setBackgroundColor(int)\r\n  location: variable webView of type CordovaWebView\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\MyPluginLayout.java:57: error: cannot find symbol\r\n      webView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);\r\n             ^\r\n  symbol:   method setLayerType(int,<null>)\r\n  location: variable webView of type CordovaWebView\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\MyPluginLayout.java:132: error: cannot find symbol\r\n    int scrollY = webView.getScrollY();\r\n                         ^\r\n  symbol:   method getScrollY()\r\n  location: variable webView of type CordovaWebView\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\MyPluginLayout.java:180: error: incompatible types: C\r\nordovaWebView cannot be converted to View\r\n    frontLayer.removeView(webView);\r\n                          ^\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\MyPluginLayout.java:191: error: incompatible types: C\r\nordovaWebView cannot be converted to View\r\n    root.addView(webView);\r\n                 ^\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\MyPluginLayout.java:200: error: cannot find symbol\r\n    scrollView.scrollTo(webView.getScrollX(), webView.getScrollY());\r\n                               ^\r\n  symbol:   method getScrollX()\r\n  location: variable webView of type CordovaWebView\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\MyPluginLayout.java:200: error: cannot find symbol\r\n    scrollView.scrollTo(webView.getScrollX(), webView.getScrollY());\r\n                                                     ^\r\n  symbol:   method getScrollY()\r\n  location: variable webView of type CordovaWebView\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\MyPluginLayout.java:214: error: no suitable method fo\r\nund for removeView(CordovaWebView)\r\n    root.removeView(webView);\r\n        ^\r\n    method ViewManager.removeView(View) is not applicable\r\n      (argument mismatch; CordovaWebView cannot be converted to View)\r\n    method ViewGroup.removeView(View) is not applicable\r\n      (argument mismatch; CordovaWebView cannot be converted to View)\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\MyPluginLayout.java:221: error: incompatible types: C\r\nordovaWebView cannot be converted to View\r\n    frontLayer.addView(webView);\r\n                       ^\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\MyPluginLayout.java:261: error: cannot find symbol\r\n        webView.requestFocus(View.FOCUS_DOWN);\r\n               ^\r\n  symbol:   method requestFocus(int)\r\n  location: variable webView of type CordovaWebView\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\MyPluginLayout.java:266: error: cannot find symbol\r\n      int scrollY = webView.getScrollY();\r\n                           ^\r\n  symbol:   method getScrollY()\r\n  location: variable webView of type CordovaWebView\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\MyPluginLayout.java:292: error: cannot find symbol\r\n        webView.requestFocus(View.FOCUS_DOWN);\r\n               ^\r\n  symbol:   method requestFocus(int)\r\n  location: variable webView of type CordovaWebView\r\nC:\\strony\\www\\test_app\\platforms\\android\\src\\plugin\\google\\maps\\MyPluginLayout.java:303: error: cannot find symbol\r\n      int scrollY = webView.getScrollY();\r\n                           ^\r\n  symbol:   method getScrollY()\r\n  location: variable webView of type CordovaWebView\r\nNote: Some input files use or override a deprecated API.\r\n FAILED\r\nNote: Recompile with -Xlint:deprecation for details.\r\nNote: Some messages have been simplified; recompile with -Xdiags:verbose to get full output\r\n21 errors\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':compileX86DebugJava'.\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\nBUILD FAILED\r\n\r\nTotal time: 11.956 secs\r\n\r\nC:\\strony\\www\\test_app\\platforms\\android\\cordova\\node_modules\\q\\q.js:126\r\n                    throw e;\r\n                          ^\r\nError code 1 for command: cmd with args: /s /c \"C:\\strony\\www\\test_app\\platforms\\android\\gradlew cdvBuildDebug -b C:\\\r\nstrony\\www\\test_app\\platforms\\android\\build.gradle -PcdvBuildArch=x86 -Dorg.gradle.daemon=true\"\r\nERROR running one or more of the platforms: Error: C:\\strony\\www\\test_app\\platforms\\android\\cordova\\run.bat: Command\r\nfailed with exit code 1\r\nYou may not have the required environment or OS to run this project\r\n```\r\nPlugin list\r\n```\r\nC:\\strony\\www\\test_app>ionic plugin list\r\nUpdated the hooks directory to have execute permissions\r\nrunCordova plugin\r\nandroid.support.v4 21.0.1 \"Android Support v4\"\r\ncom.google.playservices 23.0.0 \"Google Play Services for Android\"\r\ncom.ionic.keyboard 1.0.4 \"Keyboard\"\r\ncordova-plugin-crosswalk-webview 1.0.1-dev \"Crosswalk WebView Engine\"\r\ncordova-plugin-whitelist 1.0.0 \"Whitelist\"\r\nnl.x-services.plugins.toast 2.0.5 \"Toast\"\r\norg.apache.cordova.console 0.2.13 \"Console\"\r\norg.apache.cordova.device 0.3.0 \"Device\"\r\norg.apache.cordova.geolocation 0.3.12 \"Geolocation\"\r\norg.apache.cordova.splashscreen 1.0.0 \"Splashscreen\"\r\nplugin.google.maps 1.2.5 \"phonegap-googlemaps-plugin\"\r\nplugin.http.request 1.0.4 \"phonegap-http-request\"\r\n```\r\n\r\nIonic uses `browser` option whidh adds crosswalk - http://ionicframework.com/docs/cli/browsers.html\r\nHow to fix this issue?"},"comment":{"url":"https://api.github.com/repos/wf9a5m75/phonegap-googlemaps-plugin/issues/comments/129189047","html_url":"https://github.com/wf9a5m75/phonegap-googlemaps-plugin/issues/520#issuecomment-129189047","issue_url":"https://api.github.com/repos/wf9a5m75/phonegap-googlemaps-plugin/issues/520","id":129189047,"user":{"login":"glemiere","id":7260880,"avatar_url":"https://avatars.githubusercontent.com/u/7260880?v=3","gravatar_id":"","url":"https://api.github.com/users/glemiere","html_url":"https://github.com/glemiere","followers_url":"https://api.github.com/users/glemiere/followers","following_url":"https://api.github.com/users/glemiere/following{/other_user}","gists_url":"https://api.github.com/users/glemiere/gists{/gist_id}","starred_url":"https://api.github.com/users/glemiere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glemiere/subscriptions","organizations_url":"https://api.github.com/users/glemiere/orgs","repos_url":"https://api.github.com/users/glemiere/repos","events_url":"https://api.github.com/users/glemiere/events{/privacy}","received_events_url":"https://api.github.com/users/glemiere/received_events","type":"User","site_admin":false},"created_at":"2015-08-09T13:49:45Z","updated_at":"2015-08-09T13:49:45Z","body":"Java files used deprecated functions.\r\nUse this plugin and it will work ;-)\r\nhttps://github.com/Nipher/phonegap-googlemaps-plugin"}}