UNPKG

react-native-permissions

Version:

An unified permissions API for React Native on iOS, Android and Windows

16 lines (15 loc) 542 B
"use strict"; const getUnsupportedError = (os, version) => new Error(`Only supported by ${os} ${version} and above`); export const canScheduleExactAlarms = async () => { throw getUnsupportedError('Android', 12); }; export const openPhotoPicker = async () => { throw getUnsupportedError('iOS', 14); }; export const requestLocationAccuracy = async () => { throw getUnsupportedError('iOS', 14); }; export const checkLocationAccuracy = async () => { throw getUnsupportedError('iOS', 14); }; //# sourceMappingURL=unsupportedMethods.js.map