PermissionsAsker.h 637B

123456789101112131415161718192021222324252627
  1. //
  2. // PermissionsAsker.h
  3. // ReactNativePermissions
  4. //
  5. // Created by Yonah Forst on 07/07/16.
  6. // Copyright © 2016 Yonah Forst. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <UIKit/UIKit.h>
  10. #import "RCTConvert+RNPermissionsStatus.h"
  11. @interface PermissionsAsker : NSObject
  12. + (instancetype)sharedInstance;
  13. - (void)location:(NSString *)type;
  14. - (void)notification:(UIUserNotificationType)types completionHandler:(void (^)(RNPermissionsStatus))completionHandler;
  15. - (void)bluetooth;
  16. - (void)camera;
  17. - (void)microphone;
  18. - (void)photo;
  19. - (void)contacts;
  20. - (void)event;
  21. - (void)reminder;
  22. - (void)backgroundRefresh;
  23. @end