0
0

More than 1 year has passed since last update.

Exception 'Your app is missing support for the following URL schemes: com.googleusercontent.apps.XXXXXX' was thrown while invoking signIn on target RNGoogleSignin with が出る場合

Last updated at Posted at 2023-04-05

【やりたいこと】
Firebaseでgoogleの認証APIを叩きたい。

【状況】
・以下のエラーが出る

Exception 'Your app is missing support for the following URL schemes: com.googleusercontent.apps.XXXXX' was thrown while invoking signIn on target RNGoogleSignin with params (

・解決策
①PROJECTNAME.xcworkspaceをXcodeで開く
②XCodeでプロジェクトの一番上のファイルを選択する。
③TARGETSで変更したい対象のファイルを指定。
④画面真ん中の上のInfoを選択
⑤URL TypesからURL Schemesでエラーが出た「com.googleusercontent.apps.XXXXX」を入力する
⑥エミュレーターを起動コマンドで起動し直す
⑦FirebaseのgoogleのAPIを叩くと、叩けるようになった。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0