android firebase 12.0.0 - mAuth.getCurrentUser().getProvider() method is removed, how to get provider names?
in firebase_version = '11.8.0' there was a method called mAuth.getCurrentUser().getProviders() i could call to get the list of provider names. so for email provider it was "password" and for facebook is was "facebook.com", etc the method call was like this: final FirebaseUser currentUser = mAuth.getCurrentUser() for (String provider : this.currentUser.getProviders()) { //i was looping over all the providers this way, and then storing the provider string in my db } but now in the latest firebase_version = '12.0.0' the method getProviders() is not available. How can i get the provider names as