Displaying images inside NativeView was bugged before. i.e.: Layering behind the mapview., but it compiled fine and the preview started.
Now after update 0.24, the preview doesnt start properly:
<FileImageSource> like <Image File=... Preview does start
<HttpImageSource> like <Image Url=... preview does NOT start:
not supported in native context
This is the point where my knowledge as a noob stops, and only one of the wise ones could help us
Cheers
Blade
EDIT:
xcode-output of the <HttpImagesSource> inside the <NativeViewHost>:
2016-08-14 11:37:09.847 YZ_Job_V3[2076:1011836] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x1bc79300 h=-&- v=-&- MKMapView:0x1b68e840.height == UIView:0x1b68e730.height>",
"<NSLayoutConstraint:0x1c5c7620 UILayoutGuide:0x1c5c7510'Edge Insets'.top == MKMapView:0x1b68e840.top + 20>",
"<NSLayoutConstraint:0x1c5c77d0 UILayoutGuide:0x1c5c7510'Edge Insets'.bottom == MKMapView:0x1b68e840.bottom>",
"<NSLayoutConstraint:0x1bc79540 'UIView-Encapsulated-Layout-Height' V:[UIView:0x1b68e730(0)]>"
)
I am sorry for the inconvenience this has caused you. Support for <Image /> in <NativeViewHost /> was just implemented. As you have discovered, only loading images from file works. We are working on support for URL as well
Hmm, I dont think so. Since <MapView /> uses the native mapview on Android and iOS, the native view itself would have to be customized. Would be nice if one could though