For more information about the APNs, you can visit the official documentation at https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/APNSOverview.html
For more information about OneSignal setup, take a look at https://onesignal.com/ionic.