forked from signalapp/Signal-Android
-
Notifications
You must be signed in to change notification settings - Fork 171
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
Utilise new Push Notification endpoint for 1-on-1 conversations. #1249
Merged
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
2246a5d
feat: introduce new pns models and wire kotlinx serialization to appl…
0x330a 8d4f244
feat: add support for firebase and split out google services as a dep…
0x330a 7762d53
feat: add no op push manager for de-googled
0x330a d2e80c3
feat: re-add bencode utility and fix tests to use bytearray instead o…
0x330a 46acd78
New SPNS subscription and notifications
jagerman 95bb9ee
refactor: remove some unnecessary code for legacy PN registration
0x330a ba6eca2
Add FirebasePushManager#unregister
bemusementpark 3f6229f
Remove PushNotificationManager
bemusementpark 01d80ae
cleanup PushNotificationAPI
bemusementpark be4d742
Unregister v1 push
bemusementpark b2a1b5f
Add token to FCM logs
bemusementpark 288b70b
Store legacy fcm token to reduce unregister api calls
bemusementpark 153aa4c
Reinstate push v1
bemusementpark 667af27
Utilise TokenManager and ExpiryManager
bemusementpark 5c9dc36
Merge branch 'dev' into add-unregister
bemusementpark 0e0ab91
cleanup
bemusementpark 42cfce0
Refactor v1 and v2
bemusementpark e3f60eb
Fix individual group subs
bemusementpark dc7602a
Check fcm is enabled before modifying group sub
bemusementpark 8be088a
Reinstate v1 PNServerJob
bemusementpark 002793b
Merge branch 'dev' into add-unregister
bemusementpark 58cda9b
Fix website
bemusementpark 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
There are no files selected for viewing
This file contains 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 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 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 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
6 changes: 6 additions & 0 deletions
6
.../src/main/java/org/session/libsession/messaging/sending_receiving/notifications/Server.kt
This file contains 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,6 @@ | ||
package org.session.libsession.messaging.sending_receiving.notifications | ||
|
||
enum class Server(val url: String, val publicKey: String) { | ||
LATEST("https://push.getsession.org", "d7557fe563e2610de876c0ac7341b62f3c82d5eea4b62c702392ea4368f51b3b"), | ||
LEGACY("https://dev.apns.getsession.org", "642a6585919742e5a2d4dc51244964fbcd8bcab2b75612407de58b810740d049") | ||
} |
This file contains 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
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.
Should this one still be dev or we are just testing it for now?