When we build a mobile application, sooner or later we’ll face a need to store some user’s data to retrieve later.
It can be an authentication token or user’s settings.
When we need to solve that issue, we may consider storing the data on a remote server or locally, on the user’s phone.
Depending on the situation we may not have a remote server or the data we need to store, doesn’t need to be saved remotely.
Today we are going to find out how to store data on a user’s phones, and access it every time we need.
We are going to proceed to build an application we’ve started in the previous articles and implement a High Scores feature.
Every time the user finishes the practice session, we will store the results of that session and display the top recent scores.
Let’s get started.
In the previous article, we start building a new mobile application.
We have managed to finish a working prototype of the application.
Although, the prototype is working, almost the whole implementation held in a single file.
That will make the implementation of the following features slower and trickier.
It makes the code less readable.
Today I would like to split the existing functionality into separate screens.
To achieve that, we are going to install and use “React Navigation” library.
If you haven’t read the previous article, you may want to read it first to get more context about the app.
In the previous article we have covered how to create a “Hello World” app in React Native.
One of the best ways to learn a new programming language or a technology is to start building something with it.
I would like to apply that technique in the series of the following articles.
We are going to build an app from zero to production and learn the React Native on the way.
Let’s get started.
According to different sources there are around 5 billion mobile devices in the world.
That number is growing every year.
Look around, today almost everyone has a mobile device such as a smartphone or a tablet.
With that number of devices, the need for mobile applications is growing.
Today, for many companies, it’s not enough to have only web applications of their products.
People want to use mobile applications instead.
There are two major mobile platforms out there: iOS and Android.
If a company decides to build a mobile application it may choose one of these platforms to start on.
More often companies want to have mobile applications on both platforms.
One way, the original way, to develop a mobile application is to use native development tools and programming languages for each platform.
To build iOS applications one can use Swift or Objective-C programming languages, for Android applications - Java or Kotlin.
So, in order to build mobile applications for both platforms, a company needs to have developers with expertise in both of these technologies.
Most often those are different people.
There are other ways to build such applications.
One can build so-called mobile web applications.
What is that? In a nutshell, the application uses a web browser behind the scene and delivers all content as a web page.
Yet another way would be to use technologies which allow building native applications by using a single tool.
One builds an application using that tool and the application is able to run on both iOS and Android devices.
React Native and Flutter are examples of those tools.
With this article, I’m going to start a series of articles about mobile development using React Native.
I would like to invite you to join my journey of learning React Native.
We are going to cover the first steps and learn the technology on our way of building applications.
Let’s get started.
I wanted to start a blog for a long time, but I was always postponing it.
A little bit more than a year ago, I’ve made a commitment to write a blog at least ones in two weeks.
In fact, I’ve ended up to publish a blog post almost every week.
Today, I would like to look back at this year and share my thoughts with you.