NativeScript / NativeScript/plugins
[@nativescript/google-signin] Tethered Device SignIn
オープン
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 206
- フォーク
- 123
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 1
説明
Not really a bug but didn't know the etiquette to share for other people who encounter this issue.
Calling GoogleSignin.signIn on a tethered device results in an error of Error: |presentingViewController| must be set.
Traced this to index.ios.js const keyWindow = UIApplication.sharedApplication.keyWindow; is null since I'm guessing my keyWindow actually is related to my physical keyboard.
Switched to an emulator and everything is fine.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
index.ios.js と、レポートに記載されている GoogleSignin.signIn の呼び出しから始め、その後、テザー接続した実機とエミュレーターでの動作を比較します。テザー接続した実機でサインインが「presentingViewController must be set」で失敗しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ios, typescript
- 領域
- mobile
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100