And remove our dependency on wix/react-native-notifications.
Fixes: https://github.com/zulip/zulip-mobile/issues/4115
I took this up before I saw Greg's comment here about https://github.com/zulip/zulip/pull/15179:
I think this issue is actually a lot simpler than that. The PR will cause the server to start sending the information, and it's doing it in a way that iOS should already respond to even without any client-side code of ours.
Ah, well; that particular need doesn't seem to require any code changes on mobile. But I've been really wanting to get this done because
(1) I've often been kind of confused by our dependency on two different libraries for different iOS push notification needs, when there's no obvious reason why everything couldn't be done by one library, and (2) some peace and clarity comes from being on the latest versions of things. PushNotificationIOS from RN core is deprecated, and there are complaints about how well the Wix library is maintained; see the issue, and discussion linked from there.
So I went ahead and put this together.
该提问来源于开源项目:zulip/zulip-mobile