HomePhabricator
Diffusion Comm bdc32b8a88e9

Upload/download large notification payload from the keyserver/Android NSE if…

Description

Upload/download large notification payload from the keyserver/Android NSE if its size exceeds FCM limits

Summary: This differential enables CommNotificationsHandler /keyserver to fetch/upload and AES-decrypt/AES-encrypt notification payload if it's size exceeds FCM limits.

Test Plan:
Change NEXT_CODE_VERSION to 0 in lib/shared/version-utils.js. Build Android app (can be emulator).
Background the app. Send big notification (type 8000 * 'x' in python shell and copy the string). Ensure that the banner is displayed in Android client. Kill the keyserver and open the app. Keyserver is killed but the message is visible since we fetched it from blob service.

Reviewers: bartek, tomek

Reviewed By: bartek, tomek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D8566

Details

Provenance
marcinAuthored on Mar 19 2024, 8:06 AM
Reviewer
bartek
Differential Revision
D8566: Upload/download large notification payload from the keyserver/Android NSE if its size exceeds FCM limits
Parents
rCOMM2ae576369e6b: Schedule blob deletion on iOS
Branches
Unknown
Tags
Unknown