1- # Geolocation (Forked and fixed)
1+ # new_geolocation
22
3- [ ![ pub package] ( https://img.shields.io/pub/v/geolocation .svg )] ( https://pub.dartlang.org/packages/geolocation )
3+ [ ![ pub package] ( https://img.shields.io/pub/v/new_geolocation .svg )] ( https://pub.dartlang.org/packages/new_geolocation )
44
5- Flutter [ geolocation plugin] ( https://pub.dartlang.org/packages/geolocation / ) for Android API 16+ and iOS 9+.
5+ Flutter [ new_geolocation plugin] ( https://pub.dartlang.org/packages/new_geolocation / ) for Android API 16+ and iOS 9+.
66
77Features:
88
@@ -21,7 +21,7 @@ The plugin is under active development and the following features are planned so
2121
2222Android | iOS
2323:---: | :---:
24- ![ ] ( https://github.com/loup-v/geolocation /blob/master/doc/android_screenshot.jpg?raw=true ) | ![ ] ( https://github.com/loup-v/geolocation /blob/master/doc/ios_screenshot.jpg?raw=true )
24+ ![ ] ( https://github.com/alfanhui/new_geolocation /blob/master/doc/android_screenshot.jpg?raw=true ) | ![ ] ( https://github.com/alfanhui/new_geolocation /blob/master/doc/ios_screenshot.jpg?raw=true )
2525
2626
2727## Installation
@@ -30,15 +30,30 @@ Add geolocation to your pubspec.yaml:
3030
3131``` yaml
3232dependencies :
33- geolocation :
33+ new_geolocation :
3434 git :
35- url : https://github.com/shehabic/geolocation
35+ url : https://github.com/alfanhui/new_geolocation
36+ ` ` `
37+
38+ ## Import
39+
40+ Package is called new_geolocation, with Geolocation being the base class.
41+
42+ ` ` ` dart
43+ import 'package:new_geolocation/geolocation.dart';
3644```
3745
3846** Note:** There is a known issue for integrating swift written plugin into Flutter project created with Objective-C template.
3947See issue [ Flutter #16049 ] ( https://github.com/flutter/flutter/issues/16049 ) for help on integration.
4048
4149
50+ ### AndroidX Requirement
51+ You may need to updated your '/android/gradle.properties' to include use of AndroidX.
52+ ```
53+ android.useAndroidX=true
54+ android.enableJetifier=true
55+ ```
56+
4257### Permission
4358
4459Android and iOS require to declare the location permission in a configuration file.
@@ -241,6 +256,7 @@ You can contact us at <hello@intheloup.io>
241256* shehabic-work
242257* Abgaryan
243258* shehabic
259+ * alfanhui
244260
245261## License
246262
0 commit comments