I have a webpage that I need to launch in the default browser when my Xamarin.Forms application (android and iOS) is launched. I tried to implement this in both OnStart and OnAppearing. The problem is that when I include my code in either of those places, the loading time of the application can increase by as much as 30 seconds. Here is the code I'm trying to execute:
Device.OpenUri(new Uri("Put in a URL here."));
I have tried running this operation asynchronously also, but that didn't help. If I leave that code out of OnStart and OnAppearing and instead put it in a button, the application launches instantaneously, and the website opens immediately after a user hits the button. Any Suggestions?