Author: Fantashit

Posted in React Native Issues

How can I auto dismiss the Alert View, without Tapping any button?

How can I auto dismiss the Alert View, without Tapping any button?

Continue Reading
Posted in React Native Issues

[Android][fetch] app crashes when response contains special character \u2028

fetch(‘http://someurl’); if the response contains the character \u2028 , the app crashes with the following error SyntaxError: Unexpected EOF (line 1 in the generated bundle)…

Continue Reading
Posted in React Native Issues

onLongPress (and delayLongPress) triggers immediately

For some reason (I have no clue why) onLongPress triggers immediately, and onPress doesn’t. tested on : android simulator with genymotion (galaxy5) and real galaxy3…

Continue Reading
Posted in React Native Issues

Unable to resolve module LinkedStateMixin

I could not launch sample app in simulator. Repro(s) $ npm install -g react-native-cli $ react-native init app $ cd AwesomeProject Open ios/app.xcodeproj and hit…

Continue Reading
Posted in React Native Issues

Extra calls onNavigationStateChange in WebView on Android

Extra calls onNavigationStateChange when update window.location attributes values in WebView on Android RN – 0.17. For example: update value of window.location.hash – 2 calls of…

Continue Reading
Posted in React Native Issues

Callback on LayoutAnimation never been called.

Version: 0.17 Platform: Android After tracing the code, I have found that success and failure callbacks never been passed from here to here. Is there…

Continue Reading
Posted in React Native Issues

Add a dismiss event for Alert dialog

Currently the Alert dialog on Android can be dismissed by tapping outside or pressing back button as well as pressing on any of the action…

Continue Reading
Posted in React Native Issues

Dimensions.get(‘window’).height is sometimes wrong on Android

This only happens on a real device (I’m using OnePlus One). Could not reproduce on an emulator. Create an example app that displays the window…

Continue Reading
Posted in React Native Issues

Add a flag to discriminate between debug and release builds in JS code

I’d like to add additional UI to my app’s debug build to monitor HTTP traffic and other performance characteristics. (Think of this as akin to…

Continue Reading
Posted in React Native Issues

[Image] GIF inside image tag keeps looping

Right now i have a gif that i exported to only loop once and stop. This looks fine even when i visit the image online…

Continue Reading