You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import Obscure from 'react-native-obscure';
|
|
|
|
import { Platform } from 'react-native';
|
|
|
|
const PrivacySnapshot = require('react-native-privacy-snapshot');
|
|
|
|
|
|
|
|
export default class Privacy {
|
|
|
|
static enableBlur() {
|
|
|
|
Platform.OS === 'android' ? Obscure.activateObscure() : PrivacySnapshot.enabled(true);
|
|
|
|
}
|
|
|
|
|
|
|
|
static disableBlur() {
|
|
|
|
Platform.OS === 'android' ? Obscure.deactivateObscure() : PrivacySnapshot.enabled(false);
|
|
|
|
}
|
|
|
|
}
|