Created
November 14, 2017 08:16
-
-
Save executeautomation/4c1484cd65abb6e35b4a93d6eeb6ca8c to your computer and use it in GitHub Desktop.
AppInitialize Xamarin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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