Xamarin.Forms 4.7.0.1351 (4.7.0 Service Release 6) Release Notes

Getting Started | What's New | Breaking Changes | API Changes | Blogs | Thank you | Feedback | Open Source

What's New in this Release

Security Advisory

A spoofing vulnerability manifests in Microsoft Xamarin.Forms due to the default settings on Android WebView version prior to 83.0.4103.106. This vulnerability could allow an attacker to execute arbitrary Javascript code on a target system.

For the attack to be successful, the targeted user would need to browse to a malicious website or a website serving the malicious code through Xamarin.Forms.

This update addresses this vulnerability by preventing the malicious Javascript from running in the WebView.

Please see CVE-2020-16873 for details.

Roadmap

  • GitHub #7302 - "Proposal: Simplify Grid Column and Row Definitions" (#10648) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #9178 - "[Spec] Shapes & Paths" (#9218) (#9264) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))

F100s

  • "[REVERTED] GH-7015 - Implemented handle for Placeholder Image" (#8372)
  • "Added DependencyService.RegisterSingleton" (#5287) (added in 4.7.0.813-pre2 (4.7.0 Pre Release 2))
  • "Revert 8372 - Placeholder and Error Images" (#11035) (added in 4.7.0.968 (4.7.0))
  • GitHub #4565 - "[Enhancement] MultiBinding" (#8684)

CollectionView

  • "[Android] Make ItemDecoration implementations accessible" (#8576)
  • "[Tizen] Enhancement CollectionView" (#11255) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • "Add null check when tearing down element in UWP SelectableItemsViewRenderer" (#10923) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • "Avoid using the dequeue mechanism to retrieve header/footer measurement cells on iOS 10" (#10948) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #10294 - "problems with Buttons in Android" (#10893) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #10482 - "CollectionView ItemsLayout Does Not Update in UWP" (#10797) (added in 4.7.0.1080 (4.7.0 Service Release 1))
  • GitHub #10497 - "[Bug] Controls inside CollectionView might flash scrollbar while they're not scrollable" (#10893) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #10503 - "[Bug] ios 10, CollectionView with Grouping and GridItemsLayout Freeze then crash" (#10622) (added in 4.7.0.848-pre3 (4.7.0 Pre Release 3))
  • GitHub #10547 - "[Bug] [UWP] CollectionView items have left/right padding only on UWP" (#10807) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #10862 - "[Bug] UWP: CollectionView in DetailPage of an item" (#10797) (added in 4.7.0.1080 (4.7.0 Service Release 1))
  • GitHub #10987 - "[IndicatorView] Remove experimental flag" (#10998) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #11018 - "[Bug] IndicatorView HideSingle does not work on Android" (#11072) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11091 - "iOS Frame IsClippedToBounds broken [Bug] " (#11129) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11120 - "[Bug] IsClippedToBounds="True" iOS not work" (#11129) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11278 - "[Bug] Frame IsClippedToBound broken on IOS somewhere after 4.6.0.800" (#11129) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11291 - "[Bug] IsClippedToBounds not clipping Image when inside a Frame" (#11129) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #6869 - "CollectionView doesn't resize on orientation change (Android) [Bug] " (#10586)
  • GitHub #7281 - "[Bug] Flickering lines in Android CollectionView in 4.2.0" (#10893) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #7788 - "[Bug] CollectionView ItemsUpdatingScrollMode=KeepLastItemInView not working on iOS" (#10284)
  • GitHub #8361 - "[Bug] [Android] Graphical artifact when scrolling in CollectionView" (#10893) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #8626 - "[Bug] Scroll Bars appear on controls inside a CollectionView" (#10893) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #8870 - "[Bug] CollectionView with HTML Labels Freeze the Screen on Rotation" (#10622) (added in 4.7.0.848-pre3 (4.7.0 Pre Release 3))
  • GitHub #8996 - "[Bug] [iOS] CollectionView doesn't layout correct after rotate & update size" (#10622) (added in 4.7.0.848-pre3 (4.7.0 Pre Release 3))
  • GitHub #9178 - "[Spec] Shapes & Paths" (#9218) (#9264) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #9279 - "[Bug] [UWP] CollectionView selected state not working on UWP" (#10770) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #9578 - "[Bug] [UWP] Selected VisualState not set on CollectionView templated items" (#10770) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #9947 - "While Scrolling up and down the collectionview getting Black dots on Screen" (#10893) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))

Dark Mode/App Themes

  • "[C/X] rename and ungenerify OnAppTheme" (#11012) (added in 4.7.0.968 (4.7.0))
  • "On requested theme changed android" (#10524) (added in 4.7.0.848-pre3 (4.7.0 Pre Release 3))

IndicatorView

  • GitHub #10987 - "[IndicatorView] Remove experimental flag" (#10998) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #11018 - "[Bug] IndicatorView HideSingle does not work on Android" (#11072) (added in 4.7.0.1142 (4.7.0 Service Release 2))

Maps

  • "Add option to show traffic to maps control" (#7881)

Shell

  • "[REVERTED] Add FlyoutBackdrop Color for Shell" (#10730) (added in 4.7.0.848-pre3 (4.7.0 Pre Release 3))
  • "[Shell] Don't remove default routes if that's all there is" (#11416) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • "Hide tabbar if only one tab is present" (#11243) (added in 4.7.0.1080 (4.7.0 Service Release 1))
  • "Remove flyout backdrop color so it can come back as a brush" (#11009) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • "Shell handle clear refactoring" (#9626) (added in 4.7.0.848-pre3 (4.7.0 Pre Release 3))
  • "Update to Latest 2.4 WinUI release" (#10976) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #10126 - "[Bug] TabBar appears on iOS even if TabBarIsVisible is set to False on Shell app" (#10448) (#11124) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #10134 - "Shell Top Tabbar focus issue on IOS devices[Bug] " (#10408)
  • GitHub #10608 - "[Bug] [Shell] [iOS] Locked flyout causes application to freezes when quickly switching between tabs" (#11602) (added in 4.7.0.1260 (4.7.0 Service Release 5))
  • GitHub #10970 - "[Bug] Xamarin Forms Shell - contextual page navigation results in exception" (#11002) (added in 4.7.0.968 (4.7.0))
  • GitHub #11091 - "iOS Frame IsClippedToBounds broken [Bug] " (#11129) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11096 - "[Bug] [UWP] Shell app FlyOutBehavior="Locked" throws System.NullReferenceException after upgrade to 4.7" (#11097) (added in 4.7.0.1080 (4.7.0 Service Release 1))
  • GitHub #11102 - "[Bug] Shell keeps showing menu button in navbar instead of back button in 4.7" (#11264) (added in 4.7.0.1179 (4.7.0 Service Release 3))
  • GitHub #11120 - "[Bug] IsClippedToBounds="True" iOS not work" (#11129) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11244 - "[Bug] BackButtonBehavior no longer displays on the first routed page in 4.7" (#11264) (added in 4.7.0.1179 (4.7.0 Service Release 3))
  • GitHub #11247 - "[Bug] iOS, Shell FlyoutIsPresented not working if set in "navigating" handler" (#11565) (added in 4.7.0.1239 (4.7.0 Service Release 4))
  • GitHub #11266 - "Overlapping labels" (#11375) (#11456) (added in 4.7.0.1239 (4.7.0 Service Release 4))
  • GitHub #11278 - "[Bug] Frame IsClippedToBound broken on IOS somewhere after 4.6.0.800" (#11129) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11291 - "[Bug] IsClippedToBounds not clipping Image when inside a Frame" (#11129) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11348 - "[Bug] UWP Focus Regression from PR #11140" (#11350) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11352 - "[Bug] UWP Bugzilla46458.GridIsEnabled regressed on 4.7..0" (#11350) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11523 - "[Bug] FlyoutBehavior.Disabled removes back-button from navbar in 4.7sr3" (#11526) (added in 4.7.0.1239 (4.7.0 Service Release 4))
  • GitHub #11723 - "[Bug] [iOS] ContentPage in NavigationStack misplaced initially" (#11791) (added in 4.7.0.1351 (4.7.0 Service Release 6))
  • GitHub #11777 - "ios:Page.UseSafeArea="true" makes the content of a page jumping on appearing XF 4.8 [Bug] [IOs] [Shell]" (#11791) (added in 4.7.0.1351 (4.7.0 Service Release 6))
  • GitHub #6373 - "[Bug] [iOS] Shell Displays TabBar when only one ShellContent Present" (#10448) (#11124) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #7856 - "[Bug] Shell BackButtonBehaviour TextOverride breaks back navigation" (#11192) (#8951) (added in 4.7.0.1179 (4.7.0 Service Release 3))
  • GitHub #7856 - "[Bug] Shell BackButtonBehaviour TextOverride breaks back navigation" (#11192) (#8951) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #8546 - "[Bug] [Shell] iOS - BackButtonBehavior Command property not used unless IconOverride or TextOverride properties are set" (#11192) (#8951) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #9178 - "[Spec] Shapes & Paths" (#9218) (#9264) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))

State Triggers

  • "Remove StateTriggersExperimental flag" (#10999) (added in 4.7.0.1080 (4.7.0 Service Release 1))

Visual

  • "Android Beta Builds" (#10937) (added in 4.7.0.1080 (4.7.0 Service Release 1))
  • "Avoid NullReferenceException for MaterialActivityIndicatorRenderer" (#10747) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • "Fix incorrect shadow draw with disabled button" (#10925) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #11091 - "iOS Frame IsClippedToBounds broken [Bug] " (#11129) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11120 - "[Bug] IsClippedToBounds="True" iOS not work" (#11129) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11278 - "[Bug] Frame IsClippedToBound broken on IOS somewhere after 4.6.0.800" (#11129) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11291 - "[Bug] IsClippedToBounds not clipping Image when inside a Frame" (#11129) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #9178 - "[Spec] Shapes & Paths" (#9218) (#9264) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))

Other Enhancements

Features in Preview

Current experimental flags

Are you on the cutting edge? Try out ALL of our experimental features now using these flags! Read more about experimental flags.

  • Shell_UWP_Experimental
  • SwipeView_Experimental
  • CarouselView_Experimental
  • MediaElement_Experimental
  • Markup_Experimental
  • Expander_Experimental
  • Shapes_Experimental

Brushes

Try it with Forms.SetFlags("Brushes_Experimental");

CarouselView

Try it with Forms.SetFlags("CarouselView_Experimental");
  • "[Android] Make ItemDecoration implementations accessible" (#8576)
  • "[Tizen] Enhancement CollectionView" (#11255) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #10987 - "[IndicatorView] Remove experimental flag" (#10998) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #11018 - "[Bug] IndicatorView HideSingle does not work on Android" (#11072) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #6869 - "CollectionView doesn't resize on orientation change (Android) [Bug] " (#10586)

Dual Screen

  • "Dualscreen updates to new apis and add hinge angle for UWP" (#10244)

MediaElement

Try it with Forms.SetFlags("MediaElement_Experimental");
  • GitHub #11071 - "[Bug][IOS] MediaElement null reference throw when page navigated away" (#11084) (added in 4.7.0.1080 (4.7.0 Service Release 1))

Shapes

Try it with Forms.SetFlags("Shapes_Experimental");
  • "[iOS] Added preserve default constructor in Shapes renderers" (#11111) (added in 4.7.0.1080 (4.7.0 Service Release 1))
  • "[X] fix error with x:Name on shapes" (#11021) (added in 4.7.0.968 (4.7.0))
  • "Fixed wrong Rectangle type used in RectangleGeometry (Shapes)" (#11016) (added in 4.7.0.968 (4.7.0))
  • "Moved classes to Xamarin.Forms.Shapes" (#11044) (added in 4.7.0.1080 (4.7.0 Service Release 1))
  • "Verify if Composition Geometry IsTypePresent on UWP" (#11020) (added in 4.7.0.968 (4.7.0))
  • GitHub #11088 - "[Bug][Shapes] Matrix struct is marked EditorBrowsableState.Never" (#11089) (added in 4.7.0.1080 (4.7.0 Service Release 1))
  • GitHub #11113 - "[Bug][iOS] Path: TranslateTransform has no effect on iOS" (#11125) (added in 4.7.0.1080 (4.7.0 Service Release 1))
  • GitHub #11118 - "[Bug] Random crashes VisualElementTracker.UpdateClip" (#11131) (added in 4.7.0.1080 (4.7.0 Service Release 1))
  • GitHub #11132 - "[Bug] [iOS] UpdateClip throws NullReferenceException when the Name of the Mask of the Layer is null" (#11280) (#11420) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11132 - "[Bug] [iOS] UpdateClip throws NullReferenceException when the Name of the Mask of the Layer is null" (#11280) (#11420) (added in 4.7.0.1179 (4.7.0 Service Release 3))
  • GitHub #11137 - "[Bug] UWP - Path object resized to zero height or width crashes ShapeRenderer" (#11139) (added in 4.7.0.1080 (4.7.0 Service Release 1))
  • GitHub #11156 - "[Bug] SIGABRT: Object reference not set to an instance of an object" (#11131) (added in 4.7.0.1080 (4.7.0 Service Release 1))
  • GitHub #11158 - "[Bug] Crash launching existing iOS App" (#11131) (added in 4.7.0.1080 (4.7.0 Service Release 1))
  • GitHub #11265 - "> PaymentTest.UWP.exe! PaymentTest.UWP.App.InitializeComponent.AnonymousMethod__5_0(object sender, Windows.UI.Xaml.UnhandledExceptionEventArgs e) Line 53 C #" (#11271) (added in 4.7.0.1179 (4.7.0 Service Release 3))
  • GitHub #11274 - "[Bug] NullReferenceException in VisualElementTracker.ShouldUpdateClip" (#11280) (#11420) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #9178 - "[Spec] Shapes & Paths" (#9218) (#9264) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))

SwipeView

Try it with Forms.SetFlags("SwipeView_Experimental");
  • GitHub #10679 - "[Bug] SwipeView crash with NullReferenceException" (#11292) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #10908 - "[Bug] [iOS]SwipeView not working on Grouped ListView" (#11055) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11262 - "[Bug] SwipeView with StackLayout Bindable delete item exception Xamarin.Forms.Platform.Android.SwipeViewRenderer" (#11279) (added in 4.7.0.1179 (4.7.0 Service Release 3))
  • GitHub #11374 - "[Bug] [Android] SwipeView in ListView is not working with RippleEffect and Release configuration" (#11380) (added in 4.7.0.1239 (4.7.0 Service Release 4))
  • GitHub #11407 - "[Bug] disposed object. Object name: 'Xamarin.Forms.Platform.Android.SwipeViewRenderer" (#11279) (added in 4.7.0.1179 (4.7.0 Service Release 3))

UWP Shell

Try it with Forms.SetFlags("Shell_UWP_Experimental");
  • "Remove flyout backdrop color so it can come back as a brush" (#11009) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • "Update to Latest 2.4 WinUI release" (#10976) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #10126 - "[Bug] TabBar appears on iOS even if TabBarIsVisible is set to False on Shell app" (#10448) (#11124) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #11091 - "iOS Frame IsClippedToBounds broken [Bug] " (#11129) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11096 - "[Bug] [UWP] Shell app FlyOutBehavior="Locked" throws System.NullReferenceException after upgrade to 4.7" (#11097) (added in 4.7.0.1080 (4.7.0 Service Release 1))
  • GitHub #11120 - "[Bug] IsClippedToBounds="True" iOS not work" (#11129) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11278 - "[Bug] Frame IsClippedToBound broken on IOS somewhere after 4.6.0.800" (#11129) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11291 - "[Bug] IsClippedToBounds not clipping Image when inside a Frame" (#11129) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11348 - "[Bug] UWP Focus Regression from PR #11140" (#11350) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #11352 - "[Bug] UWP Bugzilla46458.GridIsEnabled regressed on 4.7..0" (#11350) (added in 4.7.0.1142 (4.7.0 Service Release 2))
  • GitHub #6373 - "[Bug] [iOS] Shell Displays TabBar when only one ShellContent Present" (#10448) (#11124) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #9178 - "[Spec] Shapes & Paths" (#9218) (#9264) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))

Release History

  • Thursday, August 27, 2020 - Xamarin.Forms 4.7.0.1351 (4.7.0 Service Release 6)
  • Wednesday, August 5, 2020 - Xamarin.Forms 4.7.0.1260 (4.7.0 Service Release 5)
  • Thursday, July 30, 2020 - Xamarin.Forms 4.7.0.1239 (4.7.0 Service Release 4)
  • Wednesday, July 22, 2020 - Xamarin.Forms 4.7.0.1179 (4.7.0 Service Release 3)
  • Wednesday, July 15, 2020 - Xamarin.Forms 4.7.0.1142 (4.7.0 Service Release 2)
  • Wednesday, July 1, 2020 - Xamarin.Forms 4.7.0.1080 (4.7.0 Service Release 1)
  • Wednesday, June 17, 2020 - Xamarin.Forms 4.7.0.968 (4.7.0)
  • Thursday, June 11, 2020 - Xamarin.Forms 4.7.0.937-pre4 (4.7.0 Pre Release 4)
  • Thursday, June 4, 2020 - Xamarin.Forms 4.7.0.848-pre3 (4.7.0 Pre Release 3)
  • Tuesday, May 19, 2020 - Xamarin.Forms 4.7.0.813-pre2 (4.7.0 Pre Release 2)
  • Thursday, May 14, 2020 - Xamarin.Forms 4.7.0.773-pre1 (4.7.0 Pre Release 1)

Thursday, August 27, 2020 - Xamarin.Forms 4.7.0.1351 (4.7.0 Service Release 6)

Issues Fixed

  • GitHub #11723 - "[Bug] [iOS] ContentPage in NavigationStack misplaced initially" (#11791)
  • GitHub #11777 - "ios:Page.UseSafeArea="true" makes the content of a page jumping on appearing XF 4.8 [Bug] [IOs] [Shell]" (#11791)

Additional fixes included in this release

  • "[Android] Enable SetSupportMultipleWindows on WebView" (#11755)

Wednesday, August 5, 2020 - Xamarin.Forms 4.7.0.1260 (4.7.0 Service Release 5)

Issues Fixed

  • GitHub #10608 - "[Bug] [Shell] [iOS] Locked flyout causes application to freezes when quickly switching between tabs" (#11602)

Thursday, July 30, 2020 - Xamarin.Forms 4.7.0.1239 (4.7.0 Service Release 4)

Issues Fixed

Wednesday, July 22, 2020 - Xamarin.Forms 4.7.0.1179 (4.7.0 Service Release 3)

Issues Fixed

  • GitHub #11102 - "[Bug] Shell keeps showing menu button in navbar instead of back button in 4.7" (#11264)
  • GitHub #11132 - "[Bug] [iOS] UpdateClip throws NullReferenceException when the Name of the Mask of the Layer is null" (#11280) (#11420)
  • GitHub #11244 - "[Bug] BackButtonBehavior no longer displays on the first routed page in 4.7" (#11264)
  • GitHub #11259 - "[Bug] UWP ScrollView Entry's text is blank until a tap on it" (#11351)
  • GitHub #11262 - "[Bug] SwipeView with StackLayout Bindable delete item exception Xamarin.Forms.Platform.Android.SwipeViewRenderer" (#11279)
  • GitHub #11265 - "> PaymentTest.UWP.exe! PaymentTest.UWP.App.InitializeComponent.AnonymousMethod__5_0(object sender, Windows.UI.Xaml.UnhandledExceptionEventArgs e) Line 53 C #" (#11271)
  • GitHub #11407 - "[Bug] disposed object. Object name: 'Xamarin.Forms.Platform.Android.SwipeViewRenderer" (#11279)
  • GitHub #11431 - "[Bug] [MacOS] Button BackgroundColor is not working for buttons on Xamarin.Mac" (#11438)
  • GitHub #7856 - "[Bug] Shell BackButtonBehaviour TextOverride breaks back navigation" (#11192) (#8951)
  • GitHub #8787 - "[Bug] Entry text initially invisible on UWP" (#11351)

Wednesday, July 15, 2020 - Xamarin.Forms 4.7.0.1142 (4.7.0 Service Release 2)

Issues Fixed

Additional fixes included in this release

  • "[Shell] Don't remove default routes if that's all there is" (#11416)
  • "[Tizen] Enhancement CollectionView" (#11255)
  • "Avoid NullReferenceException for MaterialActivityIndicatorRenderer" (#10747)

Wednesday, July 1, 2020 - Xamarin.Forms 4.7.0.1080 (4.7.0 Service Release 1)

Issues Fixed

Additional fixes included in this release

  • "[iOS] Added preserve default constructor in Shapes renderers" (#11111)
  • "Android Beta Builds" (#10937)
  • "Hide tabbar if only one tab is present" (#11243)
  • "Moved classes to Xamarin.Forms.Shapes" (#11044)
  • "Remove StateTriggersExperimental flag" (#10999)

Wednesday, June 17, 2020 - Xamarin.Forms 4.7.0.968 (4.7.0)

Issues Fixed

Additional fixes included in this release

  • "[C/X] rename and ungenerify OnAppTheme" (#11012)
  • "[X] fix error with x:Name on shapes" (#11021)
  • "Fixed wrong Rectangle type used in RectangleGeometry (Shapes)" (#11016)
  • "Revert 8372 - Placeholder and Error Images" (#11035)
  • "Verify if Composition Geometry IsTypePresent on UWP" (#11020)

Thursday, June 11, 2020 - Xamarin.Forms 4.7.0.937-pre4 (4.7.0 Pre Release 4)

Issues Fixed

  • GitHub #10126 - "[Bug] TabBar appears on iOS even if TabBarIsVisible is set to False on Shell app" (#10448) (#11124)
  • GitHub #10294 - "problems with Buttons in Android" (#10893)
  • GitHub #10405 - "[Bug] string.Empty causes InvalidOperationException($"Cannot convert "{value}" into {typeof(Color)}")" (#10762)
  • GitHub #10497 - "[Bug] Controls inside CollectionView might flash scrollbar while they're not scrollable" (#10893)
  • GitHub #10547 - "[Bug] [UWP] CollectionView items have left/right padding only on UWP" (#10807)
  • GitHub #10750 - "[Enhancement] Support StringFormat on MultiBinding" (#10992)
  • GitHub #10777 - "[Bug] Improve error message when XmlnsDefinition is wrong" (#10791)
  • GitHub #10822 - "[Bug] Setting MultiBinding StringFormat results in InvalidOperationException" (#10992)
  • GitHub #10909 - "[Bug] UWP DatePicker andTimePicker Focus() function does not open the popup to set the date/time" (#10916)
  • GitHub #10961 - "With Forms 4.7.0 Pre-Releases most of the the images in the UWP version of my app are not displayed" (#10974)
  • GitHub #6373 - "[Bug] [iOS] Shell Displays TabBar when only one ShellContent Present" (#10448) (#11124)
  • GitHub #7281 - "[Bug] Flickering lines in Android CollectionView in 4.2.0" (#10893)
  • GitHub #7856 - "[Bug] Shell BackButtonBehaviour TextOverride breaks back navigation" (#11192) (#8951)
  • GitHub #8361 - "[Bug] [Android] Graphical artifact when scrolling in CollectionView" (#10893)
  • GitHub #8546 - "[Bug] [Shell] iOS - BackButtonBehavior Command property not used unless IconOverride or TextOverride properties are set" (#11192) (#8951)
  • GitHub #8626 - "[Bug] Scroll Bars appear on controls inside a CollectionView" (#10893)
  • GitHub #8836 - "[Bug] ClearButtonVisibility.Never does not take effect on UWP" (#9250)
  • GitHub #9279 - "[Bug] [UWP] CollectionView selected state not working on UWP" (#10770)
  • GitHub #9578 - "[Bug] [UWP] Selected VisualState not set on CollectionView templated items" (#10770)
  • GitHub #9947 - "While Scrolling up and down the collectionview getting Black dots on Screen" (#10893)

Additional fixes included in this release

  • "Add null check when tearing down element in UWP SelectableItemsViewRenderer" (#10923)
  • "Avoid using the dequeue mechanism to retrieve header/footer measurement cells on iOS 10" (#10948)
  • "Fix incorrect shadow draw with disabled button" (#10925)
  • "Remove flyout backdrop color so it can come back as a brush" (#11009)
  • "Update to Latest 2.4 WinUI release" (#10976)

Thursday, June 4, 2020 - Xamarin.Forms 4.7.0.848-pre3 (4.7.0 Pre Release 3)

Issues Fixed

  • GitHub #10503 - "[Bug] ios 10, CollectionView with Grouping and GridItemsLayout Freeze then crash" (#10622)
  • GitHub #10834 - "[Bug] some issues with ResourceDictionary" (#10864)
  • GitHub #8870 - "[Bug] CollectionView with HTML Labels Freeze the Screen on Rotation" (#10622)
  • GitHub #8996 - "[Bug] [iOS] CollectionView doesn't layout correct after rotate & update size" (#10622)

Additional fixes included in this release

  • "On requested theme changed android" (#10524)
  • "Shell handle clear refactoring" (#9626)

Tuesday, May 19, 2020 - Xamarin.Forms 4.7.0.813-pre2 (4.7.0 Pre Release 2)

Issues Fixed

Additional fixes included in this release

  • "[Maps] Execute Map.Pins CollectionChanged handling on the main thread (#5866) fixes #5865" (#5866)

Thursday, May 14, 2020 - Xamarin.Forms 4.7.0.773-pre1 (4.7.0 Pre Release 1)

Issues Fixed

  • GitHub #10134 - "Shell Top Tabbar focus issue on IOS devices[Bug] " (#10408)
  • GitHub #10168 - "[Bug] (Uwp) - OnResume - ToolbarItems - are invisible after suspend and resuming the app" (#10161)
  • GitHub #5322 - "The rate parameter in IAnimatable.Animate() method doesn't take effect" (#9856)
  • GitHub #6869 - "CollectionView doesn't resize on orientation change (Android) [Bug] " (#10586)
  • GitHub #7788 - "[Bug] CollectionView ItemsUpdatingScrollMode=KeepLastItemInView not working on iOS" (#10284)
  • GitHub #8093 - "[Bug] macOS is using unusual button style" (#9963)
  • GitHub #8783 - "[Bug] (UWP) Font Icons disappear after idle interval" (#10161)
  • GitHub #9249 - "[Bug] [UWP] FontImageSource Disappeares on UWP after screen lock for few seconds" (#10161)
  • GitHub #9838 - "[Bug] [WPF] Picker does not respect BackgroundColor" (#9843)
  • GitHub #9962 - "[Bug] NSException thrown when calling NSColor.ControlBackground.ToColor()" (#10122)

Additional fixes included in this release

  • "[Android] Make ItemDecoration implementations accessible" (#8576)
  • "[core] lazy load Assembly-level attributes for CSS" (#8976)
  • "[core] Profile is off by default, save 56KB of allocations" (#8963)
  • "[WPF] Use project style SDK; target netcoreapp3.0" (#7063)
  • "Add option to show traffic to maps control" (#7881)
  • "Dualscreen updates to new apis and add hinge angle for UWP" (#10244)
  • "Fix vsmac uwp targets" (#10479)
  • "Remove all uses of md5" (#10028)
  • "Set Unit Test Projects to add when built from source or nuget" (#10081)

Breaking Changes

  • "[core] lazy load Assembly-level attributes for CSS" (#8976)
  • "Moved classes to Xamarin.Forms.Shapes" (#11044) (added in 4.7.0.1080 (4.7.0 Service Release 1))
  • GitHub #10294 - "problems with Buttons in Android" (#10893) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #10497 - "[Bug] Controls inside CollectionView might flash scrollbar while they're not scrollable" (#10893) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #7281 - "[Bug] Flickering lines in Android CollectionView in 4.2.0" (#10893) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #8361 - "[Bug] [Android] Graphical artifact when scrolling in CollectionView" (#10893) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #8626 - "[Bug] Scroll Bars appear on controls inside a CollectionView" (#10893) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #9947 - "While Scrolling up and down the collectionview getting Black dots on Screen" (#10893) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))

Namespace Xamarin.Forms.Internals

Type Changed: Xamarin.Forms.Internals.Registrar

Removed method:

public static void RegisterStylesheets ();

Namespace Xamarin.Forms.Platform

Type Changed: Xamarin.Forms.Platform.Resource

Type Changed: Xamarin.Forms.Platform.Resource.Style

Removed field:

public static int collectionViewStyle;

Namespace Xamarin.Forms.Platform.Android

Type Changed: Xamarin.Forms.Platform.Android.Resource

Type Changed: Xamarin.Forms.Platform.Android.Resource.Style

Removed field:

public static int collectionViewStyle;

Assembly Version Changed: 2.0.0.0 vs 0.0.0.0

API Changes

See all API Changes here.

  • "[core] lazy load Assembly-level attributes for CSS" (#8976)
  • "[REVERTED] Add FlyoutBackdrop Color for Shell" (#10730) (added in 4.7.0.848-pre3 (4.7.0 Pre Release 3))
  • "[REVERTED] GH-7015 - Implemented handle for Placeholder Image" (#8372)
  • "Added DependencyService.RegisterSingleton" (#5287) (added in 4.7.0.813-pre2 (4.7.0 Pre Release 2))
  • "Moved classes to Xamarin.Forms.Shapes" (#11044) (added in 4.7.0.1080 (4.7.0 Service Release 1))
  • "On requested theme changed android" (#10524) (added in 4.7.0.848-pre3 (4.7.0 Pre Release 3))
  • "Remove flyout backdrop color so it can come back as a brush" (#11009) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • "Revert 8372 - Placeholder and Error Images" (#11035) (added in 4.7.0.968 (4.7.0))
  • GitHub #4565 - "[Enhancement] MultiBinding" (#8684)
  • GitHub #5322 - "The rate parameter in IAnimatable.Animate() method doesn't take effect" (#9856)
  • GitHub #7302 - "Proposal: Simplify Grid Column and Row Definitions" (#10648) (added in 4.7.0.937-pre4 (4.7.0 Pre Release 4))
  • GitHub #8258 - "[Bug] Switch ThumbColor is broken" (#8271) (added in 4.7.0.813-pre2 (4.7.0 Pre Release 2))
  • GitHub #8263 - "[Enhancement] Add On/Off VisualStates for Switch" (#8271) (added in 4.7.0.813-pre2 (4.7.0 Pre Release 2))

Blogs

Xamarin Blogs

Thank you

Thank you to our community for helping to make Xamarin.Forms even better!

This release, we received amazing contributions from these individuals. Give them a big round of applause!

Author Commit PR
Alex West (@Pandalink) [UWP] Physical mouse back button should use OnBackButtonPressed page override (#10346) fixes #10324 #10346
Andrei (@AndreiMisiukevich) fixed typo (#9864) #9864
Andrei (@AndreiMisiukevich) NuGet Icon switch to PackageIcon (#9863) fixes #8619 #9863
Andrei (@AndreiMisiukevich) [Bug] Disabled Expander doesn't change its visual appearance (#10461) fixes #10362 #10461
bill2004158 (@bill2004158) #9012: [Enhancement] Allow extend GroupableItemsViewAdapter (#10521) #10521
Bobface (@Bobface) Add support for animation rate parameter (#9856) fixes #5322 #9856
Brayan Khosravian (@BrayanKhosravian) [UWP] Images - when the uwp app suspends and resumes again the image source should be reupdated as uwp replaces images with transparent images onResume (#10161) fixes #8783 fixes #9249 fixes #10168 #10161
Brian Macomber (@bmacombe) [Bug] Fix ClearButtonVisibility.Never does not take effect on UWP (#9250) #9250
Brian Macomber (@bmacombe) Fix 8503, 8787 - text in Entry not immediately visible, or visible after IsVisible set to true (#11140) #11140
Brian Macomber (@bmacombe) [UWP] Remove Focus call when setting FormsTextBox Vertical Alignment (#11350) #11350
Brian Macomber (@bmacombe) [UWP] Fixes 8787 Entry text not visible until focus or window resize (#11351) #11351
Brian Macomber (@bmacombe) [UWP] FormsTextBox clean up OnApplyTemplate (#11285) #11285
Chris van de Steeg (@csteeg) [Core] Stylesheets on page level now always override parent stylesheets (#6772) fixes #5812 #6772
Daniel Hindrikes (@dhindrik) 7856 - Shell BackButtonBehaviour TextOverride breaks back navigation (#8951) #8951
David Whetstone (@humblehacker) [iOS] Failed to marshal HeaderWrapperView (#10759) fixes #9711 #10759
Dionysis Chasakis (@ChasakisD) Change accessibility modifiers for ItemDecorations (#8576) #8576
Durgesh Khandal (@techduggu) Add On/Off VisualStates for Switch (#8271) #8271
Eder Cardoso (@ederbond) Fix SwipeView crash with NullReferenceException (#11292) #11292
Erlend Angelsen (@modplug) Update ItemsUpdatingScrollMode when element loaded on iOS (#10284) fixes #7788 #10284
Felipe Baltazar (@felipebaltazar) Shell handle clear refactoring (#9626) #9626
Fredy Adriano Jimenez Martinez (@fredyadriano90) On requested theme changed android (#10524) #10524
Joe Manke (@jcmanke) [Maps] Execute Map.Pins CollectionChanged handling on the main thread (#5866) fixes #5865 #5866
Kangho Hur (@rookiejava) [Tizen] Adds ActiveBezelElement to Application (#10644) #10644
Kangho Hur (@rookiejava) [Tizen] Make ActiveBezemElement as readonly (#10655) #10655
Kangho Hur (@rookiejava) [Tizen] Load image sync in case of FileImageSource (#10782) #10782
Kangho Hur (@rookiejava) [Tizen] Update the CellRenderer for extensibility (#10938) #10938
Kangho Hur (@rookiejava) [Tizen] Improve the SwitchCell performance (#10952) #10952
Kangho Hur (@rookiejava) [Tizen] Enhance the Page.ToolbarItem (#11015) #11015
Kangho Hur (@rookiejava) [Tizen] Ensure the update of color after theme style changing (#11080) #11080
Konrad Müller (@krdmllr) [WPF] Use project style SDK; target netcoreapp3.0 (#7063) fixes #5092 #7063
Mike Mostachetti (@mjmostachetti) Including file for testing issue 9451 (#11567) #11567
Pedro Jesus (@pictos) GH-7015 - Implemented handle for Placeholder Image (#8372) #8372
Peter Moore (@legistek) Gh4565 multibinding (#5) (#8684) #8684
Seungkeun Lee (@myroot) Fix Native.ListView Header/Footer padding issue (#10768) #10768
Seungkeun Lee (@myroot) [Tizen] Fix TableViewRenderer on Tizen wearable device (#10911) #10911
Seungkeun Lee (@myroot) [Tizen] Fix initialize of Device Independent Pixel option (#11070) #11070
Seungkeun Lee (@myroot) [Tizen] Enhancement CollectionView (#11255) #11255
shmin (@shyunMin) [Tizen] Optimize and enhance UI controls for watch (#10678) #10678
Sören Nils Kuklau (@chucker) [macOS] Set default bezel style for button (#9963) #9963
Soundman32 (@Soundman32) Added DependencyService.RegisterSingleton (#5287) #5287
tomeverin (@tomeverin) Avoid NullReferenceException Under Some Conditions (#10747) #10747
Yann Zahringer Ferrando (@YZahringer) fix double tap on uwp (#10078) #10078
Yuriy Holembyovskyy (@yurkinh) [WPF] Picker does not respect BackgroundColor (#9843) fixes #9838 #9843
Yuriy Holembyovskyy (@yurkinh) [UWP] Fix SearchBar disposing (#10798) #10798
Yuriy Holembyovskyy (@yurkinh) [UWP] Fix Stepper disposing (#10795) #10795
Yuriy Holembyovskyy (@yurkinh) Added Dispose method for ButtonRenderer (#10793) #10793

Feedback welcome

Your feedback is important to us. If there are any problems with this release, check the Xamarin.Forms Forums and GitHub for existing issues. Report new issues and suggestions on GitHub.

Open Source

Xamarin.Forms 4.7.0 is based on the open-source Xamarin.Forms repository: