ondato-expo-config-plugin
v1.0.12
Published
An expo config plugin that allows you to add ondato sdk to your expo based react native project
Downloads
30
Maintainers
Readme
About the Package
This package compliments the official ondato react native sdk by adding support for expo based projects.
To install the pluginnpx expo install ondato-expo-config-plugin
Usage
- Add the plugin to your app.json's plugins array as such
plugins: [
"ondato-expo-config-plugin",
]
Styling & Customizations
For IOS Styling, follow the official ondato docs
To customize the color scheme on android use the following format
plugins: [
...
[
"ondato-expo-config-plugin",
{
ondatoColorPrimaryDark: "#eee"
}
]
...
]```
## Available customization options
| Option Name | Default Value |
|--------------------------------------------|---------------|
| ondatoColorPrimaryDark | "#fd5a28" |
| ondatoColorPrimary | "#fd5a28" |
| ondatoColorAccent | "#FF5A28" |
| ondatoTextColor | "#000000" |
| ondatoSecondaryTextColor | "#244D50" |
| ondatoColorButton | "#fd5a28" |
| ondatoColorButtonFocusedStart | "#fd5a28" |
| ondatoColorButtonFocusedCenter | "#FF8000" |
| ondatoColorButtonFocusedEnd | "#FF9700" |
| ondatoColorButtonText | "#ffffff" |
| ondatoOutlinedButtonColor | "#fd5a28" |
| ondatoOutlinedButtonTextColor | "#fd5a28" |
| ondatoColorBackground | "#ffffff" |
| ondatoIconColor | "#fd5a28" |
| ondatoActiveLivenessOvalProgressColor | "#FF5A28" |
| ondatoActiveLivenessOvalProgressColorSecondary | "#FF5A28" |
| ondatoActiveLivenessResultActivityIndicatorColor | "#FF5A28" |
| ondatoActiveLivenessResultAnimationBackgroundColor | "#FF5A28" |
| ondatoActiveLivenessResultUploadProgressColor | "#FF5A28" |
| ondatoActiveLivenessResultAnimationForegroundColor | "#FF5A28" |
| ondatoActiveLivenessResultUploadProgressTrackColor | "#FF5A28" |
| ondatoActiveLivenessResultForegroundColor | "#FF5A28" |
| ondatoActiveLivenessCameraFilter | "#fff" |
| ondatoDisabledButtonColor | "#FAB2A5" |
| ondatoHighlightButtonColor | "#b02e16" |
| ondatoColorErrorBg | "#fd5a28" |
| ondatoColorErrorText | "#ffffff" |
| ondatoColorSeparatorColor | "#e5e6e7" |
| ondatoColorAlmostTransparent | "#70ffffff" |
| ondatoColorAlmostTransparent2 | "#CCFFFFFF" |
| ondatoColorLanguagesBorder | "#E2E2E2" |
| ondatoColorCameraFilter | "#65000000" |
| ondatoInputTextBorderColor | "#808080" |