JLPermissions alternatives and similar libraries
Based on the "Permissions" category.
Alternatively, view JLPermissions alternatives based on common mentions on social networks and blogs.
-
PermissionScope
Intelligent iOS permissions UI and unified API (Supports Location, Notifications, Camera, Contacts, Calendar, Photos, Microphone, BT, Activity Monitoring, HealthKit and CloudKit). -
ClusterPrePermissions
Cluster's reusable pre-permissions utility that lets developers ask the users on their own dialog for photos or contacts access, before making the system-based request. This is based on the Medium post by Cluster describing the different ways to ask for iOS permissions (https://medium.com/p/96fa4eb54f2c). -
AREK
AREK is a clean and easy way to request any kind of iOS permission (with some nifty features 🤖) -
ICanHas
Simplifies iOS user permission requests (location, push notifications, camera, contacts, calendar, photos, etc).
WorkOS - The modern identity platform for B2B SaaS
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of JLPermissions or a related project?
README
JLPermissions
Requirements
iOS 8.0+
Installation
JLPermissions is available through CocoaPods, to install it simply add any or all of the following lines to your Podfile:
pod "JLPermissions/Calendar"
pod "JLPermissions/Camera"
pod "JLPermissions/Contacts"
pod "JLPermissions/Facebook"
pod "JLPermissions/Health"
pod "JLPermissions/Location"
pod "JLPermissions/Microphone"
pod "JLPermissions/Notification"
pod "JLPermissions/Photos"
pod "JLPermissions/Reminders"
pod "JLPermissions/Twitter"
Only add the pod for the permissions you plan on using. Apple rejects apps that include Healthkit API's but do not use them.
Usage
To run the example project; clone the repo, and run pod install
, then open JLPermissionsExample.xcworkspace.
The method for asking for each type of permission (other than push notifications) is virtually identical. Here is an example of the API:
typedef NS_ENUM(NSInteger, JLAuthorizationStatus) {
JLPermissionNotDetermined = 0,
JLPermissionDenied,
JLPermissionAuthorized
};
typedef void (^AuthorizationHandler)(bool granted, NSError *error);
- (JLAuthorizationStatus)authorizationStatus;
- (void)authorize:(AuthorizationHandler)completion;
- (void)authorizeWithTitle:(NSString *)messageTitle
message:(NSString *)message
cancelTitle:(NSString *)cancelTitle
grantTitle:(NSString *)grantTitle
completion:(AuthorizationHandler)completion;
- (void)displayErrorDialog;
License
JLPermissions is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the JLPermissions README section above
are relevant to that project's source code only.