Search Issue Tracker

Fixed in 2017.1.X

Votes

0

Found in

5.4.2f1

Issue ID

843103

Regression

No

[iOS] OnApplicationPause() gets called twice in a row with the same pauseStatus

iOS

-

When quickly minimizing and restoring an app, OnApplicationPause() gets called twice in a row, followed by two resume calls.

Steps to reproduce:
1) Open the latest attached project.
2) Build for iOS.
3) Run on a device via Xcode.
4) Press the lock button on the device.
5) Quickly unlock the device and return to app.
- The issue might show up already (background turns red in the app), if not, proceed.
6) Minimize the app with the 'Home' button.
7) Tap the app icon to bring it back.
- Repeat 4-7 until the background in the app turns red.

In Xcode's console, notice the 'PAUSE CALLED TWICE' messages, they indicate that OnApplicationPause() gets called twice in a row and has the same pauseStatus (true).

Reproduced on:
5.5.0b8, 5.4.2f1, 5.3.6p7, 5.2.4f1

Devices tested:
iPhone 7 iOS 10.1
iPhone SE iOS 9.3

Comments (4)

  1. wechat_os_Qy0xl-okdVOC72OxcomEpDlf4

    Mar 26, 2019 16:46

    Please backport to 5.6.6

  2. hzn403

    May 28, 2017 04:45

    Please backport to 5.5.3

  3. pako

    Nov 21, 2016 15:06

    Please disregard my previous comment. No problem on Android and in the Editor.

  4. pako

    Nov 17, 2016 19:18

    Same issue on Android and in the Editor.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.