Build 2016 - T657 - Instantly Releasing Updates to your React Native Apps

Post on 13-Jan-2017

250 views 0 download

Transcript of Build 2016 - T657 - Instantly Releasing Updates to your React Native Apps

#Build2016

Instantly releasing updates toyour React Native appsJonathan CarterPrincipal Program Manager, Visual Studio

1. React Native apps are offline by design2. Store distribution introduces release

latency3. End user update adoption is unpredictable

Instantly Releasing Mobile UpdatesWhat is currently inhibiting it?

CodePushWhat is it?1. Cloud-hosted mobile

app deployment service

2. Managed via cross-platform CLI

3. Simple, yet comprehensive React Native SDK

Microsoft CodePushGetting started in 6 easy steps1. Install the CLI

2. Create an account

3. Create a CodePush app

4. Install the SDK

5. Consume the API

6. Release an update

npm install –g code-push-cli

code-push register

code-push app add <appName>

rnpm install react-native-code-push

codePush.sync();

code-push release-react <appName> <platform>

Demo

CodePush in action!

1. Full Android support2. Team collaboration3. Staged rollouts4. HockeyApp integration5. VSTS extension for mobile CD6. …

There’s so much more!Additional CodePush features

• Visit http://codepush.tools for more info, including docs and sample apps

• Chat with our team in #code-push on Reactiflux

• Email: joncart@microsoft.com• Twitter: @lostintsangent

Additional Resources

© 2016 Microsoft Corporation. All rights reserved.