Connect to Game Center or Google Play by platform?

All - I am struggling to find an example where based on platform(iOS, Android) the app needs connect to the Apple Game Center, or connect to Google Play Services. How would I do this with Ionic Capacitor?
I have seen examples of using Google Play for both, but that is being deprecated on iOS.
Are folks somehow loading different plugins then an abstraction pattern to call appropriate API’s for the platform plugin?
Does anyone have a good example to follow?
Thank you in advance,