-
-
Notifications
You must be signed in to change notification settings - Fork 237
Expand file tree
/
Copy pathapp.plugin.d.ts
More file actions
23 lines (21 loc) · 850 Bytes
/
app.plugin.d.ts
File metadata and controls
23 lines (21 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import type { ConfigPlugin } from '@expo/config-plugins'
/** Options accepted by the `react-native-sensitive-info` Expo config plugin. */
export interface SensitiveInfoPluginProps {
/**
* Override for `NSFaceIDUsageDescription` injected into the iOS Info.plist.
*
* @defaultValue `"Authenticate to access your secure data."`
* @remarks Pass `null` to skip the modifier entirely (useful when another plugin owns the key).
* A user-set value in the source Info.plist is always preserved.
*/
readonly faceIDPermission?: string | null
/**
* When `false`, skips writing React Native New Architecture flags
* (`newArchEnabled`, `RCT_NEW_ARCH_ENABLED`).
*
* @defaultValue `true`
*/
readonly enableNewArchitecture?: boolean
}
declare const plugin: ConfigPlugin<SensitiveInfoPluginProps | undefined>
export default plugin