Optional
additionalAdditional info or reasoning to show (Ex: "Please allow APP_NAME to access your photos when you are prompted.")
Text to show for cancel action (usually "Cancel" or similar)
Optional
componentDirect props to set on the React Native component (including iOS and Android specific props). Most use cases should not need this.
Text to show for primary action (usually "Continue" or similar)
Optional
customCustom image (override type image)
Optional
imageCustom image styles
Reasoning for needing permission (Ex: "In order for us to retrieve the content you intend to upload, we will need access to your photos. This will be used for upload purposes only.")
Callback when flow finishes. Returns success variable indicating if user accepted or refused to move forward with permission flow
Optional
style?: StyleProp<ViewStyle>Style to set on the item
Title for view (usually "Grant access" or similar)
Optional
type?: "files" | "camera" | "notifications" | "location"The type of permission. This will prefill image and style. You can override image for any other custom cases and leave this undefined.
Generated using TypeDoc
Props for GrantPermission component