I have an application that calls a webview, this application is made on the Xamarin Android and Xamarin IOS.
In Webview android when I access the page the first time the page takes to load, but in the next request is very fast (even after closing and opening the application again), this is because I programmed for webview to keep the cache.
In the UIWebview (IOS) when I access the page the first time page it takes to load, but in the next request is very fast, however when I close the application and open again the first load is slow (as if when closing the application IOS cleaned the cache).
They would know how to help me keep the cache in UIWebView on xamarin IOS, and even when I close the application I have already made access on the page load quickly (as it works on android).
Related
My app is built on laravel + vue js.
Many users started complaining that on iphone devices on both safari and chrome browser, the page reloads automatically after 5 10 sec. And gives error : can't open this page. Also I can see the page load indicator on the browser not completed and the page reloads automatically.
Since I am not able to figure it out where exactly the glitch is therefore not able to share piece of code. Please let me know the required things to share with you.
No matter what I try, I cannot get FFImageLoading disk caching to work in my Xamarin Forms app. I have FadeAnimationEnabled turned on, with a long duration, so that I can easily see when images are cached vs not.
In memory caching is working great, no long fade-in on the second load.
But relaunch the app, and I see the long fade, no caching.
Turn off WiFi, and then no images at all.
I have tried CacheType as both All and Disk
I have CacheDuration set to 30 days
I call both Init() and InitImageSourceHandler() after XF.Init() in AppDelegate (and equivalent on Android)
Images are loaded from remote URL (Google Storage HTTPS)
I use MonkeyCache for other local disk caching with no problems
Configuration:
Both iOS and Android
FFImageLoading 2.4.11
XF 4.7.0
Any input would be much appreciated!
I'm new to mobile app dev, so I'm not sure whether this is Xamarin related, or is it just a general limitation on webview controls, or whether this is specific to Android (only tested it on android...), or whether its me just not understanding the underlying tech thoroughly :)
I'm building an app that has a WebView to some site.
The site is built with AngularJS and utilizes the HistoryAPI for manipulating navigation.
I started experimenting with Xamarin for the implementation.
I used the WebView sample and just updated the url to point to my site.
But it seems the sample is not functioning as it should for navigation.
The CanGoBack getter always returns false on my site and it seems to be related to the historyApi navigation...
One more note - if I bypass the CanGoBack and just call GoBack the view actually goes back to previous page, but of course this is unacceptable...
I Just developed my first app with xamarin forms.
Its an app to collect photos and gps and send it to the server.
Every thing is working except User open the app the main page is loaded. Then he navigates to another page and minimize de app when he opens the app again it is not on the page the user navegated to its on the main page.
I don't know where to start . What could I do?
With 3 levels of abstraction (VS->Mac, Mac->phone/simulator app, app->webview), I'm not sure where to start.
I have cross-plat Xamarin app with nothing more than a webview (in Xamarin.Forms) hosting an external website (I also created). The website & all hosted apps (Windows/Android) perform very well, except on ios-webview. (Safari on ios and phone work fine). However, on ios/hosted-app, a 3 second load takes 60+ seconds.
Hopefully without having to add specific console/debug messages, how do I go about seeing where (in javascript), the time is lost - or what the issue might be?
Thanks,