Is this a bug report?
Yes
Yes
Environment
Environment:
OS: Windows 10
Node: 8.9.4
Yarn: Not Found
npm: 5.6.0
Watchman: Not Found
Xcode: N/A
Android Studio: Not Found
Packages: (wanted => installed)
react: 15.4.2 => 15.4.2
react-native: 0.40.0 =>0.40.0
Target Platform: Android
Steps to Reproduce
- Use device RITZVIVA_S500C (OS 5.1).
- Get com.facebook.react.views.text.ReactTextView.reactTagForTouch called.
Expected Behavior
App does not crash.
Actual Behavior
Fatal Exception: java.lang.ClassCastException
java.lang.String cannot be cast to android.text.Spanned
com.facebook.react.views.text.ReactTextView.reactTagForTouch (ReactTextView.java:76)
com.facebook.react.uimanager.TouchTargetHelper.getTouchTargetForView (TouchTargetHelper.java:269)
com.facebook.react.uimanager.TouchTargetHelper.findTargetTagAndCoordinatesForTouch (TouchTargetHelper.java:101)
com.facebook.react.uimanager.JSTouchDispatcher.handleTouchEvent (JSTouchDispatcher.java:75)
com.facebook.react.ReactRootView.dispatchJSTouchEvent (ReactRootView.java:151)
com.facebook.react.ReactRootView.onInterceptTouchEvent (ReactRootView.java:127)
Reproducible Demo
Since I do not own such a device and only see that error in crashlytics, the only option here would be to include my whole project, which I cannot do. I have seen it happening only with this single device.
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS: Windows 10
Node: 8.9.4
Yarn: Not Found
npm: 5.6.0
Watchman: Not Found
Xcode: N/A
Android Studio: Not Found
Packages: (wanted => installed)
react: 15.4.2 => 15.4.2
react-native: 0.40.0 =>0.40.0
Target Platform: Android
Steps to Reproduce
Expected Behavior
App does not crash.
Actual Behavior
Fatal Exception: java.lang.ClassCastException
java.lang.String cannot be cast to android.text.Spanned
com.facebook.react.views.text.ReactTextView.reactTagForTouch (ReactTextView.java:76)
com.facebook.react.uimanager.TouchTargetHelper.getTouchTargetForView (TouchTargetHelper.java:269)
com.facebook.react.uimanager.TouchTargetHelper.findTargetTagAndCoordinatesForTouch (TouchTargetHelper.java:101)
com.facebook.react.uimanager.JSTouchDispatcher.handleTouchEvent (JSTouchDispatcher.java:75)
com.facebook.react.ReactRootView.dispatchJSTouchEvent (ReactRootView.java:151)
com.facebook.react.ReactRootView.onInterceptTouchEvent (ReactRootView.java:127)
Reproducible Demo
Since I do not own such a device and only see that error in crashlytics, the only option here would be to include my whole project, which I cannot do. I have seen it happening only with this single device.