Skip to content

Commit

Permalink
fixed prefer_relative_imports and fixed pubspec.yaml version solving …
Browse files Browse the repository at this point in the history
…failed
  • Loading branch information
Sempakonka committed Nov 24, 2020
1 parent 5cf7d0d commit 4b2695b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions geolocator/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion geolocator_platform_interface/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
<details>
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
///
Expand Down
2 changes: 1 addition & 1 deletion geolocator_platform_interface/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4b2695b

Please sign in to comment.