-
Notifications
You must be signed in to change notification settings - Fork 16
FCM implementation for push notification #357
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
Draft
AndreaDiazCorreia
wants to merge
41
commits into
main
Choose a base branch
from
andrea/FCM-impl
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
13e3b69
feat: add Firebase Cloud Messaging configuration and setup
AndreaDiazCorreia 152977d
feat: add Firebase Cloud Messaging service
AndreaDiazCorreia a90123f
feat: add Firebase initialization to app startup
AndreaDiazCorreia b8eca26
feat: initialize FCM service for push notifications
AndreaDiazCorreia e6d0f00
feat: add FCM background message handler for push notifications
AndreaDiazCorreia 40c1642
feat: implement FCM background notification processing
AndreaDiazCorreia b2d3451
feat: migrate FCM to silent push notification approach
AndreaDiazCorreia 11a7b35
feat: add Firebase Cloud Functions infrastructure
AndreaDiazCorreia 82255b8
chore: add WebSocket dependency and implement notification batching
AndreaDiazCorreia 0b6d20a
chore: remove peer dependency flags from package-lock.json fix: bakcg…
AndreaDiazCorreia f93d269
refactor: migrate FCM from WebSocket listeners to polling-based archi…
AndreaDiazCorreia 297618a
feat: show notification when configured Lightning address is used (#349)
Catrya d3f29a1
feat: improve countdown timer with order_expires_at and dynamic scali…
Catrya c6347a6
bumps to v1.0.4
grunch 8e3ba7d
refactor: Change NostrFilter from authors to p tag for gift-wrapped e…
AndreaDiazCorreia bae799c
chore: update Google Services plugin to version 4.4.4
AndreaDiazCorreia 2664d97
chore: configure APNS headers for background push notifications
AndreaDiazCorreia dc65149
chore: refactor notification deduplication to use separate database
AndreaDiazCorreia fbe0160
chore: add error handling and retry support to background notificatio…
AndreaDiazCorreia 528b665
refactor: move FCM event processing from background to foreground iso…
AndreaDiazCorreia e7c2e85
chore: add error handling for optional FCM initialization during app …
AndreaDiazCorreia e2038e7
chore: add Firebase configuration files and comprehensive setup docum…
AndreaDiazCorreia 5149167
Merge branch 'main' into andrea/FCM-impl
AndreaDiazCorreia 7f819c0
fvm
AndreaDiazCorreia 07dcf3f
refactor: remove verbose documentation comments from FCM and notifica…
AndreaDiazCorreia c9c5467
refactor: remove verbose documentation comments from Firebase Cloud F…
AndreaDiazCorreia 2eea02a
refactor: enhance FCM and lifecycle logging with structured markers a…
AndreaDiazCorreia cb4d8b2
refactor: remove notification state storage and improve event dedupli…
AndreaDiazCorreia b9ccfaf
refactor: simplify Firebase options documentation comments
AndreaDiazCorreia 3439bba
refactor: improve FCM service cleanup and pending event processing (c…
AndreaDiazCorreia 6b12336
refactor: add platform checks to conditionally initialize Firebase on…
AndreaDiazCorreia 9338e1e
Merge branch 'main' into andrea/FCM-impl
AndreaDiazCorreia 0167e3d
Add comprehensive FCM implementation and testing documentation
AndreaDiazCorreia e491875
Fix timestamp tracking and add proper resource cleanup in background …
AndreaDiazCorreia 18c4e67
Update FCM polling interval documentation from 5 to 1 minute
AndreaDiazCorreia 906f256
Add clarifying comment about SharedPreferencesAsync behavior in backg…
AndreaDiazCorreia 03a0ab1
Refactor showLocalNotification to return success status and simplify …
AndreaDiazCorreia 2f4d4db
Add timeout and connection cleanup to FCM background notification pro…
AndreaDiazCorreia da0f62e
Fix grammar in Cloud Functions schedule interval from "minutes" to "m…
AndreaDiazCorreia 8bb5066
Move pending FCM event check from main.dart to app lifecycle observer
AndreaDiazCorreia 2e9405c
Add push notification service with encrypted token registration
AndreaDiazCorreia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "projects": { | ||
| "default": "mostro-test" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| { | ||
| "project_info": { | ||
| "project_number": "679654468306", | ||
| "project_id": "mostro-test", | ||
| "storage_bucket": "mostro-test.firebasestorage.app" | ||
| }, | ||
| "client": [ | ||
| { | ||
| "client_info": { | ||
| "mobilesdk_app_id": "1:679654468306:android:eed448d8b546663cbedb0b", | ||
| "android_client_info": { | ||
| "package_name": "network.mostro.app" | ||
| } | ||
| }, | ||
| "oauth_client": [], | ||
| "api_key": [ | ||
| { | ||
| "current_key": "AIzaSyBAwF5XEuNOC-TQqhLrFJQhNVzbFYSc1sI" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it is safe to publish this key? |
||
| } | ||
| ], | ||
| "services": { | ||
| "appinvite_service": { | ||
| "other_platform_oauth_client": [] | ||
| } | ||
| } | ||
| } | ||
| ], | ||
| "configuration_version": "1" | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you remove the
testfrom the name?