OnResume is being called multiple times when app is resumed iOS

OnResume is being called multiple times when the app is resumed from sleeping state. Also, when the app loads for the first time it's being called but the docs say it's only called when it's resumed from sleeping state. I think this is a bug, has anyone run into this? This wasn't happening in older versions. I'm using 2.3.2.127

Tagged:

Answers

  • AdrianKnightAdrianKnight USMember ✭✭✭✭

    You should submit a bug on bugzilla with a repro.

  • DanielIonescuDanielIonescu USMember ✭✭
    edited April 2018

    @SamiyaAkhtar said:
    OnResume is being called multiple times when the app is resumed from sleeping state. Also, when the app loads for the first time it's being called but the docs say it's only called when it's resumed from sleeping state. I think this is a bug, has anyone run into this? This wasn't happening in older versions. I'm using 2.3.2.127

    Hey SamiyaAkhtar, have you opened a bug on this issue? I'm experiencing the same issue with iOS in a .NET Standard 2.0 Xamarin Forms project, version 2.5.1.444934.

    I was thinking currently until there is a better solution to OnResume, to adapt a solution like in this post as a workaround
    forums.xamarin.com/discussion/32272/onresume-event-fires-twice-on-android

Sign In or Register to comment.