Location Notifier is a simple cross-platform mobile app that uses React Native framework. The app will notify a user whenever he/she is about to reach a set destination. Moreover, this app supports organizing a favorite list and searching for nearby gas stations or local ATMs. There are also settings to control the alarm. This is useful for those who travel a lot, especially students that don't know if they are close to the destination or may oversleep on the bus.
See more previews here.
- Location notifying: notifies when user is near a selected destination using GPS.
- Map viewing: provides a Google map to look around with markers and route directions.
- Location searching: allows looking for an address using Google API.
- Detailed searching: provides visual map with nearby places to choose from.
- Get nearby Gas stations or local ATMs: allows locating nearby stations with buttons for easy access.
- Manage a favorite list: provides a list to save, label, copy, and edit an address.
- Control the alarm settings: lets user change ringtone, vibration, and notifying range.
- Supports online/offline usage
Go to store for released app.
-
NodeJS (use latest version)
-
Yarn package.
You can download and use the installer from their homepage or install via npm.
npm install -g yarn
Then add to PATH environment:
%USERPROFILE%\AppData\Local\Yarn\bin -
Expo client
yarn global add expo-cli
-
Clone project
git clone https://github.com/manhquynh-github/React-Native-Project.git
-
Install package
git clone https://github.com/manhquynh-github/React-Native-Project.git cd React-Native-Project yarn install
- Connect your android device or turn on Android Emulator
- Open a terminal and run
expo start --localhost - Open another terminal and run
react-native run-android --variant DevMinSdkDevKernelDebug
You can use any text editor to edit source code and any command line program to start the project. These are the recommended development tools.
- Auto Import – automatically finds, parses and provides code actions and code completion for all available imports. Works with Typescript and TSX.
- Auto Import - ES6, TS, JSX, TSX – automatically finds, parses and provides code actions and code completion for all available imports. Works with JavaScript and TypeScript.
- JavaScript (ES6) code snippets – code snippets for JavaScript in ES6 syntax.
- Node.js Modules Intellisense – autocompletes Node.js modules in import statements.
- Path Intellisense Visual Studio Code plugin that autocompletes filenames.
- Prettier - Code formatter – VS Code package to format your JavaScript/TypeScript/CSS using Prettier.
- React Native Tools – provides a development environment for React Native projects. Using this extension, you can debug your code and quickly run react-native commands from the command palette.
- Version Lens – shows the latest version for each package using code lens.
- React Native – a JavaScript mobile framework developed by Facebook which allows developers to build Android and iOS mobile apps using JavaScript and reuse code across web and mobile applications.
- Expo – a set of tools, libraries, and services that let you build native iOS and Android apps by writing JavaScript.
- Native Base – essential cross-platform UI components for React Native.
- React Native Alarm Notification – scheduled alarm and local notification in React Native (Android only).
- React Native Firebase 🔥 – a well tested feature rich modular Firebase implementation for React Native.
- react-native-google-places – iOS/Android Google Places Widgets (Autocomplete, Place Picker) and API Services for React Native Apps.
- react-native-maps-directions – Directions Component for react-native-maps.
- react-native-mauron85-background-geolocation – background and foreground geolocation plugin for React Native and tracks user when app is running in background. Demo & Fork.
- React Navigation – routing and navigation for your React Native apps
- React Redux – official React bindings for Redux.
- Redux – predictable state container for JavaScript apps.
- Redux Persist – persist and rehydrate a redux store.
- MapView (from Expo) – a map component that uses Apple Maps or Google Maps on iOS and Google Maps on Android from react-native-maps.
