@sendbird/uikit-react-native
Version:
Sendbird UIKit for React Native: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.
18 lines (17 loc) • 535 B
JavaScript
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 || limitedCallback();
return true;
}
return false;
});
};
var _default = exports.default = nativePermissionGranted;
//# sourceMappingURL=nativePermissionGranted.js.map
;