この文書の現在のバージョンと選択したバージョンの差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| 
                    ionicとfirebaseでチャットアプリ [2018/06/14] adash333 [ソースコード2]  | 
                
                    ionicとfirebaseでチャットアプリ [2018/10/07] (現在) | 
            ||
|---|---|---|---|
| ライン 16: | ライン 16: | ||
| ===== ソースコード1 ===== | ===== ソースコード1 ===== | ||
| + | @s_kozake | ||
| + | 2018年08月03日に更新 | ||
| + | Ionic 4とFirebaseでチャットアプリ\\ | ||
| + | https://qiita.com/s_kozake/items/6c7a0cec75c957606a33 | ||
| + | |||
| + | こちらのサイトが日本語でとてもわかりやすいです! | ||
| + | |||
| https://github.com/didinj/ionic3-angular5-firebase-simple-chat\\ | https://github.com/didinj/ionic3-angular5-firebase-simple-chat\\ | ||
| ライン 29: | ライン 36: | ||
| 上記サイトをIonicで写経してみました。下記にリンクを記載しますので、もしよろしければご覧下さい。その都度のソースコードもGitHubにアップロードしました。 | 上記サイトをIonicで写経してみました。下記にリンクを記載しますので、もしよろしければご覧下さい。その都度のソースコードもGitHubにアップロードしました。 | ||
| - | [[http://twosquirrel.mints.ne.jp/?p=23705|Ionic+Firebaseでパスワード制限つきチャットアプリ(1)]] | + | https://github.com/adash333/ionic3_firebase_chat2 | 
| - | + | ||
| - | [[http://twosquirrel.mints.ne.jp/?p=23749|Ionic+Firebaseでパスワード制限つきチャットアプリ(2)]] | + | |
| - | + | ||
| - | [[http://twosquirrel.mints.ne.jp/?p=23821|Ionic+Firebaseでパスワード制限つきチャットアプリ(3)AngularFire2を利用してIonicとfirebaseを接続]] | + | |
| - | + | ||
| - | [[http://twosquirrel.mints.ne.jp/?p=23919|Ionic+Firebaseでパスワード制限つきチャットアプリ(4)angularfire2@5.0.0-rc.4とfirebase@4.8.0でCRUD実装]] | + | |
| - | + | ||
| - | [[http://twosquirrel.mints.ne.jp/?p=23987|Ionic+Firebaseでパスワード制限つきチャットアプリ(5)navCtrl.push()でページ遷移]] | + | |
| - | + | ||
| - | [[http://twosquirrel.mints.ne.jp/?p=24052|Ionic+Firebaseでパスワード制限つきチャットアプリ(6)RxJSを用いてデータの受け渡し(うまくいかず)]] | + | |
| - | + | ||
| - | [[http://example.com|外部リンク]] | + | |
| + | -[[http://twosquirrel.mints.ne.jp/?p=23705|Ionic+Firebaseでパスワード制限つきチャットアプリ(1)]] | ||
| + | -[[http://twosquirrel.mints.ne.jp/?p=23749|Ionic+Firebaseでパスワード制限つきチャットアプリ(2)]] | ||
| + | -[[http://twosquirrel.mints.ne.jp/?p=23821|Ionic+Firebaseでパスワード制限つきチャットアプリ(3)AngularFire2を利用してIonicとfirebaseを接続]] | ||
| + | -[[http://twosquirrel.mints.ne.jp/?p=23919|Ionic+Firebaseでパスワード制限つきチャットアプリ(4)angularfire2@5.0.0-rc.4とfirebase@4.8.0でCRUD実装]] | ||
| + | -[[http://twosquirrel.mints.ne.jp/?p=23987|Ionic+Firebaseでパスワード制限つきチャットアプリ(5)navCtrl.push()でページ遷移]] | ||
| + | -[[http://twosquirrel.mints.ne.jp/?p=24052|Ionic+Firebaseでパスワード制限つきチャットアプリ(6)RxJSを用いてデータの受け渡し(うまくいかず)]] | ||
| + | -[[http://twosquirrel.mints.ne.jp/?p=24161|Ionic+Firebaseでパスワード制限つきチャットアプリ(7)(最終だけど途中)FirebaseAuthenticationでメールアドレス認証]] | ||
| + | ===== ソースコード3 ===== | ||
| + | |||
| + | パスワード制限やいろいろな機能が入っています。これを見て参考にしたい、、、 | ||
| + | https://github.com/chat21/chat21-ionic | ||
| ライン 76: | ライン 81: | ||
| import { Component, ViewChild } from '@angular/core'; | import { Component, ViewChild } from '@angular/core'; | ||
| import { Content } from 'ionic-angular'; | import { Content } from 'ionic-angular'; | ||
| + | // Ionic4の場合は、import { Content } from '@ionic/angular'; | ||
| export class HomePage { | export class HomePage { | ||
| ライン 81: | ライン 87: | ||
|  |  | ||
| ionViewDidLoad() | ionViewDidLoad() | ||
| + | // Ionic4の場合は、ngOnInit() | ||
| { | { | ||
| setTimeout(() => { | setTimeout(() => { | ||
| - | this.contents.scrollToBottom(300); | + | this.content.scrollToBottom(300); | 
| }, 1000); | }, 1000); | ||
| } | } | ||
| ライン 95: | ライン 102: | ||
| http://www.ionichelper.com/2017/05/01/ionic-framework-scroll-to-bottom/ | http://www.ionichelper.com/2017/05/01/ionic-framework-scroll-to-bottom/ | ||
| {{:pasted:20180609-210558.png}} | {{:pasted:20180609-210558.png}} | ||
| + | |||
| + | ===== firebaseのみでWebチャットアプリ ===== | ||
| + | |||
| + | |||
| + | https://qiita.com/st5757/items/9e651e8cffaa90681426 | ||
| + | |||
| + | |||