ionic-team / ionic-native-google-maps

Google maps plugin for Ionic Native
Other
221 stars 125 forks source link

Is ionic-native-google-maps@4.21.0 compatible with cordova-plugin-googlemaps@2.7.1? #310

Open ulver2812 opened 4 years ago

ulver2812 commented 4 years ago

I'm submitting a ... (check one with "x")

If you choose 'problem or bug report', please select OS: (check one with "x")

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)

package.json

"dependencies": {
    "@angular/animations": "5.2.11",
    "@angular/common": "5.2.11",
    "@angular/compiler": "5.2.11",
    "@angular/compiler-cli": "5.2.11",
    "@angular/core": "5.2.11",
    "@angular/forms": "5.2.11",
    "@angular/platform-browser": "5.2.11",
    "@angular/platform-browser-dynamic": "5.2.11",
    "@ionic-native/core": "4.20.0",
    "@ionic-native/google-maps": "^4.21.0",
    "@ionic-native/in-app-browser": "^4.20.0",
    "@ionic-native/network": "^4.20.0",
    "@ionic-native/splash-screen": "4.20.0",
    "@ionic-native/status-bar": "4.20.0",
    "@ionic/storage": "2.2.0",
    "cordova-android": "8.1.0",
    "cordova-browser": "6.0.0",
    "cordova-ios": "^5.1.1",
    "cordova-plugin-fcm-with-dependecy-updated": "4.6.4",
    "cordova-plugin-googlemaps": "^2.6.2",
    "cordova-plugin-inappbrowser": "3.2.0",
    "cordova-plugin-ionic-webview": "^4.2.1",
    "cordova-plugin-network-information": "^2.0.2",
    "d3": "^5.15.0",
    "firebase": "^6.6.2",
    "ion2-calendar": "^2.2.0",
    "ionic-angular": "3.9.9",
    "ionicons": "^4.5.8",
    "moment": "^2.24.0",
    "rxjs": "5.5.11",
    "sugar": "^2.0.6",
    "sw-toolbox": "3.6.0",
    "zone.js": "0.8.29"
  },
  "devDependencies": {
    "@ionic/app-scripts": "3.2.4",
    "@ionic/lab": "2.0.18",
    "cordova-plugin-device": "^2.0.2",
    "cordova-plugin-ionic-keyboard": "^2.2.0",
    "cordova-plugin-splashscreen": "^5.0.2",
    "cordova-plugin-statusbar": "^2.4.2",
    "cordova-plugin-whitelist": "^1.3.3",
    "typescript": "2.6.2"
  },

Question: I'm using Ionic 3 on iOS 13.4.1, is ionic-native-google-maps@4.21.0 compatible with cordova-plugin-googlemaps@2.7.1?

wf9a5m75 commented 4 years ago

No longer support for ionic 3

ulver2812 commented 4 years ago

@wf9a5m75 Yes I know, I want to just understand if I can update to cordova-plugin-googlemaps@2.7.1 using ionic-native-google-maps@4.21.0 wrapper (because I can't use the 5.5.0 with ionic 3).

wf9a5m75 commented 4 years ago

I haven't tested it. So, I don't know. Sorry about that

mjamshidy commented 4 years ago

@ulver2812 Actually I've tried 5.5.0 with Ionic 3 and 2.7.1 and I could get it working on iOS. Not yet on Android though: Look here

antonmyrberg commented 3 years ago

@mjamshidy I've been out of luck trying to do the same. Could you share how you got it working? By installing those two I get new dependencies, most of which aren't compatible with Ionic 3. This leads to a complete crash of the Ionic App when serving & building. Would really appreciate some help if you have the time and remember how you got it working.

wf9a5m75 commented 3 years ago

No longer support for ionic 3

antonmyrberg commented 3 years ago

Thank you. I know - I'm stuck between a rock and a hard place. I just asked since the other commenter had sorted it out.

Thanks for maintaining this great plugin!

mjamshidy commented 3 years ago

@antonmyrberg I only got it working on iOS with Ionic 3. But, what I found is that the reason was probably conflicting plugins in Android. Try removing the plugins that you think might be conflicting one by one and then adding them again to find which one is causing that.

Here is my package.json

{ "name": "@...", "version": "0.2.2", "author": "...", "homepage": "http://www.....com/", "private": true, "scripts": { "start": "ionic-app-scripts serve", "startC": "ionic-app-scripts serve --address=0.0.0.0 --port 8100 --livereload-port 35729 --dev-logger-port 53703 --nobrowser --iscordovaserve --platform ios --target cordova", "live": "ionic cordova run ios -c -l -r=8100 --devapp --source-map --no-native-run -c -aot -- --device -- --debug", "clean": "ionic-app-scripts clean", "build": "ionic-app-scripts build", "lint": "ionic-app-scripts lint" }, "dependencies": { "@angular/animations": "7.2.15", "@angular/common": "7.2.15", "@angular/compiler": "7.2.15", "@angular/compiler-cli": "7.2.15", "@angular/core": "7.2.15", "@angular/fire": "^5.4.2", "@angular/forms": "7.2.15", "@angular/platform-browser": "7.2.15", "@angular/platform-browser-dynamic": "7.2.15", "@ionic-native/camera": "^5.25.0", "@ionic-native/core": "^5.25.0", "@ionic-native/date-picker": "^5.25.0", "@ionic-native/device": "^5.25.0", "@ionic-native/dialogs": "^5.25.0", "@ionic-native/facebook": "^5.25.0", "@ionic-native/fcm": "^5.26.0", "@ionic-native/firebase": "^5.25.0", "@ionic-native/google-maps": "^5.5.0", "@ionic-native/google-nearby": "^5.25.0", "@ionic-native/ionic-webview": "^5.25.0", "@ionic-native/keyboard": "^5.25.0", "@ionic-native/native-geocoder": "^5.25.0", "@ionic-native/native-page-transitions": "^5.25.0", "@ionic-native/native-storage": "^5.25.0", "@ionic-native/network": "^5.25.0", "@ionic-native/splash-screen": "^5.25.0", "@ionic-native/sqlite": "^5.25.0", "@ionic-native/status-bar": "^5.25.0", "@ionic-native/wheel-selector": "^5.25.0", "@ionic/storage": "2.2.0", "@ngx-translate/core": "^11.0.1", "@ngx-translate/http-loader": "^4.0.0", "@types/google-maps": "^3.2.1", "@types/googlemaps": "^3.39.4", "ajv": "^6.10.0", "angular": "^1.7.9", "angularfire2": "^5.4.2", "bson": "^4.0.2", "cordova-android": "^8.1.0", "cordova-browser": "^6.0.0", "cordova-common": "^4.0.0", "cordova-ios": "^5.1.1", "cordova-plugin-add-swift-support": "^2.0.2", "cordova-plugin-datepicker": "^0.9.3", "cordova-plugin-device": "^2.0.3", "cordova-plugin-dialogs": "^2.0.2", "cordova-plugin-facebook4": "^6.4.0", "cordova-plugin-fcm-with-dependecy-updated": "^6.3.1", "cordova-plugin-file": "^6.0.2", "cordova-plugin-file-transfer": "^1.7.1", "cordova-plugin-firebase": "2.0.5", "cordova-plugin-firebase-analytics": "^4.3.0", "cordova-plugin-firebase-crashlytics": "^1.0.0", "cordova-plugin-firebase-messaging": "^4.4.0", "cordova-plugin-firebasex": "9.1.1", "cordova-plugin-geolocation": "^4.0.2", "cordova-plugin-googlemaps": "^2.7.1", "cordova-plugin-ionic": "^5.4.7", "cordova-plugin-ionic-keyboard": "^2.2.0", "cordova-plugin-ionic-webview": "^4.2.1", "cordova-plugin-nativegeocoder": "^3.4.1", "cordova-plugin-nativestorage": "^2.3.2", "cordova-plugin-network-information": "^2.0.2", "cordova-plugin-splashscreen": "^5.0.3", "cordova-plugin-statusbar": "^2.4.3", "cordova-plugin-whitelist": "^1.3.4", "cordova-sqlite-storage": "^5.0.0", "cordova-support-android-plugin": "^1.0.2", "cordova-support-google-services": "^1.4.0", "cordova-wheel-selector-plugin": "^1.1.7", "date-fns": "^1.30.1", "firebase": "^7.14.2", "fsevents": "^1.2.9", "grpc": "^1.24.2", "hoek": "^6.1.3", "iod": "^1.1.1", "ionic-angular": "3.9.6", "ionic-plugin-deeplinks": "^1.0.20", "ionicons": "^3.0.0", "node-gyp": "^6.1.0", "node-pre-gyp": "^0.14.0", "node-sass": "^4.14.0", "phonegap-plugin-multidex": "^1.0.0", "rxjs": "^6.5.2", "rxjs-compat": "^6.5.2", "rxjs-tslint": "^0.1.7", "shelljs": "^0.5.3", "socket.io-client": "^2.2.0", "sshpk": "^1.16.1", "sw-toolbox": "3.6.0", "tough-cookie": "^2.5.0", "updates": "^8.1.0", "workbox-sw": "^4.3.1", "zone.js": "^0.8.29" }, "devDependencies": { "@ionic/app-scripts": "3.2.4", "@ionic/lab": "^3.1.4", "@types/socket.io-client": "^1.4.32", "typescript": "~3.2.4", "xcode": "^3.0.0" }, "description": "....", "cordova": { "plugins": { "cordova-plugin-whitelist": {}, "cordova-plugin-statusbar": {}, "cordova-plugin-device": {}, "cordova-plugin-splashscreen": {}, "cordova-plugin-ionic-keyboard": {}, "cordova-plugin-network-information": {}, "cordova-plugin-datepicker": {}, "cordova-plugin-geolocation": {}, "cordova-sqlite-storage": {}, "cordova-wheel-selector-plugin": {}, "cordova-plugin-add-swift-support": {}, "cordova-plugin-nativegeocoder": { "LOCATION_WHEN_IN_USE_DESCRIPTION": "Use geocoder service" }, "cordova-plugin-nativestorage": {}, "cordova-plugin-facebook4": { "APP_ID": "...", "APP_NAME": "...", "FACEBOOK_HYBRID_APP_EVENTS": "false", "FACEBOOK_ANDROID_SDK_VERSION": "5.0.2" }, "cordova-plugin-dialogs": {}, "cordova-plugin-ionic-webview": { "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+" }, "cordova-plugin-googlemaps": { "PLAY_SERVICES_VERSION": "15.0.1", "ANDROID_SUPPORT_V4_VERSION": "27.+", "LOCATION_WHEN_IN_USE_DESCRIPTION": "This app wants to get your location while this app runs only.", "LOCATION_ALWAYS_USAGE_DESCRIPTION": "This app wants to get your location always, even this app runs in background." }, "cordova-plugin-fcm-with-dependecy-updated": {} }, "platforms": [ "android", "ios" ] } }