You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug - The camera loads while the user is on the camera screen
Description
After entering the camera screen (where you take a picture of a document or a selfie) there are a few moments until the camera loads and appear on the screen. In the meanwhile, the user sees a grey screen.
This causes two problems:
The experience looks buggy and increases anxiety.
If the user clicks the camera button before the camera loads the flow will proceed to the next step, without an image taken.
Has the bug been reported before
No.
Expected Behaviour
After giving permission to use the camera and right before entering any camera screen, hold the flow on the current screen the user is in and put a loader for until the camera loads and the flow can proceed.
Once the camera has loaded, enter the camera screen.
Actual Behaviour
The user enters the camera screen and sees a blank page where the camera content should be presented, with UI on top of it.
Only once the camera has been loaded it appears on the screen.
Environment
All environments
Steps to Reproduce
Enter the flow
Choose a document to upload
Approve camera permissions
Enter the camera screen
See the blank background
Once the camera loads it will show up
Any possible solutions
Use the loader that exists in Ballerine's flow: sdks/web-sdk/src/lib/atoms/Loader/Loader.svelte
Change the text on the loader to be: "Initiating camera"
Definition of done
Enter the flow
Choose a document to upload
Approve camera permissions
See a loader
Enter the camera screen when the camera is already running
The text was updated successfully, but these errors were encountered:
Hey @TzlilSwimmer123, Thanks for your interest in contributing!
I'll assign this issue to you, it will be best if we talk about the details in our slack/discord community channels. we can give you all the necessary context and brainstorm about the implementation :)
* feat: show loader until camera loads
fix#69
* fix: add loader to Selfie and DocumentPhotoBack also
* fix(photo-steps): add loader element to all themes and photo steps
Co-authored-by: teselil <tzlil@datree.com>
Co-authored-by: Alon Peretz <alonp99@gmail.com>
Subject
Bug - The camera loads while the user is on the camera screen
Description
After entering the camera screen (where you take a picture of a document or a selfie) there are a few moments until the camera loads and appear on the screen. In the meanwhile, the user sees a grey screen.
This causes two problems:
Has the bug been reported before
No.
Expected Behaviour
After giving permission to use the camera and right before entering any camera screen, hold the flow on the current screen the user is in and put a loader for until the camera loads and the flow can proceed.
Once the camera has loaded, enter the camera screen.
Actual Behaviour
The user enters the camera screen and sees a blank page where the camera content should be presented, with UI on top of it.
Only once the camera has been loaded it appears on the screen.
Environment
Steps to Reproduce
Any possible solutions
Use the loader that exists in Ballerine's flow: sdks/web-sdk/src/lib/atoms/Loader/Loader.svelte
Change the text on the loader to be: "Initiating camera"
Definition of done
The text was updated successfully, but these errors were encountered: