setup-and-deploy-new-project-to-staging-with-hockeyapp.mo
DEPRECATION
This standard has been deprecated by @felixmeziere on January 28 in favour of [MO] Deploy to staging.
Reason: HockeyApp is meant to be deprecated by AppCenter. AppCenter is the new HockeyApp and there is no loss of functionality.
Owner: Yann Leflour
Prerequisites
Steps
1. Setup your React Native App
react-native init <projectName>
cd <projectName>
# First Commit2. Setup Fastlane
yo rn-toolbox:fastlane-setup
# Second CommitAnswers
Please confirm the project name:
<Press Enter>Commit keystore files?:
YOverwrite :
<Press Enter>
3. Setup Staging Env
yo rn-toolbox:fastlane-env
# Third CommitAnswers
Please confirm the project name:
<Press Enter>The name for this new environment (lowercase, no space):
stagingThe name of your repository Git branch for the environment just set:
<Press Enter>The name of the company which will be publishing this application:
BamThe app name for this environment:
<AppName> SThe App Id for this environment:
tech.bam.<projectname>.stagingWhich platform will you use for deployment?:
HockeyAppThe type of certificate you will be using:
In House (Enterprise only)Your git repo for match:
git@github.com:<TeamRepo>/certificates.gitThe branch you want to use for match:
<Press Enter>The developer.apple.com team id for the certificates:
**redacted**Your apple id:
**redacted**Your keystore password:
<Press Enter>A valid HockeyApp token:
**redacted**
4. Deploy Staging
bundle exec fastlane ios deploy --env=staging
bundle exec fastlane android deploy --env=staging5. Create the download link
Go to smarturl.it
Go to Hockey App with
**redacted**For each app (Android + iOS)
Go to
Manage appGo to
DistributionSelect
Download Page>PublicHit
Save
Create a new link
Default URl:
Trello urlDevice Destination:
iPhone: The Hockey App iOS Download & Feedback
Public Page urliPad: The Hockey App iOS Download & Feedback
Public Page urlAndroid: The Hockey App iOS Download & Feedback
Public Page url
Organize
Custom Alias:
smarturl.it/<projectName>
Troubleshooting
If 'Cloning GitHub repo' takes more than 2 minutes: the github servers may be untrusted Trigering a git clone git@github.com:bamlab/certificates.git will fix it.
Last updated