Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert Change that Didnt Fix Blackscreen #10332

Merged
merged 4 commits into from
Apr 23, 2024
Merged

Conversation

charleyf
Copy link
Contributor

@charleyf charleyf commented Mar 28, 2024

🛠 Summary of changes

This PR rolls back the changes here because they didn't fix the blackscreen issue.

@charleyf charleyf marked this pull request as draft March 28, 2024 17:24
@@ -513,15 +513,11 @@ function AcuantCapture(

function onSelfieCaptureOpen() {
trackEvent('idv_sdk_selfie_image_capture_opened', { captureAttempts });

setImageCaptureText('');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not actually removing this, it's just moving into the acuant-selfie-camera onOpened function

setIsCapturingEnvironment(true);
}

function onSelfieCaptureClosed() {
trackEvent('idv_sdk_selfie_image_capture_closed_without_photo', { captureAttempts });

setImageCaptureText('');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not actually removing this, it's just moving into the acuant-selfie-camera onClosed function

@@ -110,6 +112,7 @@ function AcuantSelfieCamera({
},
onPhotoTaken: () => {
// The photo has been taken and it's showing a preview with a button to accept or retake the image.
onImageCaptureFeedback('');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is getting added back, removed in the earlier PR.

@charleyf charleyf marked this pull request as ready for review April 11, 2024 14:43
@dawei-nava
Copy link
Contributor

Not sure what does following meant? @charleyf

 It also adds an announcement (via hint text) when the selfie is captured.

Copy link
Contributor Author

@charleyf charleyf Apr 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what does following meant? @charleyf

It also adds an announcement (via hint text) when the selfie is captured.

@dawei-nava This is a leftover sentence that no longer reflects what I'm doing in the PR. Removed! Thanks

Copy link
Contributor

@dawei-nava dawei-nava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Tested selfie function on mobile, got hint texts, though not updated as fast as idea, but I think that's with the SDK.

Copy link
Contributor

@night-jellyfish night-jellyfish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and saw the same as Dawei. Hint text is there! It is slow but I think that is the case in main right now.

@charleyf charleyf changed the title Revert Change that Didnt Fix Blackscreen and Inform User When Selfie Captures Revert Change that Didnt Fix Blackscreen Apr 23, 2024
@charleyf charleyf merged commit d488abe into main Apr 23, 2024
2 checks passed
@charleyf charleyf deleted the charley/add-back-hint-text branch April 23, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants