providerAvailable function
- AuthProvider provider
Implementation
Future<bool> providerAvailable(AuthProvider provider) async {
if (provider == AuthProvider.apple) {
return await SignInWithApple.isAvailable();
}
return true;
}
Future<bool> providerAvailable(AuthProvider provider) async {
if (provider == AuthProvider.apple) {
return await SignInWithApple.isAvailable();
}
return true;
}