This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,17 @@
// Metro module 9260 (f9261).
import { useCallback, useEffect } from "react";
import * as _Module17 from "react-native";
const { NativeModules, NativeEventEmitter } = _Module17;
const SmsAutofillManager = NativeModules.SmsAutofillManager;
let c6091_2 = new NativeEventEmitter(SmsAutofillManager);
export default function useSmsAutofill(a0) {
let c17098_0 = a0;
const callback = useCallback((a0) => c17098_0(a0.code), [a0]);
return useEffect(() => {
let c26404_0 = c6091_2.addListener("verificationCodeReceived", callback);
SmsAutofillManager.startSmsRetriever();
return () => {
c26404_0.remove();
};
}, [callback]);
};