UNPKG

rn-sms-otp-autofill

Version:

React Native SMS OTP autofill for Android - TurboModule implementation for automatic SMS OTP code detection and filling

12 lines 593 B
export { default as RnSmsOtpAutofill } from './NativeRnSmsOtpAutofill'; export declare function requestOtpAutofill(): void; export declare function stopOtpAutofill(): void; export declare function listenOtpAutofill(callback: (otp: string) => void, onError?: (error: string) => void): () => void; declare const _default: { requestOtpAutofill: typeof requestOtpAutofill; stopOtpAutofill: typeof stopOtpAutofill; listenOtpAutofill: typeof listenOtpAutofill; RnSmsOtpAutofill: import("./NativeRnSmsOtpAutofill").Spec; }; export default _default; //# sourceMappingURL=index.d.ts.map