NativeScript / NativeScript/nativescript-cli
Add --proxy option to enable the network proxy for the http requests in the android emulator.
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
説明
Is your feature request related to a problem? Please describe.
Currently, I couldn't set a network proxy for the http requests in the android emulator. I noticed that avd has this option but tns doesnt. And I did all the searching in the documents and stackoverflow and still didnt find one. Currently I am on a project that have to request facebook's api, but I am in China, I cant access those api with proxy in the android emulator, so I am stuck on it now.
Describe the solution you'd like
Add --proxy option to enable the network proxy for the http requests in the android emulator like avd -http-proxy did.
Describe alternatives you've considered
I think --proxy is the most straightforward solution, or u could add some additional file in the project to have this function.
Additional context
I think its a key function, for users in mainland China, without proxy or vpn, they cant access public api from Twitter or Facebook, so please add this function ASAP, thanks.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Android エミュレーターの起動経路と CLI に既存のオプション解析を追跡し、要求されている --proxy の動作と avd -http-proxy を基準にします。CLI がそのオプションを受け付け、エミュレーターの HTTP プロキシ設定に渡し、プロキシ経由のエミュレーターのリクエストで検証できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, javascript
- 領域
- cli, mobile, networking
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100