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

docs(troubleshooting): suggest double-checking NetworkSecurityConfig if app won't load #4498

Merged
merged 1 commit into from
May 30, 2024

Conversation

ace-n
Copy link
Contributor

@ace-n ace-n commented May 25, 2024

Description

This page provides a very helpful list of reasons why a Detox app might not load.

However, I managed to run into a new one! 😨


Thanks to an errant git command, I mistakenly removed my network_security_config.xml file and the reference to it in AndroidManifest.xml. In the process, the app I was testing stopped loading on my physical Android device.

I confirmed this was the root cause by:

  1. trying lots of other things that didn't work 🙃
  2. restoring my Network Security Config
  3. confirming that my app launched as expected 🎉

I thought I'd add this scenario to the list mentioned above, lest somebody else fall down the same rabbit hole. 🙂

@ace-n ace-n requested a review from d4vidi as a code owner May 25, 2024 03:54
Copy link
Contributor

@asafkorem asafkorem left a comment

Choose a reason for hiding this comment

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

Hey @ace-n, thanks. LGTM.

@asafkorem asafkorem merged commit 5d75d2c into wix:master May 30, 2024
5 checks passed
@ace-n ace-n deleted the patch-1 branch June 15, 2024 10:12
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.

2 participants