Skip to content

Commit

Permalink
Merge pull request guyromb#8 from Creativekodes/master
Browse files Browse the repository at this point in the history
Added locations for iOS 10 (under privacy settings)
  • Loading branch information
guyromb committed Jul 14, 2017
2 parents 4b47430 + c82c497 commit 2c48895
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ios/NativeSettings.m
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ - (void)open:(CDVInvokedUrlCommand*)command
else if ([key isEqualToString:@"location"]) {
result = [self do_open:[prefix stringByAppendingString:@"root=LOCATION_SERVICES"]];
}
else if ([key isEqualToString:@"locations"]) {
result = [self do_open:[prefix stringByAppendingString:@"root=Privacy&path=LOCATION"]];
}
else if ([key isEqualToString:@"network"]) {
result = [self do_open:[prefix stringByAppendingString:@"root=General&path=Network"]];
}
Expand Down

0 comments on commit 2c48895

Please sign in to comment.