Getting started with React Native

  • React Native helps you to build apps that no one would ever tell you that you did not use a custom native language such as JAVA or Swift or Objective C. React Native gives you that extra feel.
  • Create React Native App is the easiest way to start building a new React Native application.
  • It allows you to start a project without installing or configuring any tools to build native code – no Xcode or Android Studio installation required.
  • Do a change of directory to the location where you installed the React Native App.
  • NOTE: Create React Native App makes it really easy to run your React Native app on a physical device without setting up a development environment.

Getting to know React Native
Continue reading “Getting started with React Native”

Why React Native is the Best Choice for Making Native Apps

  • The React Native CLI lets you start a new native app project that will work on both iOS and Android.
  • One of my favorite features of React Native app development is live reload.
  • React Native builds upon React’s philosophy of “Learn once, write anywhere,” making it easy for React web developers to build native apps.
  • Composable unified UI codebases, instant app updates, and better development tooling make React Native the better way to make native apps.
  • And if you want to check out a great example of a React Native app for data visualization, Victory UI Explorer by Angela Nicholas is one of my favorite Formidable projects.

Composable unified UI codebases, instant app updates, and better development tooling make React Native the better way to make native apps.
Continue reading “Why React Native is the Best Choice for Making Native Apps”

[React Native 016.3] Using GraphCool with React Native

Using @graphcool with @reactnative -  #reactNative #programming

  • The second screen is a screen to create a post, by passing the image URL and the post description.
  • The rest of the ListPage component is just a list showing each Post and its image.
  • Let’s use this mutation and create a new Post:

    Once we run this mutation, we can refresh our app and see this new Post we have created in our app.

  • On the inline code, we will put our code, it does a POST request to our slack, and we will pass the post description and image url.
  • Let’s save, that, open our slack and create a new Post in our App.

A serverless solution for GraphQL that works great with React Native
Continue reading “[React Native 016.3] Using GraphCool with React Native”

Getting started with React Native and NativeBase (Tab Boilerplate)— part 2

Getting started with React Native and NativeBase (Tab Boilerplate)— part 2  #javascript

  • Getting started with React Native and NativeBase (Tab Boilerplate)— part 2In Part 1 , we had covered basic set up of our React Native App, which uses Expo and NativeBase libraries.We had it setup through CRNA (Create React Native App ) tool to ease the process and avoid many of the otherwise setup hassles.As many of the apps these days come with a standard tab navigation, in this part i have created a boilerplate which you can simple download and run after installing necessary npm modules.The boilerplate created will help you to quickly create your apps in React Native that use custom fonts , Ex-Navigation with Tab Navigation, NativeBase components which many otherwise would find it a little time consuming process.An app that on start will look something like this :Please feel free to post your comments and fork.
  • Happy Day!

In Part 1 , we had covered basic set up of our React Native App, which uses Expo and NativeBase libraries. We had it setup through CRNA (Create React Native App ) tool to ease the process and avoid…
Continue reading “Getting started with React Native and NativeBase (Tab Boilerplate)— part 2”

PhotoEditor SDK + React Native – imgly

PhotoEditor SDK + React Native  #ios #photoeditor #photoediting #android #reactjs #reactjs

  • However, react-native-navigation is not required for embedding the PESDK into your React Native application.Launching the PhotoEditor SDK from React NativeTo successfully launch our editor from React Native we needed to do three things:Add the PESDK library to our iOS project.Create a native module that bridges between React Native and the PhotoEditor SDK.Add a method to create a ToolbarController, push a PhotoEditController and present them from the current view controller.Call the method, wherever we want to edit an image in our React Native codeThe first step was rather easy.
  • In the classes implementation we registered our module with React Native by calling RCT_EXPORT_MODULE(PESDK):In order to create a new photo editor view controller we needed to create a new ToolbarController and push a PhotoEditController that loads a sample image.
  • All image fetching, scrolling, etc. is handled by React Native, so we only needed to handle the user’s taps on an image:We used react-native-fs to download a larger resolution image to the local filesystem, pass the path of the local file to our present() call and modify our iOS native module:We then had a nice little app, that shows a grid of images, loads a high-resolution image upon selection and opens the PhotoEditor SDK:The iOS demo app running on a device.Android implementationAs we have seen, opening the PESDK from React Native can easily be done on iOS.
  • To accomplish this we needed to repeat some of the previous steps for Android:Add the PESDK to our Android project.Create a native module that bridges between React Native and the PESDK.Add a method to launch an ImglyIntent using the PhotoEditorBuilder from the current Activity.Installing the SDK is again done by following the instructions for integrating the PESDK and shouldn’t take more than a few minutes.
  • Creating a native module on Android is quite similar to iOS, although a little more setup code is required: We created our PESDKModule that recreates the present(path) method from iOS, a PESDKPackage containing our module and finally added the package to our Application:This time, we prepared the desired settings for our editor, added our image path and passed everything to a PhotoEditorBuilder.

Often our users ask whether it’s possible to use the PhotoEditor SDK for iOS and Android with React Native (the good news right away: Yes, it is possible and fairly easy as well). So, we set out to…
Continue reading “PhotoEditor SDK + React Native – imgly”

Sketch — A Playground for React Native – Exposition

  • Tools like Create React Native App and Expo make this much easier, but it’s still not quite the same experience as an online demo.I’ve been lucky enough to be working with Charlie Cheever and Jesse Ruder on Sketch for the past month, which addresses these pain points and makes it super easy to try something quickly.
  • And today we’re excited to announce Sketch to the public.Let’s go over the features, shall we?Instantly test your code on a device, or in the browserCreating a new sketch couldn’t be easier.
  • You can either preview the component on the emulator inside the browser, or open it directly on your device with the Expo app.The UI updates as you type — every keystroke, without having to hit save.
  • Facebook Login, BarCode scanner, Accelerometer, Maps, you name it.You can also import the following third party modules which we’ve bundled with the app: @expo/vector-icons, @expo/ex-navigation, react-router-native, react-navigation, react-native-tab-view, redux, react-redux, redux-effex, redux-logger, redux-thunk, apollo-client, react-apollo, graphql-tag, ReactNativeART, art/morph/path, base-64, date-fns, gl-mat4, hsv2rgb, immutable, lodash, pubnub, regl, seamless-immutable, socket.io-client, three, url-parse, uuid-jsvalidatorDrag and drop components to add features instantlyDon’t remember how to use those APIs and too lazy to look it up and copy paste code (and fix the errors, cause you never manage get it right the first time)?
  • Fear not, there’s a component library from where you can just drag and drop components to add a feature instantly!See Device logs in the EditorNeed to log that object to see why your code won’t work?

Today, we’re happy and excited to announce the release of Expo Sketch. You can try it right now by going to https://sketch.expo.io/ on your computer’s web browser. I’ve been always excited about…
Continue reading “Sketch — A Playground for React Native – Exposition”

Redux and The Offline Experience

  • Continue with Facebook Continue with Google
  • Nick will be sharing his experience with building a simple React Native app with an “offline-first” experience.
  • Nearly all applications share a common challenge when it comes to state management.
  • Atticus will be talking about using React Native with Redux to manage the state in an application.
  • Start a Meetup Group Start a Meetup Group

Atticus will be talking about using React Native with Redux to manage the state in an application. Nearly all applications share a common challenge when it comes to state management. We'll look a
Continue reading “Redux and The Offline Experience”