Parent #17173
This issue is about resolving the GoogleApiClient & FirebaseInstanceId compile warnings for the WordPress module and its AppInitializer class.
PS: Some of those warnings are already deprecated (see here).
The GoogleApiClient & FirebaseInstanceId solution within the AppInitializer class seems to be used for:
setupCredentialsClient(): This method, upon app initialization, initializes and connects to a credentialsClient client (an instance of GoogleApiClient).
wordPressComSignOut(): The above is needed because this method, upon a wp.com user sign-out event, checks this credentialsClient client, that is, whether it is already connected, and if it is, it disables the auto sign-in for this client.
removeWpComUserRelatedData(...): This method, upon a wp.com user sign-out event, removes user related data and deletes the Firebase instance id (using an instance of FirebaseInstanceId).
As such, all the above (mainly) sign-out related functionality should be migrated to Play services APIs.
For more info see: