Skip to content

Commit

Permalink
Merge pull request #3297 from ever-co/develop
Browse files Browse the repository at this point in the history
Merge
  • Loading branch information
Sergemuhundu authored Nov 9, 2024
2 parents 1a1de52 + 3d87810 commit 18c0eb1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 132 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mobile.apps.ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
run: cd apps/mobile && eas build --profile production --platform ios --non-interactive

- name: Publish update
run: cd apps/mobile && eas update --auto --profile production --platform ios --non-interactive
run: cd apps/mobile && eas update --auto --platform ios --non-interactive

- name: Upload App build to App store
run: cd apps/mobile && eas submit --profile production --platform ios --latest --non-interactive
2 changes: 1 addition & 1 deletion .github/workflows/mobile.apps.stage.ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
run: cd apps/mobile && eas build --profile internal --platform ios --non-interactive

- name: Publish update
run: cd apps/mobile && eas update --auto --profile internal --platform ios --non-interactive
run: cd apps/mobile && eas update --auto --platform ios --non-interactive

- name: Upload App build to App store
run: cd apps/mobile && eas submit --profile internal --platform ios --latest --non-interactive
1 change: 1 addition & 0 deletions apps/mobile/.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# NOTE: do NOT ever put here any secure settings! (e.g. Secret Keys)
# We are using react-native-dotenv (.env)


GAUZY_API_URL=https://api.gauzy.co
INVITE_CALLBACK_URL=https://app.ever.team/auth/passcode
EXPO_PUBLIC_SENTRY_DSN=
Expand Down
131 changes: 2 additions & 129 deletions apps/mobile/README.md
Original file line number Diff line number Diff line change
@@ -1,130 +1,3 @@
# Welcome to your new ignited app!

[![CircleCI](https://circleci.com/gh/infinitered/ignite.svg?style=svg)](https://circleci.com/gh/infinitered/ignite)

## The latest and greatest boilerplate for Infinite Red opinions

This is the boilerplate that [Infinite Red](https://infinite.red) uses as a way to test bleeding-edge changes to our React Native stack.

Currently includes:

- React Native
- React Navigation
- MobX State Tree
- TypeScript
- And more!

## Quick Start

The Ignite boilerplate project's structure will look similar to this:

```
ignite-project
├── app
│   ├── components
│   ├── config
│   ├── i18n
│   ├── models
│   ├── navigators
│   ├── screens
│   ├── services
│   ├── theme
│   ├── utils
│   ├── app.tsx
├── test
│   ├── __snapshots__
│   ├── mockFile.ts
│   ├── setup.ts
├── README.md
├── android
│   ├── app
│   ├── build.gradle
│   ├── gradle
│   ├── gradle.properties
│   ├── gradlew
│   ├── gradlew.bat
│   ├── keystores
│   └── settings.gradle
├── ignite
│   └── templates
|    |── app-icon
│   ├── component
│   ├── model
│   ├── navigator
│   └── screen
├── index.js
├── ios
│   ├── IgniteProject
│   ├── IgniteProject-tvOS
│   ├── IgniteProject-tvOSTests
│   ├── IgniteProject.xcodeproj
│   └── IgniteProjectTests
├── .env
└── package.json
```

### ./app directory

Included in an Ignite boilerplate project is the `app` directory. This is a directory you would normally have to create when using vanilla React Native.

The inside of the `app` directory looks similar to the following:

```
app
├── components
├── config
├── i18n
├── models
├── navigators
├── screens
├── services
├── theme
├── utils
├── app.tsx
```

**components**
This is where your reusable components live which help you build your screens.

**i18n**
This is where your translations will live if you are using `react-native-i18n`.

**models**
This is where your app's models will live. Each model has a directory which will contain the `mobx-state-tree` model file, test file, and any other supporting files like actions, types, etc.

**navigators**
This is where your `react-navigation` navigators will live.

**screens**
This is where your screen components will live. A screen is a React component which will take up the entire screen and be part of the navigation hierarchy. Each screen will have a directory containing the `.tsx` file, along with any assets or other helper files.

**services**
Any services that interface with the outside world will live here (think REST APIs, Push Notifications, etc.).

**theme**
Here lives the theme for your application, including spacing, colors, and typography.

**utils**
This is a great place to put miscellaneous helpers and utilities. Things like date helpers, formatters, etc. are often found here. However, it should only be used for things that are truly shared across your application. If a helper or utility is only used by a specific component or model, consider co-locating your helper with that component or model.

**app.tsx** This is the entry point to your app. This is where you will find the main App component which renders the rest of the application.

### ./ignite directory

The `ignite` directory stores all things Ignite, including CLI and boilerplate items. Here you will find templates you can customize to help you get started with React Native.

### ./test directory

This directory will hold your Jest configs and mocks.

## Running Detox end-to-end tests

Read [Detox setup instructions](./detox/README.md).

## Previous Boilerplates

- [2018 aka Bowser](https://github.com/infinitered/ignite-bowser)
- [2017 aka Andross](https://github.com/infinitered/ignite-andross)
- [2016 aka Ignite 1.0](https://github.com/infinitered/ignite-ir-boilerplate-2016)
# Ever Teams Mobile Apps

Ever Teams Mobile Apps (iOS / Android) are built with ReactNative / Expo using [Ignite Boilerplate](https://github.com/infinitered/ignite).
2 changes: 1 addition & 1 deletion apps/mobile/eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"ascAppId": "APPLE_ID_PLACEHOLDER",
"ascApiKeyIssuerId": "APPSTORE_ISSUER_ID_PLACEHOLDER",
"ascApiKeyId": "APPSTORE_API_KEY_ID_PLACEHOLDER",
"ascApiKeyPath": "./AuthKey_8A3H79GTF8.p8"
"ascApiKeyPath": "./AuthKey_R9QZ5LP8NK.p8"
}
}
}
Expand Down

0 comments on commit 18c0eb1

Please sign in to comment.