This differential defines and implements NotificationsBridgeQueue module that will be used in CommIOSNotifications implementation to store JS-related events and actions before JS thread is ready. Code is copy-pasted from Ashoat's RNNotifications fork.
Ashoat's fork: https://github.com/Ashoat/react-native-notifications
Details
Details
- Reviewers
atul tomek ashoat - Commits
- rCOMM6ac8b92473c6: Add NotificationsBridgeQueue module
Build the app.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Refactor CommIOSNotificationsBridgeQueue module. Not react-native-notifications fork copy paste any more.
Comment Actions
Please make sure you've rewritten every single line in your style. It's concerning seeing two styles of conditionals in this diff (seems like an artifact of copy-paste). Conditionals with curly braces are something we generally avoid
native/ios/Comm/CommIOSNotifications/CommIOSNotificationsBridgeQueue.mm | ||
---|---|---|
26–27 ↗ | (On Diff #20686) | Let's avoid this style – please put the curly braces back, like below |
42–43 ↗ | (On Diff #20686) | Here too |
This comment was removed by marcin.
Comment Actions
Remove methods related to actions since they are not used anywhere in the code. I introduced this change earlier this week, but forgot to update phabricator