All Questions

14
votes
2answers
1527 views

Viable options for running NodeJS on Android (Aug 2017)

There are a bunch of old SO threads dealing with running NodeJS on Android. Most of these are no longer viable (JXCore) and/or provide confusing, outdated, incomplete, or erroneous information. There...
78
votes
14answers
37174 views

How to auto-slide the window out from behind keyboard when TextInput has focus?

I've seen this hack for native apps to auto scroll the window, but wondering best way to do it for react-native... When a field gets focus and is positioned low in the view, the keyboard will cover u...
161
votes
22answers
78363 views

react native android failed to load JS bundle

I'm trying to run AwesomeProject on my Nexus5 (android 5.1.1). I'm able to build the project and install it on the device. But when I run it, I got a red screen saying Unable to download JS bundl...
138
votes
29answers
63643 views

error "Could not get BatchedBridge, make sure your bundle is packaged properly" on start of app

Trying to create a react-native project on Android 4.4.2 I get this error screen and couldn't find any way to resolve it. I tried restarting packager, reconnecting device, even reinstalling react n...
48
votes
7answers
27341 views

ListView grid in React Native

I'm building a simple app in React Native that fetches listings from a remote JSON source and displays them on screen. So far, using the excellent example here, I've managed to get the results to di...
63
votes
20answers
50200 views

Unable to load script from assets index.android.bundle on windows

I'm trying to run my first react native project for first time on my device (android 4.2.2). And I get: unable to load script from assets index.android.bundle Commands that I used: cd (proje...
3
votes
3answers
397 views

How to reset TabNavigator when user logs out (from other screen)

Here is my project file hierarchy RootTabNavigator | AuthStackNavigator // I want to go back to this navigator | AuthoScreen | Welcome Screen | MainTabNavigator // I want to res...
48
votes
6answers
46389 views

React Native fetch() Network Request Failed

When I create a brand new project using react-native init (RN version 0.29.1) and put a fetch in the render method to the public facebook demo movie API, it throws a Network Request Failed. There is a...
22
votes
5answers
20010 views

React Native - Image Require Module using Dynamic Names

I'm currently building a test app using React Native. The Image module, thus far has been working fine. For example, if I had an image named avatar, the below code snippet works fine. <Image sour...
91
votes
5answers
79507 views

NSPhotoLibraryUsageDescription key must be present in Info.plist to use camera roll

Recently I started to get this error: NSPhotoLibraryUsageDescription key must be present in Info.plist to use camera roll. I am using React Native to build my app (I am not familiar with ios ...

Previous Next