How to use the VPN tunnel in TypeScript in Outline Android app? #2504
Unanswered
emohandesi
asked this question in
Q&A
Replies: 0 comments 2 replies
-
Please move to outline-apps. @jyyi1 Perhaps we should enable the discussions there! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use the tunnel in TypeScript part of the Android Outline code, but I see that it does not use the tunnel. Instead, it makes a direct connection. Is there a specific method I should use to use the tunnel in TypeScript?
The following is what I have done.
I have made the following change in the code which fetches my webhook whenever an Outline key is renamed. When the Outline app is connected to the VPN, all connections that are made from anything on the device use the proxy and wherever I fetch my webhook I see the VPN server's IP, except in the Outline's TypeScript. It seems that it is configured in a way that does not use the system-wide proxy and makes connections directly. I tried to use the agent property of the fetch function, but the agent property is not supported here.
Beta Was this translation helpful? Give feedback.
All reactions