UNPKG

@gathertown/uikit-react-native

Version:

Sendbird UIKit for React Native: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.

19 lines (18 loc) 553 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; const nativePermissionGranted = (stats, limitedCallback) => { return Object.values(stats).every(result => { if (result === 'granted') return true; if (result === 'limited') { limitedCallback === null || limitedCallback === void 0 ? void 0 : limitedCallback(); return true; } return false; }); }; var _default = nativePermissionGranted; exports.default = _default; //# sourceMappingURL=nativePermissionGranted.js.map