React-native APNS setup

[Problem/Question]
I am in a react-native app, currently building only for ios.

I am following this guide for implementing notifications:

The guide asks to install the library:
yarn add @react-native-community/push-notification-ios

The documentation of this library asks to modify the AppDelegate.h and AppDelegate.mm files:

Since we are in a react-native app, the AppDelegate.h and AppDelegate.mm files get regenerated every time we rebuild the project.

Is there a way to add the modifications needed in AppDelegate.h and AppDelegate.mm on the react-native side and have the code generated in AppDelegate.h and AppDelegate.mm files so that on every rebuild of the project we do not lose the code needed to setup APNS notifications?

If so, where in the react-native side do we add these modifications ?

// If problem, please fill out the below. If question, please delete.
[SDK Version]
// What version of the SDK are you using?
“sendbird”: “^3.1.33”,
“sendbird-desk”: “^1.1.2”

[Reproduction Steps]
// Please provide reproduction steps and, if possible, code snippets.
N/A

[Frequency]
// How frequently is this issue occurring?
Every time we rebuild the react-native project, the AppDelegate.h and AppDelegate.mm files get regenerated and we lose any modifications made to these files.

[Current impact]
// How is this currently impacting your implementation?
Cannot implement notifications on ios robustly