- Followed the README.
- Have the necessary platform-specific app bundle identifiers.
- Design Team have provided the iOS App Icons (20pt, 29pt, 40pt, 60pt & 1024pt).
- App designs are available on Zeplin - (Styles & Fonts).
- GraphQL schema has been created.
- Platform specific:
- iOS - Following feature documents, update the General tab with the required Device (iPhone / iPad) and the Device Orientation (default to Portrait).
Update the App Identifiers throughout the app.
- Open project in Xcode.
- In the General view, update the
Bundle Identifier
with the correct value.
- In Visual Code Studio, update the
applicationId
in android/app/build.gradle, thepackage
in android/app/src/main/AndroidManifest.xml and the folder structure in./android/app/src/main/java
so a new directory is made for each part of the identifier (currently it is: com/thecoreui).
- Open project in Xcode.
- Navigate to the
Images.xcassets
folder within the main project folder (TheCoreUI). - Click on AppIcon, drag & drop the correct icon to match the required size.
- Open project in Android Studio.
- Follow the steps in the link to add the icons.
- Open project in Xcode.
- Navigate to
LaunchScreen.xib
in the main project folder (TheCoreUI). - Update the screen with the new splash screen.
- Follow the steps in the link to add the SplashScreen.
- Login in to AppCenter.
- Click on
Add new app
. - Complete the App Name, OS (Android / iOS) and the Platform (React Native).
- Click on
Build
and connect the repo throughBitBucket
. If it doesn't show, then the repo needs it's permissions amending to show on BitBucket. - A list of available committed branches will show. Click on the
spanner
on the right-hand side. - Configure the settings.
- Complete setup by clicking 'Save and Build'.
- Repeat the above steps (2-7) but for the other Platform.
Check the Feature Documents to see if Crashlytics and Analytics are required.
1. To add [AppCenter](https://docs.microsoft.com/en-us/appcenter) and AppCenter crashes, please follow the guide [here](https://docs.microsoft.com/en-us/appcenter/sdk/getting-started/react-native). 2. To add [Firebase](https://github.com/invertase/react-native-firebase) (Crashlytics and Analytics), please follow the guide [here](https://invertase.io/oss/react-native-firebase/quick-start/existing-project).
- Open Zeplin and navigate through to
Styleguide
. - Locate AppTheme in the styles folder.
- Create files for Colors, FontFamilies, FontSizes, FontWeights and TextStyles within this folder and update using styles from Zeplin.
- When adding colors, where possible, please use the rgba() color option as this makes it easier to update the alpha on it.
- Use these to create the App-specific styles so they override the BaseTheme styles by adding them underneath the
...BaseTheme
.
- Update the TypeDefs file.
- Using the examples in the README_APOLLO. Update all the queries, mutations and implementations to follow the project schema.
WORK IN PROGRESS
- Update the Environment variables in the env-vars.sh file created in Project setup.
- Push the code to AppCenter to make sure it builds on both platforms and that they both open/work as expected i.e. show the Hooray image.