zakkhoyt / VWWPermissionKit

A visual permission manager for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Detect exclusion of Info.plist entries

zakkhoyt opened this issue · comments

For example. in coreLocation if the previous and new status are both Not determined, then it's likely that the app dev forgot to add NSLocationAlwaysUsageDescription | NSLocationWhenInUseUsageDescription

Info.plist entries can be queried at runtime like so:
NSString *executable = [bundle objectForInfoDictionaryKey:(NSString *)kCFBundleExecutableKey];

For each permission that the client uses, check if this is defined and log a warning to the console if not