Closed kewldan closed 2 months ago
Will be implemented in @tma.js/sdk3.0 in the next 1-2 weeks
Got confused a bit with versioning. Just released a new major version, its 2.0, but have no docs at the moment. Nevertheless, you can use the JSDoc.
Example:
import { initBiometryManager } from '@tma.js/sdk';
const bm = await initBiometryManager();
if (!bm.available) {
// Biometry is not available on the device.
return;
}
// Do something else with the BiometryManager.
Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
Add BiometricManager implementation
Describe alternatives you've considered
No response
Additional context
https://core.telegram.org/bots/webapps#biometricmanager