react-native-permissions
Version:
An unified permissions API for React Native on iOS, Android and Windows
19 lines (18 loc) • 641 B
JavaScript
const getUnsupportedError = (os, version) => new Error(`Only supported by ${os} ${version} and above`);
export const canScheduleExactAlarms = async () => {
throw getUnsupportedError('Android', 12);
};
export const canUseFullScreenIntent = async () => {
throw getUnsupportedError('Android', 14);
};
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
;