I have an Entry that contains sensitive information that I don't want autocomplete to store.
I tried:
<Entry Text="{Binding Password}"
HorizontalOptions="Start"
VerticalOptions="Start">
<Entry.Keyboard>
<Keyboard x:FactoryMethod="Create">
<x:Arguments>
<KeyboardFlags>None</KeyboardFlags>
</x:Arguments>
</Keyboard>
</Entry.Keyboard>
</Entry>
This successfully stops autocomplete on iOS but unfortunately, autocomplete is still active in Android (my testdevice is a Pixel 3 XL with Android 9.0).
After posting on https://stackoverflow.com/questions/55468720/switch-autocomplete-off-in-a-xamarin-forms-entry I got the suggestion to use IsTextPredictionEnabled and IsSpellCheckEnabled which took me to:
<Entry Text="{Binding Password}"
HorizontalOptions="Start"
VerticalOptions="Start"
IsTextPredictionEnabled="False"
IsSpellCheckEnabled="False">
</Entry>
Unfortunately, it still doesn't work on Android. Is there a bug or do I have to do something else to get it working on Android?