Posts

Showing posts with the label react-native-navigation

react-native-admob compatibility with wix react-native-navigation

I'm using wix/react-native-navigation router (tab based app) and react-native-adbmob package for AdMob Rewarded Video Ads. On Android, it works well, but on the iOS, when I try to show a Reward ad in react-native-navigation Modal window ( this.props.navigator.showModal(config) ), it is not visible although the adOpened event is fired. Has anybody faced the same or similar issue with other packages?

React Native Navigation installation issue with React Native v0.51

I am having problem with the installation of the React Native Navigation with React Native v0.51. I saw that there are changes made to the index.ios and index.android file in favor of only one index.js file. I have made changes accordingly in AppDelegate.m but it still does not work. AppDelegate.m App boot up stuck in 4/478 Mine is working fine with the same changes that you've made in your AppDelegate.m file like yours. But, I am still unable to get android running. While changing my AppDelegate.m file, xcode was unable to find the RCTBundleURLProvider.h so I had to re-link React under Product > Schema > Manage Schema For android: Adding the following method inside MainApplication class of MainApplication.java worked for me. @Override public String getJSMainModuleName() { return "index"; }

React-Native packages not finding React headers

I'm currently trying to integrate React-Native into my existing Swift iOS project. I'm using Cocoapods already so I followed the documentation on the topic by adding the following to my Podfile: # React Native react_native_path = "../node_modules/react-native" pod "Yoga", :path => "#{react_native_path}/ReactCommon/yoga" pod "DoubleConversion", :podspec => "#{react_native_path}/third-party-podspecs/DoubleConversion.podspec" pod "GLog", :podspec => "#{react_native_path}/third-party-podspecs/GLog.podspec" pod "Folly", :podspec => "#{react_native_path}/third-party-podspecs/Folly.podspec" pod ‘React’, :path => react_native_path, :subspecs => [ ‘Core’, 'CxxBridge', 'DevSupport', ‘RCTImage’, ‘RCTNetwork’, ‘RCTText’, ‘RCTWebSocket’ ] This all works well enough and I'm able to build my app both in the simulator as well as on the device and...

Does react-native-video work with react-native-navigation

I'm trying to get videos to play in my react native app. I'm trying to use react-native-video but when running the app via react-native run-android I get the error message: "undefined is not an object (evaluating'_reactNative.NativeModules.UIManager.RCT Video.Constants') This message doesn't really tell me much, but after trying to get this to work for a while I started to suspect that react-native-navigation, , which is the navigation I use for my app, has something to do with it. So I created a new react-native project and added react-native-video to it and got it working without too much trouble. So my question is if anyone has experienced the same thing, and could provide a solution to getting these two packages working together? My settings.gradle: rootProject.name = 'newproj' include ':react-native-video' project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vi...

Using react-native-tab-view with react-native-router-flux

I'm using react-native-tab-view as my main app container in which I have different components and nested tabs as well. However I wanted to use react-native-router-flux for navigation. I currently have the setup like so: <Router> <Scene key='root'> <Scene hideNavBar key='home' component={ReactNativeTabViewContainer} tabs ={true} initial={true} /> </Scene> </Router> But Right now the react-native-router-flux only sees a single route. How can I track the nav changes inside the React-native-tab-view and add those nav state to the main route state stored in redux.

React Navigation vs. React Native Navigation

I just wanna to know honest, experienced and objetive points of view about these two soutions to implement the navigation in React Native: React Navigation React Native Navigation Which its better and why. Thanks React Native Navigation as the name says uses the native modules with a JS bridge, so performance will/may be better. [Used by a large proportion out there]. requires native integration. While React Navigation is a simple and powerful solution provided by react native itself. Its an all JS implementation unlike the other that uses native support which can be tricky. Just npm-install and you're go to go ... Use react navigation if you prefer an all JS implementation and use native navigation if your highest priority lies in performance . Both libs are one of the best navigation solutions for React Native. Use it according to your needs. UPDATE : Both libs have undergone drastic changes and entered v2. react-navigation is more stable and perfo...