Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the foundation for remote push notifications #57

Merged
merged 21 commits into from Sep 28, 2020

Conversation

uhooi
Copy link
Owner

@uhooi uhooi commented Sep 26, 2020

要求仕様

  • お知らせ(新モンスターの追加など)をリモートプッシュ通知でユーザーへ伝えたい
    • フォアグラウンド・バックグラウンドにかかわらずバナーを表示する
    • 開封時はモンスター一覧画面が起動する

要件

  • 無料で実現する
  • できる限りシンプルに実現する

実現方法

Firebase Cloud Messaging(以下「FCM」)を使って実現する。

  1. 【ユーザー】アプリを起動し、お知らせの通知チャネルを作成する
  2. 【ウホーイ】FirebaseのコンソールからFCMの通知を送る
  3. 【ユーザー】通知を受け取る
  4. 【ユーザー】通知またはホーム画面からアプリを起動する

イシュー

@uhooi uhooi self-assigned this Sep 26, 2020
Copy link

@futabooo futabooo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

こんにちは!twitterみて通りすがりにコメントさせてもらいました 。

自分は命名やパッケージ構成に悩んだらこのあたりを参考にしたりしています。
https://github.com/DroidKaigi/conference-app-2020
https://github.com/chrisbanes/tivi

app/src/main/AndroidManifest.xml Show resolved Hide resolved
app/build.gradle Outdated Show resolved Hide resolved
@uhooi uhooi merged commit a6d6a6a into develop Sep 28, 2020
@uhooi uhooi deleted the feature/setup_push_notification branch September 28, 2020 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Notify new character
4 participants