Skip to content

Migration from v1.0.x to v1.1.x

Kirill edited this page Feb 13, 2018 · 5 revisions

The plugin has some changes between v1.0.x and v1.1.x. These changes allow you to use the plugin better and they improve performance and stability.

Initialization

Beginning with v1.1.x the plugin must be initialized for each platform. See more information here.

Navigation

Beginning with v1.1.x you should not use PopupNavigation globally. You should use the instance of the IPopupNavigation. See for more information

PopupPage

Changes

  • IsAnimating to IsAnimationEnabled
  • Task OnAppearingAnimationEnd() to void OnAppearingAnimationEnd() - To use async OnAppearingAnimationEnd method just use Task OnAppearingAnimationEndAsync()
  • Task OnDisappearingAnimationBegin() to void OnDisappearingAnimationBegin() - To use async OnDisappearingAnimationBegin method just use Task OnDisappearingAnimationBeginAsync()

Features

You can see all new features of PopupPage here.

Android Back Button

After updating to v1.1.x popup pages will not disappear when an android hardware back button is pressed. It happens because the plugin has used reflection for overriding an android back button. I think that it has been a dirty code and it has had a lot of problems. See it for adding an android back button support