Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

iOS PermissionLevel enum wrong #6

Closed
alpha-se opened this issue Apr 29, 2019 · 2 comments
Closed

iOS PermissionLevel enum wrong #6

alpha-se opened this issue Apr 29, 2019 · 2 comments

Comments

@alpha-se
Copy link

The permission level enum is mixed up:
iOS:
typedef NS_ENUM(int, PermissionLevel) {
PermissionLevelLocation = 0,
PermissionLevelLocationAlways, # == 1
PermissionLevelLocationWhenInUse, # == 2
};

dart:
enum LocationPermissionLevel {
location, # == 0
locationWhenInUse, # == 1
locationAlways, # == 2
}

yunyu added a commit to yunyu/flutter-permission-plugins that referenced this issue May 2, 2019
@yunyu
Copy link
Contributor

yunyu commented May 6, 2019

@mvanbeusekom Would you mind releasing a new version of location_permissions to pub (along with a new version of geolocator which incorporates the updated dependency)?

@mvanbeusekom
Copy link
Member

@alpha-se, @yunyu, we released new versions of the plugins yesterday:

  • location_permissions: 2.0.1
  • geolocator: 4.0.3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants