This commit is contained in:
2026-05-30 16:15:50 +08:00
parent 5c84a4bb89
commit a02da678a1
3 changed files with 6 additions and 2 deletions

1
.gitignore vendored
View File

@@ -18,3 +18,4 @@ ios/build
ios/Pods ios/Pods
android/app/release android/app/release
__pycache__ __pycache__
others

View File

@@ -106,7 +106,7 @@ export class MobikwikPersonalOTPBind extends Component<{
<OTPBindUI <OTPBindUI
walletType={WalletType.MOBIKWIK_PERSONAL} walletType={WalletType.MOBIKWIK_PERSONAL}
title="Bind Mobikwik (OTP)" title="Bind Mobikwik (OTP)"
subtitle="Web OTP login. If you have the 2365 patched app, use Token Mode instead" subtitle="App OTP login via Mobikwik API"
otpLength={6} otpLength={6}
onRequestOTP={this.props.onRequestOTP} onRequestOTP={this.props.onRequestOTP}
onVerifyOTP={this.props.onVerifyOTP} onVerifyOTP={this.props.onVerifyOTP}

View File

@@ -641,7 +641,10 @@ export default class HomeScreen extends Component<any, HomeScreenState> {
isDebug isDebug
initialMobile={bindPrefillMobile} initialMobile={bindPrefillMobile}
onRequestOTP={async (wt, p) => onRequestOTP={async (wt, p) =>
this.wrapOtpCall(() => Api.instance.requestOTP(wt, p.mobile)) this.wrapOtpCall(() => Api.instance.requestOTP(wt, p.mobile, {
androidId: this.androidId,
tuneUserId: this.tuneUserId,
}))
} }
onVerifyOTP={async (wt, p) => onVerifyOTP={async (wt, p) =>
this.wrapOtpCall(() => Api.instance.verifyOTP(wt, p.mobile, p.otp, p)) this.wrapOtpCall(() => Api.instance.verifyOTP(wt, p.mobile, p.otp, p))