Last active
August 19, 2024 13:21
-
-
Save burkido/f5b20a90783a2c4618c8bcb3b8abee4a to your computer and use it in GitHub Desktop.
otp-reader-lib-sms-consent-client
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LaunchedEffect(key1 = true) { | |
SmsRetriever | |
.getClient(context) | |
.startSmsUserConsent(null) | |
.addOnSuccessListener { | |
shouldRegisterReceiver = true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment