Closed LeoJHarris closed 1 month ago
Statuses? status = (Statuses?)bundle.GetString(SmsRetriever.ExtraStatus);
This seems like you are casting a string
to a Statuses?
. Are you sure that's a valid cast?
@jpobst I would say that is probably the issue, happy to close and reopen if this is not the case.
Xamarin.Android Version (eg: 6.0):
Android 14.0
Google Play Services Version
Not to sure, the project uses Xamarin.GooglePlayServices.Auth.Api.Phone 118.1.0.2
Describe your Issue
The following always returns null
The
OnReceive
successfully gets called when the SMS is received, the message is visible on inspection but the above returns null every timeThe complete code is
The SMS message is:
<#> Your code is: 12345 [AppHashKey]
Relevant information
Packages used:
Build settings (tools)
Minimal Repro Code Sample
If required a sample can be provided