Which would be fair game except to my knowledge there’s no API in iOS that enables the use of anything other than APNS for notifications. I could be mistaken though!
For android, you need to buy into all the ecosystem of Google to access their push notification service.
You can use android without google’s system, but you can’t use google push system.
On iOS you just can't unless you are fully blessed by Apple, and this is precisely the issue.