9/7/2018 4:46 PM Creative Hacking: Delivering React Native App A/B Testing Using CodePush John M. Wargo © Microsoft Corporation. All rights reserved. MICROSOFT.

Slides:



Advertisements
Similar presentations
Meet Jeremy Thake Jeremy recently joined Microsoft as Technical Product Manager for the Visual Studio Developer story for Office 365 development.
Advertisements

Ionic & Cordova crash course Ivan Varga
Session disclaimer This is a point of time view
1/10/2018 9:33 PM Cloud Roadshow © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO.
Make your app a native part of Office with Add-ins
5/15/2018 5:43 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Mobile App Trends: lifecycle, functions, and cognitive
Mobile DevOps Donovan Microsoft 2016
Jeff Hollan / Kevin Lam Program Manager / Principal Program Manager- Microsoft Bringing Logic Apps into DevOps with Visual Studio and monitoring.
Discover the New SharePoint Content Publishing Experiences
Optimizing Microsoft OneDrive for the enterprise
Microsoft Ignite /18/2018 8:30 PM BRK2065
Microsoft Virtual Academy
Mobile DevOps with Visual Studio Team Services and HockeyApp
Extensible Platform Microsoft Dynamics 365
Microsoft Connect /23/2018 5:27 PM
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
Microsoft Ignite /8/2018 6:39 PM
Azure API Management Jothi Prakash A
Microsoft Virtual Academy
Microsoft Azure P wer Lunch
Microsoft Virtual Academy
Monitor your Microservices with Application Insights
Windows Store for Business
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
11/17/2018 6:41 PM BRK3392 Windows 10 servicing explained (WAAS) Deploying Windows as an inplace upgrade Adnan Hendricks Microspecialist
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Microsoft Ignite /20/2018 2:21 PM
MIX 09 11/23/2018 6:07 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Microsoft Build /24/2018 2:25 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Mobile Center and VSTS:​ Better together for your Mobile DevOps
Microsoft Connect /26/2018 6:08 PM
Microsoft Connect /26/2018 6:09 PM
Hosted Web Apps with Windows App Studio
11/27/2018 4:20 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Streamline Manual Testing Using Cordova Simulate
A/B Testing for UWP Apps: Experiment for Success
Modern cloud PaaS for mobile apps, web sites, API's and business logic apps
Learn. Imagine. Build. .NET Conf
12/25/2018 5:11 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Improving JavaScript Frameworks, Edge, & UWP Web Apps
Jeff Hollan / Kevin Lam Program Manager / Principal Program Manager- Microsoft Bringing Logic Apps into DevOps with Visual Studio and monitoring.
Xamarin Test Recorder John Lago Senior Program Manager.
Microsoft Dynamics.
Microsoft Connect /17/2019 9:55 PM
Microsoft Connect /16/ :45 PM
Microsoft Connect /23/ :38 AM
From Development to Production: Optimizing for Continuous Delivery
Microsoft Build /8/2019 6:29 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
From Development to Production: Optimizing for Continuous Delivery
4/11/2019 6:29 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
4/12/2019 5:27 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
4/20/ :00 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
HDInsight Tools for Visual Studio
Build /19/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Microsoft Build /20/ :42 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
What’s new in Visual Studio 2012
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Hello, Minnesota! This is the SPC18 recap.
DEV322 Visual Studio 2005 C# IDE Enhancements
5/6/2019 7:40 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
5/25/2019 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
5/25/2019 2:40 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
5/30/2019 1:59 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Office 365 Development July 2014.
Erik Porter Program Manager ASP.NET Microsoft Corporation
Mark Quirk Head of Technology Developer & Platform Group
Windows Azure John Stallo Principal Program Manager Lead 2-001
What’s New for Developers in Office and SharePoint
11/11/2019 1:15 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Presentation transcript:

9/7/2018 4:46 PM Creative Hacking: Delivering React Native App A/B Testing Using CodePush John M. Wargo © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

ReactiveConf October 27, 2017 Bratislava, Slovakia 9/7/2018 4:46 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

@johnwargo Software Developer, Writer, Presenter, Husband, Father, Geek Principal Program Manager @ Microsoft Part of the team working on Visual Studio Mobile Center Responsible for Microsoft’s JavaScript Mobile tooling: Visual Studio Code Extensions for Cordova and React Native Contributor to the Apache Cordova Project Authored some books on mobile development

Creative Hacking Not some cool methodology for delivering more thoughtfully crafted code. Instead: “Using a tool for a purpose other than for which it was designed.”

React Native A/B Testing What are my options? Deploy two or more versions of my React Native app; use analytics to track user activity in each Mock up two versions of the app with React (or some other framework) then use existing web A/B testing approaches to split the audience across the two versions; use analytics to track user activity in each Utilize something that enables me to deploy one app, but with different content; use analytics to track user activity in each

Microsoft Visual Studio Mobile Center Cloud offering, in Preview today Includes the following services: Build Test Distribute (two options) Push notifications Crash Analytics Expected expansion to include MBaaS services

Visual Studio Mobile Center: CodePush Over the air (OTA) updates to application’s content Supports Apache Cordova and React Native Distribute app with initial content Use Mobile Center command-line interface (CLI) to: Define additional deployment channels Upload content to deployment channels Deploy app updates through the cloud Deploy an update to a percentage of the user population

Using CodePush Client-side: Two Options CodePush automatically checks for updates and applies them Application manually triggers update check depending on application needs App Store Warning: Content update should not change the nature of the application

A/B Testing Using the CodePush CLI Deploy the alternate version using the CLI code-push release-react APP_NAME PLATFORM --rollout 25 code-push release-react APP_NAME PLATFORM –r 25

A/B Testing Another Way Deploy the updated version of the app to CodePush Use Mobile Center push notifications to deliver the CodePush deployment key to the app Application logic triggers CodePush sync using the deployment key Application content refreshes within the ap Use Mobile Center Crashes feature to detect crashes Use Mobile Center Analytics to track user’s activities within the app

The Approach Visual Studio Mobile Center CodePush Service CodePush CLI React Native App (base) React Native App (Revision A) Visual Studio Mobile Center Push Service The ’Cloud’ Smartphone React Native App (Revision B) Visual Studio Mobile Center Crashes & Analytics

9/7/2018 4:46 PM Demo © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Getting the Deployment Key code-push deployment ls <App_Name> -k

Constructor

Push Listener

Resources Visual Studio Mobile Center: Source Code: Blog post https://www.visualstudio.com/vs/mobile-center/ Source Code: https://github.com/jwargo/ReactiveConf-2017 Blog post http://blog.nparashuram.com/2017/09/ab-testing-for-react-native-apps-with.html

9/7/2018 4:46 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.