iOS push notifications permission

I wanna handle a scenario when a user won’t accept the iOS push permission (shown as alert at the very first time user opens the app).

I haven’t found any support for that case from ionic/cordova side, found some related topic as this one, but couldn’t figure out how to integrate it at my workspace.

Sample of the alert: