Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] Inconsistent Behavior of OnAppearing and OnDisappearing Methods on iOS When Minimizing App #15807

Closed
Juvelio opened this issue Aug 23, 2023 · 1 comment
Labels
s/unverified New report that has yet to be verified t/bug 🐛

Comments

@Juvelio
Copy link

Juvelio commented Aug 23, 2023

Description

Inconsistent Behavior of OnAppearing and OnDisappearing Methods on iOS When Minimizing App

Steps to Reproduce

  1. Open the application on an iOS device.
  2. Navigate to the page with the implemented OnAppearing() and OnDisappearing() methods.
  3. Observe the correct execution of these methods when navigating between pages.
  4. Minimize the application (tap the home button or use the swipe gesture to go to the home screen).
  5. Maximize the application from the home screen.

Additional Details:

The issue appears to be specific to the iOS platform.
The OnAppearing() and OnDisappearing() methods behave correctly during page navigation.
It seems that the application lifecycle events might not be triggered appropriately upon minimizing and restoring the app.

Issue Description:

Code Snippet:

protected override void OnAppearing()
{
base.OnAppearing();
}

protected override void OnDisappearing()
{
base.OnDisappearing();
}

Expected Behavior

The OnAppearing() and OnDisappearing() methods should consistently execute properly, both when navigating between pages and when minimizing and restoring the application on iOS.

Actual Behavior

After minimizing and then maximizing the application on iOS, the OnAppearing() and OnDisappearing() methods do not execute as expected.

Basic Information

  • Version with issue:
  • Last known good version:
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP:
  • Android Support Library / AndroidX Version:
  • NuGet Packages:
  • Affected Devices:

Environment

Show/Hide Visual Studio info

Build Logs

Screenshots

Reproduction Link

Workaround

@Juvelio Juvelio added s/unverified New report that has yet to be verified t/bug 🐛 labels Aug 23, 2023
@jfversluis
Copy link
Member

Duplicate of #6919

@jfversluis jfversluis marked this as a duplicate of #6919 Aug 24, 2023
@jfversluis jfversluis closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
s/unverified New report that has yet to be verified t/bug 🐛
Projects
None yet
Development

No branches or pull requests

2 participants