Coder Social home page Coder Social logo

crowdbotics-apps / fontsize1-dev-8147 Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 33.98 MB

This react_native application was built with Crowdbotics www.crowdbotics.com

Shell 0.57% JavaScript 49.78% Ruby 13.78% Starlark 1.34% Java 1.21% Dockerfile 0.51% Python 23.56% HTML 6.86% CSS 0.29% Objective-C 2.10%

fontsize1-dev-8147's Introduction

Crowdbotics React Native scaffold

After cloning this repo, you will need to install the dependencies:

cd ProjectName

yarn install

Then, you need to install the Podfile:

cd ios

pod install

Installing all dependencies in for development

Please follow this guide and install the correct dependencies for your current OS and the OS that you want to build (iOS or Android)

https://facebook.github.io/react-native/docs/getting-started.html#installing-dependencies

Setup

Google config

There is two files that you need to edit to make work the push notifications, google sign up and other Google Services:

  1. ios/GoogleService-Info.plist
  2. android/app/google-services.json

You need to create a project in firebase console and update all the credentials on both files (current files have invalid credentials)

Also, you will need to modify your URL types in Info, follow this instructions:

Finally, you will need to add GoogleService-Info.plist (file reference) to your iOS project via xcode.

  1. Open fontsize1_dev_8147.xcodeprojin xcode.
  2. Go to main target > Build Phases > Copy Bundle resources
  3. Tap un add button
  4. Search the GoogleService-Info.plistinside ios folder.
  5. Make sure you can see GoogleService-Info.plist inside in xcode. Like this:

Expected project config

Running with React Native CLI

Running android simulator

  1. Activate android emulator following this instructions
  2. react-native run-android from project home folder

Running iOS simulator

  1. Go to ios folder and run pod install (if you don't have pod installed, follow this instructions )
  2. Run react-native run-ios from project home folder.

If you find any compiling problems, try to clean your cache. From the home app folder run:

cd node_modules/react-native/scripts && ./ios-install-third-party.sh && cd ../../../

and

cd node_modules/react-native/third-party/glog-0.3.5/ && ../../scripts/ios-configure-glog.sh && cd ../../../../

Running with Fastlane

Fastlane makes testing, building, and deploying apps easier.

Install fastlane globally (npm i -g fastlane or yarn i -g fastlane). Android and iOS dependencies are the same as React Native CLI.

All fastlane commands are run from the platform directory. For example, Android commands must be run from android/. Fastlane should be executed using bundle exec to ensure dependencies are managed correctly.

The commands for Android and iOS are the same:

  • Run tests: bundle exec fastlane tests
  • Local build: bundle exec fastlane build
  • Build and upload a beta (requires signing): bundle exec fastlane beta
  • Build or promote a release: bundle exec fastlane deploy

Android

Publish an Android app you must first create an app in the Play Console and manually upload an APK. After the first upload run bundle exec fastlane supply init from android/ to sync with the Play store. All future releases will be uploaded automatically.

Android uses tracks. A beta release will build the app and upload to the beta track. Deploying will promote from beta to production.

iOS

CB developers must follow fastlane's codesigning guide for using match. Match will automatically sign iOS builds.

New CB developers should get access to the codesigning repo and run bundle exec fastlane match development from ios/.

Not a CB developer? Create an Apple developer and follow the instructions on codesigning guide to setup your certificates.

fontsize1-dev-8147's People

Contributors

crowdbotics-apps avatar

Watchers

 avatar

fontsize1-dev-8147's Issues

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.