Recently I have created a fingerprint-protected lock screen for my react-native app. Basically, when the user leaves the app and comes back later, this screen pops up. However, yesterday I have discovered that on android, if I open up a date picker, then leave the app and come back again, the date picker is still there:
I am using react-native-datepicker, which internally uses DatePickerAndroid and TimePickerAndroid.
Is there any way I can close the date picker programmatically?