You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
App crash when i click textinput then i click btn to call authorize function #179
@Winglonelion are you using the version published in npm? I noticed that a PR to fix #188 was accepted, and it might be the resolution for this issue. I’m trying out the master branch today to confirm:
$ npm i fullstackreact/react-native-oauth#master --save
Note that you'll still need to patch the swapped if statement in OAuthManager.m (I think there are at least two open PRs for that, including #157)
I've submitted #207 with a fix for this. Basically, the viewController needs to be presented on the main thread to prevent the crash once the keyboard has been displayed (such as when a TextInput component has been given focus).
Activity
Winglonelion commentedon Mar 23, 2018
same here +1
stonehippo commentedon May 7, 2018
I'm also seeing this crasher. It appears to occur if the textInput has been given focus and has a
onChangeTextcallback set.Winglonelion commentedon May 8, 2018
one more note: I met this issues only in IOS, Android work fine
stonehippo commentedon May 8, 2018
@Winglonelion are you using the version published in npm? I noticed that a PR to fix #188 was accepted, and it might be the resolution for this issue. I’m trying out the master branch today to confirm:
Note that you'll still need to patch the swapped if statement in
OAuthManager.m(I think there are at least two open PRs for that, including #157)Winglonelion commentedon May 8, 2018
In my case, app only crash when vitual Keyboard exist: And i think it has been mention in React Native release Note 0.52.0
I have not try RN 0.52.0 yet but i think it is my problem.
stonehippo commentedon May 8, 2018
I've submitted #207 with a fix for this. Basically, the
viewControllerneeds to be presented on the main thread to prevent the crash once the keyboard has been displayed (such as when a TextInput component has been given focus).Winglonelion commentedon May 9, 2018
thanks, @stonehippo.
I will try this and report you soon