As a part of the new Expo Orbit project, we need to add a button to the EditorToolbar in order to
allow users to launch their projects with just one click using Expo Orbit.
How
Add "Open with Orbit" button to the EditorToolbar using the expo-orbit:// custom schema
Adds custom-protocol-check dependency to determine if Expo Orbit is installed or not and prompt user to install it if necessary
Update AuthManager to query experiments to determine if we should display the Orbit button
Test Plan
Case 1
The user HAS Obit installed and presses the "Open with Orbit" button
Why
As a part of the new Expo Orbit project, we need to add a button to the
EditorToolbar
in order to allow users to launch their projects with just one click using Expo Orbit.How
EditorToolbar
using theexpo-orbit://
custom schemacustom-protocol-check
dependency to determine if Expo Orbit is installed or not and prompt user to install it if necessaryexperiments
to determine if we should display the Orbit buttonTest Plan
Case 1
The user HAS Obit installed and presses the "Open with Orbit" button
https://github.com/expo/snack/assets/11707729/8146d57d-2f5a-4262-a7a4-31cd1b7f21c5
Case 2
The user DOES NOT HAVE Obit installed, and presses the "Open with Orbit" button
https://github.com/expo/snack/assets/11707729/2ea85073-56fb-4bb9-b102-c4a43552674f