From 4b2695b92ccc0dd0cb0f57a77f2f1fb8756c5435 Mon Sep 17 00:00:00 2001 From: Sempakonka <47318358+Sempakonka@users.noreply.github.com> Date: Tue, 24 Nov 2020 12:22:16 +0100 Subject: [PATCH] fixed prefer_relative_imports and fixed pubspec.yaml version solving failed --- geolocator/pubspec.yaml | 7 +++++-- geolocator_platform_interface/README.md | 2 +- .../lib/src/geolocator_platform_interface.dart | 2 +- geolocator_platform_interface/pubspec.yaml | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/geolocator/pubspec.yaml b/geolocator/pubspec.yaml index 07c0a091b..9d8b8bed3 100644 --- a/geolocator/pubspec.yaml +++ b/geolocator/pubspec.yaml @@ -2,6 +2,7 @@ name: geolocator description: Geolocation plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API for generic location (GPS etc.) functions. version: 6.1.8 homepage: https://github.com/Baseflow/flutter-geolocator/tree/master/geolocator +publish_to: none environment: sdk: ">=2.7.0 <3.0.0" @@ -10,8 +11,10 @@ environment: dependencies: flutter: sdk: flutter - - geolocator_platform_interface: ^1.0.9 + + # TODO: replace with pub.dev version once geolocator_platform_interface is published + geolocator_platform_interface: + path: ../geolocator_platform_interface dev_dependencies: flutter_test: diff --git a/geolocator_platform_interface/README.md b/geolocator_platform_interface/README.md index fac54ce93..8f79c1109 100644 --- a/geolocator_platform_interface/README.md +++ b/geolocator_platform_interface/README.md @@ -23,7 +23,7 @@ To use this plugin, add `geolocator` as a [dependency in your pubspec.yaml file] ```yaml dependencies: - geolocator: ^6.1.8 + geolocator: ^6.1.9 ```
diff --git a/geolocator_platform_interface/lib/src/geolocator_platform_interface.dart b/geolocator_platform_interface/lib/src/geolocator_platform_interface.dart index 50af2938a..e5acdd53c 100644 --- a/geolocator_platform_interface/lib/src/geolocator_platform_interface.dart +++ b/geolocator_platform_interface/lib/src/geolocator_platform_interface.dart @@ -1,13 +1,13 @@ import 'dart:async'; import 'dart:math'; -import 'package:geolocator_platform_interface/src/models/nmea_message.dart'; import 'package:plugin_platform_interface/plugin_platform_interface.dart'; import 'package:vector_math/vector_math.dart'; import 'enums/enums.dart'; import 'implementations/method_channel_geolocator.dart'; import 'models/models.dart'; +import 'models/nmea_message.dart'; /// The interface that implementations of geolocator must implement. /// diff --git a/geolocator_platform_interface/pubspec.yaml b/geolocator_platform_interface/pubspec.yaml index d3dd3f490..d67259273 100644 --- a/geolocator_platform_interface/pubspec.yaml +++ b/geolocator_platform_interface/pubspec.yaml @@ -3,7 +3,7 @@ description: A common platform interface for the geolocator plugin. homepage: https://github.com/baseflow/flutter-geolocator # NOTE: We strongly prefer non-breaking changes, even at the expense of a # less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes -version: 1.0.8 +version: 1.0.9 dependencies: flutter: