Category: React Native

Posted in React Native

TouchableHighlight vs TouchableWithoutFeedback

I noticed a huge issue with TouchableHighlight where there is a significant delay with the onPressIn method being called, making this component next to unusable…

Continue Reading
Posted in React Native

[Discussion: Timers] Background execution and ordering semantics

I wanted to start a discussion about the timers and an API that exposes the capabilities of the system timers. A couple of things I…

Continue Reading
Posted in React Native

[Bridge] Allow RCTViewManager to define view instance methods exposed to JS

(Related to the discussion in #114) The gist of what I want to do is to call methods on view instances where setting a prop…

Continue Reading
Posted in React Native

Enabling Geolocation

Hey, When I try to use the Geolocation, I get: message: undefined is not an object (evaluating ‘RCTLocationObserver.getCurrentPosition’)” It seems that require(‘NativeModules’).LocationObserver returns undefined in…

Continue Reading
Posted in React Native

Upload a picture to a server

Hey, I’m trying to upload to a server a picture from the Camera Roll. I can access an image representation that looks like this: {…

Continue Reading
Posted in React Native

Swift support in native modules

(you all knew this was coming 😸 ) The current documentation suggests Swift is not yet supported, but I thought it would be good to…

Continue Reading
Posted in React Native

If you name your app with hyphens react-native will create a broken project by default

If you do something like: react-native init my-native-app React will create a project scaffold for you but the resulting javascript file will fail to load….

Continue Reading
Posted in React Native

Require Non-JS Files

I know there is discussion in other threads going on about webpack and having that would fix this issue. However in the meantime there are…

Continue Reading
Posted in React Native

Documentation missing instructions for running on device via static bundle

If anyone wants to improve on these instructions and add them to the docs, feel free, I can do it later if nobody else jumps…

Continue Reading
Posted in React Native

[Image] Example issue: ImageView not loading image

I am playing with the very basic example from Tutorial. I wrote following code, just exactly what the tutorial did. /** * Sample React Native…

Continue Reading