support for location permissions
Merge pull request #3 from gekitz/master

support for location permissions