How to use GoogleAPIClient (deprecated) with SMSRetriver API in Android
问题 I am trying to implement SMS Retriever API for SMS verification. The official way mentioned in the documentation says to use GoogleApiClient along with HintRequest to retrieve the mobile number from the device HintRequest hintRequest = new HintRequest.Builder() .setPhoneNumberIdentifierSupported(true) .build(); PendingIntent intent = Auth.CredentialsApi.getHintPickerIntent( googleApiClient, hintRequest); try { startIntentSenderForResult(intent.getIntentSender(), RESOLVE_HINT, null, 0, 0, 0);