简体   繁体   English

当 iOS 登录模式打开时出现异常“评估 textInputRef.isFocuded”,在应用程序购买中反应本机

[英]Exception "evaluating textInputRef.isFocuded" when iOS SignIn modal is open, react native in app purchases

i'm getting this error when I click in a product returned from apple.当我点击从 Apple 退回的产品时出现此错误。 This error is only the first time in that i make click, after, all work fine.这个错误只是我第一次点击,之后一切正常。 在此处输入图像描述

You're probably trying to reach ref's isFocused prop before its initialized.您可能试图在 ref 的 isFocused 属性初始化之前访问它。 Add a null check and you should be fine.添加一张 null 支票,您应该没问题。

textInputRef?.isFocused

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 React Native - 模态不会在 IOS 上打开 - React Native - Modal doesn't open on IOS 使用React Native 0.60的版本发布时,应用程序崩溃:未处理的JS异常:null不是对象(正在评估“ n.apply”) - App crashes when build release with React Native 0.60: Unhandled JS Exception: null is not an object (evaluating 'n.apply') React Native 打开 iOS App Notifications 设置 - React Native open iOS App Notifications setting 带有 React-native (expo) 的 IOS 版 Google 登录 - Google SignIn for IOS with React-native (expo) 在Ios中反应原生Google登录问题 - React native Google Signin Issue in Ios 在React-Native Expo中购买应用程序吗? - In App Purchases in React-Native Expo? 在 iOS 中反应原生谷歌登录失败 - react native google signin failed in iOS react native 呈现模态viewController时,Landscape IOS应用程序引发异常 - Landscape IOS app throws exception when presenting modal viewController 由于未捕获的异常“NSInvalidArgumentException”,iOS 上的 React Native 崩溃并终止应用程序 - React Native on iOS crashes with Terminating app due to uncaught exception 'NSInvalidArgumentException' 如何从React Native应用程序打开iOS gallery应用程序 - How to open iOS gallery app from React Native app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM