When building the React Native app, an error was encountered due to the deprecation of GoogleApiClient. The error specifically affected the availability of com.google.android.gms.auth.api.credentials.*, causing the build to fail.
Error: Execution failed for task ':react-native-sms-retriever-api:compileDebugJavaWithJavac'.
When building the React Native app, an error was encountered due to the deprecation of GoogleApiClient. The error specifically affected the availability of com.google.android.gms.auth.api.credentials.*, causing the build to fail.
Error:
Execution failed for task ':react-native-sms-retriever-api:compileDebugJavaWithJavac'.
The issue is discussed on Stack Overflow: Link to Stack Overflow Question
Fixed the issue by using new GoogleApi.