Before you continue
Before submitting a bug report, please review our troubleshooting documentation at Troubleshoot Issues | Vega Troubleshooting
If you still want to file a bug report, please make sure to fill in all the details below and provide the necessary information.
NOTE: PLEASE ONLY REPORT A SINGLE BUG USING THIS TEMPLATE.
If you’re experiencing multiple issues, please file a separate report for each.
After Vega App is installed running with Proxy, manual steps taken to not run the app without proxy
1. Summary
We have our app running inside a webView, and the first thing the ReactNative wrapper would do is to load the hosted URL.
We also have our proxy setup running with Charles proxy following these steps
The issue for us is, once we install our app running with Charles proxy, with proxyConfig.json. If on a subsequent launches, we wanted to run our app without making use of proxy, we will have to manually delete entire assets/raw folder, rebuild and reinstall the app.
Ask: is there a build flag or programmatic reactNative API, that can be used to turn off connecting to a proxy server. This way devs can decide whether to use proxy or not regardless of whether the app is built with assets/raw proxyConfig.
App Name:
App Link on Amazon Appstore (found through Developer Console → Actions column in App List → View on Amazon.com):
Bug Severity
Select one that applies
- Impacts operation of app
- Blocks current development
- Improvement suggestion
- Issue with documentation (If selected, please share the doc link and describe the issue)
- Other
2. Steps to Reproduce
- Build and install an app with assets/raw populated with proxyConfig and resources for connecting to Charles proxy
- if we do not want to use proxy, we are deleting the assets/raw folder. We then rebuild and reinstall, so the app does not auto connect to the proxy server
3. Observed Behavior
Explain what actually happened, noting any discrepancies or malfunctions.
Once you have assets/raw with proxyConfig. App always tries routing network calls through Charles proxy, whether you want to use the app with proxy or not.
4. Expected Behavior
Describe what you expected the SDK to do under normal operation.
Programmatic APIs or build flags to turn off proxying
4.a Possible Root Cause & Temporary Workaround
Fill out anything you have tried. If you don’t know, N/A is acceptable
We could save the proxyConfig and resources in a separate folder outside of assets/raw. We can then based on build flag, running with proxy would copy over the proxy configs into assets/raw. And if we wanted to run without proxy, we would delete the assets/raw.
6. Environment
Please fill out the fields related to your bug below:
-
SDK Version: Output of
kepler --version -
App State:
[Foreground/Background] -
OS Information
Please ssh into the device viakepler exec vda shelland copy the output fromcat /etc/os-releaseinto the answer section below. Note, if you don’t have a simulator running or device attachedkepler exec vda shellwill respond withvda: no devices/emulators foundSDK Version: 0.21.4726**
App State:** Foreground