You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2024. It is now read-only.
If a GravatarImageSource is used when the app is offline, such as in flight mode, and it has no cached image to display, it throws the exception: Java.Net.UnknownHostException: 'Unable to resolve host "www.gravatar.com": No address associated with hostname'. If the image has already been cached then this problem does not occur.
Run the app on a device with no internet connection
Exception is thrown
Expected Behavior
Should fail gracefully, in my example the GravatarImageSource is used in an AvatarView, and I would expect the avatar view to simply show the Text value until the device has connectivity restored and can obtain the Gravatar.
Actual Behavior
Exception thrown and app terminates.
Basic Information
Version with issue: 1.3.1
Last known good version: n/a
IDE: Visual Studio 2022 Windows
Platform Target Frameworks:
iOS: not tested
Android: 11
UWP: not tested
Android Support Library Version: n/a
Nuget Packages: n/a
Affected Devices: Tested on OnePlus 6
Workaround
Haven't found a workaround. Have tried setting the source in code behind wrapped in a try/catch statement, but the exception is still thrown and the app terminates.