Giter Club home page Giter Club logo

pick-your-poison's Introduction

Pick you poison (Would you rather) game

Table of Contents

About

Would you rather (Picking between two options) game built with React Native (Expo managed)

Getting Started

  • Clone the repo
git clone [email protected]:yanacompany/pick-your-poison.git
  • Move into the cloned repo directory
cd pick-your-poison
  • Install the packages
npm install
  • Run with the Expo CLI
expo start
  • Run the app on your local machine (Metro Server)
  1. Run on Expo Client App (Found in android/ios playstore)
Scan the QR code above with the Expo app or the camera app on ios
  1. On Mac for Iphone Simulator (Easier if you have Xcode installed)
  • Press the following command
i
  1. On Mac for Android Emulator (Need to have Android Studio installed)
  • Open up android simulator and create/run an avd ("emulated android device")
a
  1. On Windows No instruction yet but should be somewhat the same
  • It is NOT possible to run iphone apps on windows
  1. To Refresh the app/Restart the app you must shake the device for the developer menu to pop up. Press "Reload app"

Prerequisites

npm install -g expo-cli

Improvements

Reduce the app size

Using expo component after you done and want publish with less size or just wan't to use a native library expo give you an option called ExpoKit this also can be used with already build with native code react projects

  1. run command expo eject to add ExpoKit (choose the "ExpoKit" option) (no need to do this if you have copied files manually or using native project)
  2. start expo packager with expo start.Leave this running and continue with the following steps.
  3. link library for android and ios, this command mostly do this react-native link, sometime this will not work and you should do it manually for this means visit expokit PS: Works!! (according to stackoverflow (32mb to 9mb))

Source: Stack Overflow : How to reduce the size of an expo/react-native app on Android

pick-your-poison's People

Contributors

gersly avatar

Stargazers

 avatar

Watchers

 avatar  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.