Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Lightning-Fast Mobile App Development with Galio
  • Toc
  • feedback
Lightning-Fast Mobile App Development with Galio

Lightning-Fast Mobile App Development with Galio

By : Gheorghe
close
Lightning-Fast Mobile App Development with Galio

Lightning-Fast Mobile App Development with Galio

By: Gheorghe

Overview of this book

Galio is a free open source React Native framework that enables beginner-level programmers to quickly build cross-platform mobile apps by leveraging its beautifully designed ready-made components. This book helps you to learn about React Native app development while building impressive out-of-the-box apps with Galio. Lightning Fast Mobile App Development with Galio takes a hands-on approach to implementation and associated methodologies that will have you up and running and productive in no time. Complete with step-by-step explanations of essential concepts, practical examples, and self-assessment questions, you will begin by exploring the basics of React Native and understanding how Galio works. As you make progress, you'll learn how to initialize and configure a React Native app and get to grips with the basics of React Native development. You'll also discover how packages work and how to install Galio as the main dependency, along with understanding how and why Galio helps you to develop apps with ease. Finally, you'll build three practical and exciting apps using React Native and Galio. By the end of this app development book, you'll have learned how to use Galio to quickly create layouts and set up React Native projects for your personal ideas.
Table of Contents (14 chapters)
close

Creating a Timer

Now that we're done with the Stopwatch screen, it's time to open the Timer.js file and work on our Timer screen. We should dive right in, remove everything, and start importing everything we need for this.

First of all, we all know that at the end of a Timer cycle, there's always a sound playing, letting you know that it has stopped. For that, we need a new package called expo-av. This is an Expo package for dealing with audio. It is quite easy to use, so let's begin by installing it into our project by using the following command:

expo install expo-av

Now that we have installed this, we can start importing everything we'll need to build this component. We'll need a timer component that is quite similar to the Stopwatch. We'll also need to use intervals and date objects to calculate everything, so useEffect and useState will be imperative for our screen.

The difference is that we'll need to let the user input exactly...

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete