-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement utility function on the keyserver to upload notification pa…
…yload to blob service Summary: This differential introduces utility function on the keyserver that AES-encrypts notification payload and uploads it to the keyserver. Changes in eslint configuration that are necessary for native node fetch API usage are introduced as well. Test Plan: 1. Launch blob service locally. 2. Modify `blob-service.js` file in `facts` directory to point to local IP address 3. Modify `send.js` file to execute this method on the stringified Android notification payload and log output to the console. 4. Send notification to Android device. Examine logs from keyserver and blob service terminals. Reviewers: bartek, tomek, kamil Reviewed By: bartek Subscribers: michal, ashoat Differential Revision: https://phab.comm.dev/D8529
- Loading branch information
1 parent
e6ba46a
commit 0b753d3
Showing
2 changed files
with
96 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,8 @@ | |
"env": { | ||
"node": true, | ||
"jest": true | ||
}, | ||
"globals": { | ||
"Blob": false | ||
} | ||
} |
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