Page MenuHomePhabricator

Set deviceToken to null upon notification permissions acquisition failure
ClosedPublic

Authored by marcin on Mar 30 2022, 7:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 10, 5:59 AM
Unknown Object (File)
Sun, Nov 10, 5:59 AM
Unknown Object (File)
Sun, Nov 10, 5:59 AM
Unknown Object (File)
Sun, Nov 10, 5:59 AM
Unknown Object (File)
Sun, Nov 10, 5:59 AM
Unknown Object (File)
Sun, Nov 10, 5:59 AM
Unknown Object (File)
Sun, Nov 10, 5:59 AM
Unknown Object (File)
Sun, Nov 10, 5:59 AM

Details

Summary

Set device token to null when notofications are disabled, so that it can be used to query for notification permission without the need to import react-native-notifications library.

Test Plan

This differential has no test plan. Its child diff will be used to test those changes

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 30 2022, 10:41 PM