This guide provides a step-by-step guide for enabling push notifications on iOS.
Once configuration provided here is completed, BeDrive will notify users of some events automatically (for example, workspace invitations), but you can also send custom notifications from Firebase site, Enagage -> Cloud Messaging section.
If you don't have a firebase account already, register for one here.
Follow step 2 and step 3 from Firebase CLI Guide to install firebase CLI and configure firebase. When prompted select "android" and "iOS". This will automatically create new projects on Firebase and create required files with configuration keys.
Open Xcode, Open Signing & Capabilities page, click + Capability
button and double click Push Notifications.
Open your account page on apple developer site.
Select Keys in the left menu and click + button to create a new key.
Enter key name (can be anything), select Apple Push Notifications service (APNs), click Continue and then Register.
Click Download button to download the key file. Make sure to keep this file safe as it can't be re-downloaded.
Open your firebase project settings page and select Cloud Messaging.
Under APN Authentication Key, click Upload
button, then click Browse
and select key file you've downloaded earlier.
in Key ID field enter the back part of key file name.
For Team ID field, hover over ?
button, click on the link in popup that opens up and you should be able to see it in the new browser tab that opens up.
Copy/Paste the Team ID and click Upload
button (might need to click upload button a few times).