- React Native it’s a very new technology announced on the beginning of 2015 – just a couple years ago – where the main objective is to allow the development of mobile apps using the same design as React, letting you compose a rich mobile UI from declarative components.
- I had a really great time working with React Native and after developing the base components I felt that creating new screens was even faster than coding on native languages.
React Native main objective is to allow the development of mobile apps using the same design as React.
Continue reading “From native to React Native”
- In this blog post, I am going to share basic steps for developing a React Native app with Django rest-api.
- I have been mostly developing native mobile apps But sometimes it seems like time consuming to develop a simple app with same functionalities for both iOS and Android.
- Finally, we create an api function in views.py which will server requests at /api/list end poin_t_
We are ready for creating our React Native app now.
- You can try out expo APIs here
In Short, React Native is powerful framework for building iOS and Android apps.
- Find the full source code of React Native app (PyconLunch) on Github.
This blog post explains about creating a simple React Native app with modern tools and packages.
Continue reading “Creating React Native apps with Django rest-api”
- 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”
- 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”
- 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”
- 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”