Changes for src/ios/PushPlugin.m: 3 added lines, 20 removed lines.
Original line number
Diff line number
Diff line
@@ -128,30 +128,13 @@
// one is actually disabled. So we are literally checking to see if rnTypes matches what is turned on, instead of by number. The "tricky" part is that the
// single notification types will only match if they are the ONLY one enabled. Likewise, when we are checking for a pair of notifications, it will only be
// true if those two notifications are on. This is why the code is written this way