-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Detox test fails to install and launch if Samsung Secure Folder is enabled #4396
Comments
ericswpark
added a commit
to ericswpark/Detox
that referenced
this issue
Mar 24, 2024
Fixes wix#4396 This hardcodes the user ID of 0 when fetching the package list on Android, otherwise it will fail on devices that have multiple users (devices with the work profile or Samsung Secure Folder (Knox) enabled).
2 tasks
ericswpark
added a commit
to ericswpark/Detox
that referenced
this issue
Mar 26, 2024
Fixes wix#4396 This hardcodes the user ID of 0 when fetching the package list on Android, otherwise it will fail on devices that have multiple users (devices with the work profile or Samsung Secure Folder (Knox) enabled).
ericswpark
added a commit
to Purdue-CS307-tsundoku/tsundoku
that referenced
this issue
Mar 29, 2024
See issue wix/Detox#4396 for more info PR of this patch available at wix/Detox#4421 Remove this patch once the PR is merged or an alternative fix is applied!
ericswpark
added a commit
to ericswpark/Detox
that referenced
this issue
Apr 17, 2024
Fixes wix#4396 This hardcodes the user ID of 0 when fetching the package list on Android, otherwise it will fail on devices that have multiple users (devices with the work profile or Samsung Secure Folder (Knox) enabled).
ericswpark
added a commit
to ericswpark/Detox
that referenced
this issue
Jan 22, 2025
Fixes wix#4396 This hardcodes the user ID of 0 when fetching the package list on Android, otherwise it will fail on devices that have multiple users (devices with the work profile or Samsung Secure Folder (Knox) enabled).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! For more information on bots in this repository, read this discussion. |
Still an issue I believe, do not close |
ericswpark
added a commit
to ericswpark/Detox
that referenced
this issue
Feb 25, 2025
Fixes wix#4396 This hardcodes the user ID of 0 when fetching the package list on Android, otherwise it will fail on devices that have multiple users (devices with the work profile or Samsung Secure Folder (Knox) enabled).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
If Samsung Secure Folder is enabled, a new user with id
150
is created, which makes certainadb
invocations fail.What was the expected behaviour?
Detox should use the default user ID of
0
when running ADB commands.Was it tested on latest Detox?
Did your test throw out a timeout?
Help us reproduce this issue!
In what environment did this happen?
Detox version: 20.18.4
React Native version: 0.73.4
Has Fabric (React Native's new rendering system) enabled: (yes/no) N/A
Node version: v21.6.1
Device model: Samsung Galaxy Z Fold5
Android version: 14
Test-runner (select one): jest
Detox logs
Detox logs
Device logs
Device logs
N/A
More data, please!
Also see:
The text was updated successfully, but these errors were encountered: