Instructions
- The SDK can show an animation to help position a document correctly.
Show/hide the help animation:
DocumentReader.setConfig({
customization: {
showHelpAnimation: true
},
}, (str) => { console.log(str) }, (error) => { console.log(error) });
- You can add an image for the help animation. If not set, the default image is used:
DocumentReader.setConfig({
customization: {
helpAnimationImage: "Base64String"
},
}, (str) => { console.log(str) }, (error) => { console.log(error) });
- Change the content mode of the help animation image:
DocumentReader.setConfig({
customization: {
helpAnimationImageContentMode: UIViewContentMode.ScaleAspectFit
},
}, (str) => { console.log(str) }, (error) => { console.log(error) });