sparrowcode / PermissionsKit

Universal API for request permission and get its statuses.
https://x.com/sparrowcode_ios
MIT License
5.64k stars 462 forks source link

permission button doesn't work for locationWhileInUse #51

Closed turk-jk closed 6 years ago

turk-jk commented 6 years ago

I'm not sure why, all other Permissions work just fine, but not for locatioWhileInUse

I have used this key in my info.list

NSLocationAlwaysAndWhenInUseUsageDescription

I tried all the other three, but same problem

in podFile platform :ios, '9.0' target 'weekend' do

use_frameworks!

pod 'Sparrow/Modules/RequestPermission', :git => 'https://github.com/IvanVorobei/Sparrow.git'

xcode 9.3 swift 4.3 iPhone 7 Plus, iOS 11.3

thanks

ivanvorobei commented 6 years ago

NSLocationWhenInUseUsageDescription NSLocationAlwaysUsageDescription NSLocationUsageDescription

key NSLocationAlwaysAndWhenInUseUsageDescription invalid

turk-jk commented 6 years ago

I have tried these too, the problem with them is as soon as I start the app it ask for location permission. any idea why ?

ivanvorobei commented 6 years ago

because you are request it create empty project and test