invertase / notifee

⚛️ A feature rich notifications library for React Native.
https://notifee.app
Apache License 2.0
1.88k stars 228 forks source link

fix(android): support invalidate alongside deprecated onCatalystInstanceDestroy #1098

Closed mikehardy closed 2 months ago

mikehardy commented 2 months ago

invalidate is the new way to have a hook called when react-native instances are going away, but onCatalystInstanceDestroy is still required for compatibility with older react-native versions

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.08%. Comparing base (616fa32) to head (0349ba5).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1098 +/- ## ======================================= Coverage 77.08% 77.08% ======================================= Files 32 32 Lines 1727 1727 Branches 579 556 -23 ======================================= Hits 1331 1331 - Misses 343 395 +52 + Partials 53 1 -52 ```