Giter VIP home page Giter VIP logo

monkeyk1n9 / hey-there Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.68 MB

A chat app built with React Native that permit a user to connect to a friend found only in 1km radius around him/her.

Home Page: https://github.com/monkeyK1n9/Hey-There

JavaScript 71.44% Starlark 1.50% Java 13.54% CMake 0.21% C++ 5.68% Shell 0.37% Objective-C 0.30% Objective-C++ 5.12% Ruby 1.83%
android expo firebase react react-native react-native-maps

hey-there's Introduction

Hey There

This is the react native project for Hey There. It is built with expo react native (expo.dev). Hey there is a messaging mobile app, to send text messages to your friends who are 1km maximum away from you.

Screenshots

Here are some screenshots

Splash Screen Onboarding Screen Chat Screen
Map Screen Create Account Home Screen

Introduction

To get started, make sure to install:

  • Android studio, if you want to have an android emulator installed
  • Xcode, for iOS

Setup

You can download the zip, or clone, then run:

yarn install

This will install the necessary packages. The project is built on top of expo SDK 47.

Run prebuild to regenerate the android and ios folders

npx expo prebuild

To start the server and visualise on an emulator, run:

npx expo start

Now you are good to go.

Editing the .env file

This project works with firebase as backend and Google Maps for setting up the MapScreen. To continue development, you will need to provide the following:

// Firebase config
FIREBASE_API_KEY =
FIREBASE_AUTH_DOMAIN =
FIREBASE_PROJECT_ID =
FIREBASE_STORAGE_BUCKET =
FIREBASE_MESSAGING_SENDER_ID =
FIREBASE_APP_ID =

Google-services.json file

Download the google-services.json file from firebase and place it in your project folder (./Hey THere)

Google Maps API

This project uses Google Maps as provider. You will need an API Key to access the map. If you don't have a key, get one here. To obtain an API key,

1- Register a Google Cloud API project and enable the Maps SDK for Android: Open your browser to the Google API Manager and create a project. Once it's created, go to the project and enable the Maps SDK for Android.

2- Copy your app's SHA-1 certificate fingerprint: For Google Play Store: If you are deploying your app to the Google Play Store, you'll need to upload your app binary to Google Play console at least once. This is required for Google to generate your app signing credentials. Go to the Google Play Console > (your app) > Release > Setup > App integrity > App Signing. Copy the value of SHA-1 certificate fingerprint.

3- Create an API key: Go to Google Cloud Credential manager and click Create Credentials, then API Key. In the modal, click Edit API key. Under Key restrictions > Application restrictions, choose Android apps. Under Restrict usage to your Android apps, click Add an item. Add your android.package from app.json (for example: com.company.myapp) to the package name field. Then, add the SHA-1 certificate fingerprint's value from step 2. Click Done and then click Save.

You can now add your API key in your AndroidManifest.xml file

Contributions

Don't hesitate to do a pull request or fire an issue if you see any.

This project is built with ❤️

hey-there's People

Contributors

monkeyk1n9 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.