- 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”
- 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”
- 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”
- We had faced some performance issues while using these APIs.
- If we want to push an update after fixing a bug, we usually have to wait for 3 to 4 days to send a fix to the users.
- If your use case is simple, Then you don’t have to touch any of the native code.
- React Native community is slowly moving many animations to native, and the performance is much better than before.
- Many people were asking me which one to choose Native script or React Native.
At Witworks we have been developing the Blink smartwatch, which runs on a customised version of Android called Marvin. We have also been building companion.
Continue reading “What we learned after using React Native for a year”
- Click “Apply” to download and install the Android SDK and related build tools.
- Android Studio installs the most recent Android SDK by default.
- 1. Download and install Android Studio #
- react – native init AwesomeProject cd AwesomeProject react – native run – android
- If you’ve already installed Android Studio before, you can still install HAXM without performing a custom installation.
Welcome to React Native! This page will help you install React Native on
your system, so that you can build apps with it right away. If you already
have React Native installed, you can skip ahead to the
Continue reading “Getting Started #”