cordova-plugin-googlemaps | Google Maps plugin for Cordova | Mobile Application library
kandi X-RAY | cordova-plugin-googlemaps Summary
kandi X-RAY | cordova-plugin-googlemaps Summary
This plugin displays Google Maps in your application. This plugin uses these libraries for each platforms:. Both PhoneGap and Apache Cordova are supported.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cordova-plugin-googlemaps
cordova-plugin-googlemaps Key Features
cordova-plugin-googlemaps Examples and Code Snippets
Community Discussions
Trending Discussions on cordova-plugin-googlemaps
QUESTION
I'm trying to compile an Ionic 3 app with Firebase on Ios using Xcode Version 12.3 (12C33).
Even with the module in the Podfile, for some reason it keeps giving 'Use of undeclared identifier 'FIRAnalyticsConfiguration'
What I'm doing wrong? Everything looks updated.
Commands used:
...ANSWER
Answered 2021-Feb-02 at 20:14According to release notes of Firebase Analytics FIRAnalyticsConfiguration
APIs was removed in version 6.0.0. You can use the same APIs directly on FirebaseAnalytics
class.
QUESTION
I've an Ionic 3 app that's working fine when compiled without --prod flag (debug mode). When I set the --prod, the app stops on splash screen.
This works (the app open normal):
ionic cordova run android
This works too:
ionic cordova build android
This doesn't works (the app stops on splash screen):
ionic cordova build android --minifyjs --minifycss --release --aot
Neither this command:
...ANSWER
Answered 2021-Jan-03 at 00:24Finally get this working again!
For anyone get in trouble using ionic 3 + firebase, this is my working setup:
package.json
QUESTION
Ionic 5 with Capacitor getting 'plugin_not_installed' with plugin 'cordova.plugins.diagnostic'. Tried installing with this doc.
I have:
config.xml
has.
package.json
has
ANSWER
Answered 2020-Nov-28 at 11:42First, when using Cordova plugin inside a capacitor project, use this commands.
QUESTION
I am using Angular 8 and Ionic 4 for app development
My app is completed and working on update now
In update I am trying to add push notification, so to get the registration id of android device,
I am using ionic doc link : https://ionicframework.com/docs/native/push
Command From Doc : ionic cordova plugin add phonegap-plugin-push
After installing the above command I noticed that it is adding more libraries in below path
Path : /app/platforms/android/project.properties
Before Installing
...ANSWER
Answered 2020-Mar-09 at 10:38Finally after 2 days I got the solution and its works for me :)!!
I have changed the version of play-services-analytics in below path
Path : platforms/android/project.properties
cordova.system.library.3=com.google.android.gms:play-services-analytics:11.0.1
To
cordova.system.library.3=com.google.android.gms:play-services-analytics:17.0.0
And follow the below forum
https://forum.ionicframework.com/t/d8-program-type-already-present/166812/4
QUESTION
I have a large Ionic 4 Cordova project that was working fine and all, no new plugins installed in the past 3+ months.
It seems to happen almost every time Google decides to update Firebase that breaking changes occur and everything is messed up (at least twice a year).
This just happened, one moment I was building the project and after 5 minutes, I did another build with nothing changed other than some Typescript code and everything was broken (see part of the output below). When I looked at the build output, it seems clear that it's another Firebase issue out of nowhere (April 23rd update), but this one seems to break a lot of things, not just Firebase plugin (such as D8: Type libcore.io.Memory
was not found).
What can be done about this? It no longer works with or without Firebase plugin. I've tried reinstalling platform and plugins, removing Firebase plugin (then it builds with warnings but crashes when running on Android device).
Here is the cordova build output:
...ANSWER
Answered 2020-Apr-26 at 21:36it seems firebase.core not needed anymore, and you need to add implementation 'com.google.firebase:firebase-messaging:20.1.6'
as you'r missing it
The Firebase Android library firebase-core is no longer needed. This SDK included the Firebase SDK for Google Analytics.
Now, to use Analytics or any Firebase product that recommends the use of Analytics (see table below), you need to explicitly add the Analytics dependency: com.google.firebase:firebase-analytics:17.4.0.
QUESTION
I am trying to develop an android application in cordova
. It have to implement some google map functionalities like distance matrix service
and direction service
. But I haven't find any plugin for these functions. I'm using cordova-plugin-googlemaps for initializing google map.
I tried to do this in javascript itself but it have ReferenceError: google is not defined and I have pushed the specific file to github
Is there any other plugins have these supports ??
Or is it possible to write native android code to do this functionality that works in cordova application (like bridging kind of things) ??
p.s: I have no previous experience in mobile app development and Java related things
...ANSWER
Answered 2020-Apr-15 at 13:45As the folks from these multiple issues state, this plugin does not have support for the Directions and Distance Matrix services at this time, but you can implement them through the JavaScript API or through HTTP Web Services.
Hope this helps point you in the right direction!
QUESTION
I am attempting a go at mobile app development with maps integration. I am currently trying to do this with: Node Ionic Cordova Cordova Google Maps Plugin Windows 10 (build 1803)
The app itself builds correctly when creating a blank template, and will load fine. However, when I add references to my google maps plugin it results in this error:
...ANSWER
Answered 2018-Oct-02 at 17:49Please use below commands:
QUESTION
I used ionic-native/google-maps in my ionic 4 app. The map div is visible, functional and draggable when I enter the page unless I have set something of the elements on the map.
When I click a button to set visibility of some Markers and Circles, they become visible/invisible successfully but the gesture of the map is not working normally. I can only scroll the map upwards, but failed to scroll it to other directions and also tilt, rotate and zoom the map unless I leave from the page and enter into the page again. Here is my code:
page.html
...ANSWER
Answered 2020-Jan-21 at 07:57Here is the solution:
QUESTION
I'm trying to install Firebase in Ionic 4 app to use analytics and push notification for iOS and Android.
It seems to be impossible to build app on Android. I've already tried 3 different libs:
- https://github.com/arnesson/cordova-plugin-firebase
- https://github.com/dpa99c/cordova-plugin-firebasex
- https://www.npmjs.com/package/cordova-plugin-firebase-lib
So the last one is my current attempt and its returning this errors
...ANSWER
Answered 2019-Dec-22 at 04:31Your problems in building Ionic with Firebase are common from what I've experienced as well as read on GitHub issues. The library versions can cause some difficulties and I had to play around with them for a while to get mine to work. Not all libraries are the latest. I recently built one with Firebase as well as Phonegap Plugin Push. I have not tried with Analytics yet though. Hope this helps.
Try adding "cordova-play-services-version-adapter": "git+https://github.com/appfeel/cordova-play-services-version-adapter.git",
Here is my latest working package.json that builds for Android.
QUESTION
I've been stuck for some time now with the Google Maps plugin for Ionic. Until now, it worked perfectly fine on Android and iOS, but since I updated my app form Ionic 2 to 3 I cannot build it for iOS.
I've tried removing all npm modules and all plugins and platforms and reinstalling them again, I've been looking and googling for a solution for hours now and I'm starting to desperate. In android I have no problem building or running the app.
I'm building the app using xcode (opening the workspace's file, not the project's), but there are always two related errors:
/.../platforms/ios/appname/Plugins/com.googlemaps.ios/GoogleMaps.framework/Headers/GMSPolyline.h:11:9: 'UIKit/UIKIt.h' file not found
which causes the next error:
/.../platforms/ios/appname/Plugins/cordova-plugin-googlemaps/GoogleMaps.h:10:9: Could not build module 'GoogleMaps'
This is the maps plugin tag at config.xml:
...ANSWER
Answered 2017-Jun-06 at 13:53It sounds like your error may be similar to the one mentioned at this answer.
Try it and report back!
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cordova-plugin-googlemaps
GOOGLE_MAPS_PLAY_SERVICES_VERSION = (16.0.1) The Google Play Services SDK version. You need to specify the same version number with all other plugins. Check out the latest version here.
GOOGLE_MAPS_PLAY_SERVICES_VERSION = (16.0.1) The Google Play Services SDK version. You need to specify the same version number with all other plugins. Check out the latest version here.
ANDROID_SUPPORT_V4_VERSION = (27.1.1) This plugin requires the Android support library v4. The minimum version is 24.1.0. Check out the latest version here.
LOCATION_WHEN_IN_USE_DESCRIPTION This message is displayed when your application requests LOCATION PERMISSION for only necessary times.
LOCATION_ALWAYS_USAGE_DESCRIPTION This message is displayed when your application requests LOCATION PERMISSION for always.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page