| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

差分

ナビゲーションに移動 検索に移動
1,325 バイト追加 、 2021年10月17日 (日) 05:33
| [[Dart]] | [[Flutter]] | [https://www.typea.info/blog/index.php/category/flutter/ ブログカテゴリ(Flutter)] | [[Android Studio]] | [[Flutter macos]] | [[Flutter 手順]] | [[Flutter Riverpod]] |
==FlutterFire==
*https://firebase.flutter.dev/
===Overview===----*[https://firebase.flutter.dev/ 対応状況]*[https://firebase.flutter.dev/docs/overview/ はじめに] 
=== Firebase CLI===
----
$ flutter pub get
</pre>
===Platformセットアップ===
----
====[https://firebase.flutter.dev/docs/installation/web Web]====
----
 
====[https://firebase.flutter.dev/docs/installation/android Android]====
----
----
https://firebase.google.com/docs/ios/setup
=====GoogleService-Info.plist 追加=====
----
# FirebaseでiOSアプリを登録
# FirebaseアプリのGoogleService-Info.plistファイルをダウンロード
# ios/Runner.xcworkspace をxcodeで開く
# Xcode内の左側のプロジェクト・ナビゲーションから「Runner」を右クリックし「Add files」を選択
# "Copy items if needed" を有効にして、GoogleService-Info.plistファイルを取り込む
[[File:ios_flutter_fire.png|500px]]
platform :osx, '10.12'
</pre>
 
====Windows====
----
*C++によるデスクトップ開発のインストール
[[File:flutter_win.png|500px]]
====[https://firebase.flutter.dev/docs/installation/web Web]====
----
*[https://flutter.dev/web Web Support for Flutter]
=====Debug=====
[https://www.typea.info/blog/index.php/2021/08/04/mac_edge_flutter_debug/ MacのEdgeでFlutterのデバッグをする]
===初期化===
Successfully switched to flutter channel 'stable'.
To ensure that you're on the latest build from this channel, run 'flutter upgrade'
</pre>
*確認
<pre>
$ flutter channel
Flutter channels:
master
dev
beta
* stable
</pre>
platform :osx, '10.12'
</pre>
 
===[https://firebase.google.com/docs/auth/web/auth-state-persistence?hl=ja 認証の永続性]===
----
*[https://firebase.google.com/docs/auth/web/auth-state-persistence?hl=ja 認証の永続性]
===Google===
*[https://console.firebase.google.com/project/_/authentication/providers Firebase コンソール] で Googleサインインプロバイダーを有効化
*[https://pub.dev/packages/google_sign_in google_sign_in]
====iOS====
*ios/Runner/info.plist
<pre>
<!-- Put me in the [my_project]/ios/Runner/Info.plist file -->
<!-- TODO Replace this value: -->
<!-- Copied from GoogleService-Info.plist key REVERSED_CLIENT_ID -->
<string>com.googleusercontent.apps.861823949799{GoogleService-vc35cprkp249096uujjn0vvnmcvjppknInfo.plist から、この部分を取得する}</string>
</array>
</dict>

案内メニュー