Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.expo-shared
__tests__
assets clean up Sep 4, 2019
components
constants initial commit Aug 16, 2019
native-base-theme updates android Aug 29, 2019
navigation clean up Sep 4, 2019
screens
server
src
testing
.DS_Store styling on myReceipts Aug 28, 2019
.gitignore
.watchmanconfig initial commit Aug 16, 2019
App.js
Main.js
README.md Update README.md Sep 4, 2019
babel.config.js
google-services.json updates android Aug 29, 2019
package-lock.json Merge branch 'master' of https://github.com/splice-capstone/splice in… Aug 28, 2019
package.json
state.js

README.md

Splice

A real-time multi-user bill splitting mobile app built using React Native and Cloud Firestore. Available on Expo - https://exp.host/@amandamarienelson/splice

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Follow instructions on Firebase/Firestore to start a project and retrieve secret keys

  • Make a project and make two apps, for Android and iOS.
  • After creating Android project, download google-services.json and save in the root directory.
  • In Authentication, under sign-in method, enable Google and Facebook.
  • bundle ID: com.splice.splice

Follow instructions on Taggun to create an account and retrieve API key

Follow instructions on ngrok to create an account and retrieve API key

Follow instrcutions to retrieve API key Facebook OAuth for OAuth purposes

Follow instructions to retrieve API key Google OAuth for OAuth purposes

Create app.json file to include secret keys:

{
  "expo": {
    "name": "splice",
    "slug": "splice",
    "privacy": "public",
    "sdkVersion": "34.0.0",
    "platforms": ["ios", "android", "web"],
    "version": "1.0.0",
    "orientation": "portrait",
    "icon": "./assets/images/splice.png",
    "splash": {
      "image": "./assets/images/splice.png",
      "resizeMode": "contain",
      "backgroundColor": "#ffffff"
    },
    "updates": {
      "fallbackToCacheTimeout": 0
    },
    "assetBundlePatterns": ["**/*"],
    "ios": {
      "supportsTablet": true,
      "bundleIdentifier": "example.expo.googlesignin"
    },
    "extra": {
      "firebaseConfig": {
        "apiKey": " ",
        "authDomain": " ",
        "databaseURL": " ",
        "projectId": " ",
        "storageBucket": " ",
        "messagingSenderId": " ",
        "appId": " "
      },
      "taggunApiKey": " ",
      "iosClientId": " ",
      "androidClientId": " ",
      "facebookApiKey": " ",
      "ngrok": " "
    }
  }
}

Run

npm install
npm start

For push notifications - need three terminals

npm run serve 
ngrok http 3000  

Copy ngrok forwarding port into app.json under extra/ngrok

Example:

"ngrok": "http://a242df62.ngrok.io"  

Authors

Amanda Nelson

Tom Sinovich

Vera Krutsina

License

MIT

Acknowledgments

A thank you to Collin Miller and Manisha Balakumar for guidance with the project and process.

You can’t perform that action at this time.