Skip to content

Instantly share code, notes, and snippets.

@executeautomation
Created November 14, 2017 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save executeautomation/4c1484cd65abb6e35b4a93d6eeb6ca8c to your computer and use it in GitHub Desktop.
Save executeautomation/4c1484cd65abb6e35b4a93d6eeb6ca8c to your computer and use it in GitHub Desktop.
AppInitialize Xamarin
public static IApp StartApp(Platform platform)
{
if (platform == Settings.Android)
{
return ConfigureApp
.Android
.InstalledApp(Settings.AUTPackageName)
.StartApp();
}
else if(platform == Settings.iOS){
.iOS
.Debug()
.InstalledApp(Settings.AUTPath)
.StartApp();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment