You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that Andorid isn't currently supported but it would be nice if i could call the isSupported function in a consistent manner and expect it to simply say 'No this isn't supported' on android the same way i would expect it to happen on IOS, i.e. return a Promise which resolves false.
Currently i have a hack in my node_modules to locally fix this problem:
/** * Stub of TouchID for Android. * * @providesModule TouchID * @flow */'use strict';exportdefault{isSupported(){returnnewPromise((resolve,reject)=>{resolve(false);});}};
The text was updated successfully, but these errors were encountered:
hey @muntact you're definitely not the only person with this concern. I've just made a PR to support android #53 , and the api is now consistent between the platforms.
Hey,
I know that Andorid isn't currently supported but it would be nice if i could call the isSupported function in a consistent manner and expect it to simply say 'No this isn't supported' on android the same way i would expect it to happen on IOS, i.e. return a
Promise
which resolves false.Currently i have a hack in my node_modules to locally fix this problem:
The text was updated successfully, but these errors were encountered: