Giter Site home page Giter Site logo

falnatsheh / react-native-appstore Goto Github PK

View Code? Open in Web Editor NEW

This project forked from birkir/react-native-appstore

0.0 1.0 0.0 26.13 MB

App Store clone in React Native

License: MIT License

Python 0.93% Java 0.93% JavaScript 92.73% Objective-C 1.76% Ruby 2.22% Shell 1.44%

react-native-appstore's Introduction

Build status

App Store demo

This repository contains a sample react-native app with batteries-included. Re-creating the App Store app is a hard thing to do in react native and we wanted to make an attempt.

Disclaimer: This is for demonstration purposes only. Not intended to cause user confusion. Will not be released, used or marketed in any way. Project's solely purpose is to experiment with the abilities and limitations of react native. Pictures in the screenshots below are property of Ueno and can be found on our Dribble and Instagram.

Today screenApp list to detail viewScreenshotsSearch

E2E Testing

This project uses detox to run end-to-end UI testing with jest as test runner under the hood. Some tooling is needed to get started, but the tests will also run on a CI.

Setup tools

brew tap wix/brew
brew install --HEAD applesimutils
npm install -g detox-cli

Run the tests

npm start
gem install xcpretty
detox build --configuration ios.sim.release
detox test --configuration ios.sim.release

Integration, Unit and Code Quality Testing

Code is linted with eslint using airbnb's config and personal opinionated exceptions.

npm run lint

We use jest also for running unit tests with snapshots and enzyme for cases where we want more control.

npm run test

Continuous Delivery

Imgur

The pipeline for continously deliver the app is actually two separate processes integrated seamlessly into one.

Contributors are responsible for running tests locally before pushing to GitHub. This creates smoother experience for both the contributors and the maintainers.

Tests are run automatically in a CI when a pull-request (PR) is created, the pull-request can only be merged when the tests do pass.

Every commit on the master branch will do one of the following after tests have passed:

Native build (binary)

Check if any changes were made to the ./ios folder or if a commit message includes the tag [BUILD]. Do a full native build, sign it and upload it to TestFlight. Upload debug symbols to Sentry.

CodePush build (assets)

Build and pack OTA update via CodePush (if native build was not made). Upload sourcemaps to Sentry.

The TestFlight version of the app is linked to staging code-push key and the AppStore version is linked to production code-push key. Manual promotion can be done after the TestFlight app has been approved for sale.

react-native-appstore's People

Contributors

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