Skip to content

Commit

Permalink
[Geolocation] Fix linter issues
Browse files Browse the repository at this point in the history
[Geolocation] Fix linter issues
  • Loading branch information
yatchoi committed Jul 23, 2017
1 parent 0d424a4 commit 92f4db7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Libraries/Geolocation/Geolocation.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ type GeoOptions = {
*
*/
var Geolocation = {

IOS_AUTHORIZATIONS: Object = {
WHEN_IN_USE: 'locationAuthorizationWhenInUse',
ALWAYS: 'locationAuthorizationAlways',
},
/*
* Request suitable Location permission based on the key configured on pList.
* If NSLocationAlwaysUsageDescription is set, it will request Always authorization,
Expand Down Expand Up @@ -187,8 +190,4 @@ var Geolocation = {
}
};

Geolocation.IOS_AUTHORIZATIONS = {};
Geolocation.IOS_AUTHORIZATIONS.WHEN_IN_USE = "locationAuthorizationWhenInUse";
Geolocation.IOS_AUTHORIZATIONS.ALWAYS = "locationAuthorizationAlways";

module.exports = Geolocation;

0 comments on commit 92f4db7

Please sign in to comment.