GithubHelp home page GithubHelp logo

version conflict? about user_location_plugin HOT 5 CLOSED

igaurab avatar igaurab commented on August 30, 2024
version conflict?

from user_location_plugin.

Comments (5)

xni06 avatar xni06 commented on August 30, 2024

Can you try the following please in your pubspec.yaml? Thanks

  user_location:
    # path: ../user_location_plugin
    git:
      url: "https://github.com/igaurab/user_location_plugin.git"
      ref: "d7e1cbe2e01ad3de320b36570f7a3cf9624f7433"

from user_location_plugin.

paapu88 avatar paapu88 commented on August 30, 2024

Thanks for a quick reply, bur with your suggested modification I get now:

flutter run
Because every version of user_location from git depends on flutter_map ^0.8.2 and loyda_suomi depends on flutter_map ^0.9.0, user_location from git is forbidden.
So, because loyda_suomi depends on user_location from git, version solving failed.
Running "flutter pub get" in loyda_suomi...
pub get failed (1; So, because loyda_suomi depends on user_location from git,
version solving failed.)

( I have basically been using a copy pasted version from flutter_map to have a special-coordinate system map, so I guess I should not be the onyl one with this issue...)

from user_location_plugin.

xni06 avatar xni06 commented on August 30, 2024

( I have basically been using a copy-pasted version from flutter_map to have a special-coordinate system map, so I guess I should not be the only one with this issue...)

What's loyda_suomi?

JFYI, these are my dependencies that work OK at the moment:

environment:
  sdk: ">=2.2.2 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  android_intent: ^0.3.5+1
  built_collection: ^4.3.2
  built_value: ^7.0.9
  cached_network_image: ^2.0.0
  clustering_google_maps: ^0.1.2
  cupertino_icons: ^0.1.3
  data_connection_checker: ^0.3.4
  date_format: ^1.0.8
  drop_cap_text: ^1.0.7
  firebase_core: 0.4.4
  firebase_analytics: 5.0.11
  firebase_crashlytics: 0.1.3
  fluster: ^1.1.2
  flutter_appavailability:
    git:
      url: "https://github.com/pichillilorenzo/flutter_appavailability.git"
      ref: "a9e2fa38d8c9334c89d13c69c69db29030c926d5"
  flutter_bloc: ^1.0.0
  flutter_html: ^0.11.1
  flutter_map: ^0.8.2
  flutter_map_marker_cluster:
    git:
      url: "https://github.com/reaster/flutter_map_marker_cluster.git"
      ref: "9c2ca729290f7a95a36ae200e7a0a55d853078d0"
  get: ^1.11.1
  http: ^0.12.0+2
  hydrated_bloc: ^1.1.0
  image: ^2.1.4
  kiwi: ^0.2.0
  package_info: 0.4.0+13
  share: ^0.6.3+5
  shared_preferences: ^0.5.6
  sticky_headers: ^0.1.8+1
  super_tooltip: ^0.9.0
  url_launcher: ^5.4.2
  user_location:
    # path: ../user_location_plugin
    git:
      url: "https://github.com/igaurab/user_location_plugin.git"
      ref: "d7e1cbe2e01ad3de320b36570f7a3cf9624f7433"

from user_location_plugin.

paapu88 avatar paapu88 commented on August 30, 2024

Well, it seems I need flutter_map 0.9.0 , the reason is totally uclear to me
( I get flutter_map error :

Compiler message:
lib/pages/map_ant.dart:19:3: Error: Type 'Proj4Crs' not found.
Proj4Crs epsg3067CRS;

So it seems I have to do without user_location for a while...

Loyda Suomi is very simple map-app working only in finland (because the very accurate map I use is only avaiable in Finland: mapant.fi ) I'll put it to google play hopefully today (it good for Corona times...) I hope to continue to build it as a app to do orienteering races with gps-punching and database for results...

from user_location_plugin.

paapu88 avatar paapu88 commented on August 30, 2024

I now use geolocator instead of user_location. geolocator is working fine for me.

from user_location_plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.