Giter Club home page Giter Club logo

appetit's Introduction

APPetit

Final version of the app

Installation on OSX

Install Android-SDK brew cask install android-sdk

Export ANDROID_HOME export ANDROID_HOME=/usr/local/Caskroom/android-sdk/{android_sdk version number}

Install OpenJdk8 brew cask install adoptopenjdk/openjdk/adoptopenjdk8

Ensure OpenJdk8 is used export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home

Accept Androind-SDK Licence

cd /usr/local/Caskroom/android-sdk/{android_sdk version number}/tools/bin
yes | sdkmanager --licenses && sdkmanager --update

Get the Google Services Json

  • Sign in to Firebase, then create your project
  • Add a name for your project and select the appropriate settings, then click on Create project.
  • Click Settings icon, then select Project settings
  • In the Your apps card, select the platform for the app you want created.
  • Follow the required steps to add Firebase to your Android app. Here are the steps:
    • Step 1 - Register app
      • Package name : com.mad.customer
      • Create local keystore file from command line : keytool -genkey -v -keystore ~/.android/debug.keystore -alias androiddebugkey -keyalg RSA -keysize 2048 -validity 10000
      • Get the local debug certificate fingerprint : keytool -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore
    • Step 2 - Download config file google-services.json
    • Step 3 - Move google-services.json to {APPetit root folder}/customer/
    • Step 4 - Edit {APPetit root folder}/build.gradle, change classpath to com.google.gms:google-services:4.3.3 (or whatever google tells you)

Build the app

cd {APPetit root folder}/customer/
gradle build  # apk is now located in {APPetit root folder}/customer/outputs/build/apk/debug and {APPetit root folder}/customer/outputs/build/apk/release

appetit's People

Contributors

j4nn0 avatar gallottino avatar guillaumefe 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.