We have a use case to prompt users for biometrics when ios or android resumes. Before switching to the custom android ui the following code was working:
We have switched to the custom ui on android so we could eliminate passcode fallback (working great); however, this also stops the resumeEvent from being triggered. I think this has something to do with extending the activity in appcompat-activity.android.
I've tried the non cross platform android on resume which fires the event but loses access to where our services and properties are defined for biometrics.
android.on(AndroidApplication.activityResumedEvent, function (args: AndroidActivityEventData) {
this.deviceService.initBiometricIDAvailablity(); // TypeError: Cannot read property 'initBiometricIDAvailablity' of undefined
// verify fingerprint ...
});
Any tips on how to achieve on resume with custom android ui would be greatly appreciated.
We have a use case to prompt users for biometrics when ios or android resumes. Before switching to the custom android ui the following code was working:
We have switched to the custom ui on android so we could eliminate passcode fallback (working great); however, this also stops the resumeEvent from being triggered. I think this has something to do with extending the activity in appcompat-activity.android.
I've tried the non cross platform android on resume which fires the event but loses access to where our services and properties are defined for biometrics.
Any tips on how to achieve on resume with custom android ui would be greatly appreciated.