Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resume event not firing since final v3.0.0 release - was working in the release candidates #4713

Closed
GC-Mark opened this issue Jun 10, 2021 · 2 comments · Fixed by #4712
Closed

Comments

@GC-Mark
Copy link

GC-Mark commented Jun 10, 2021

Bug Report

Capacitor Version

💊   Capacitor Doctor  💊 

Latest Dependencies:

  @capacitor/cli: 3.0.1
  @capacitor/core: 3.0.1
  @capacitor/android: 3.0.1
  @capacitor/ios: 3.0.1

Installed Dependencies:

  @capacitor/cli: 3.0.1
  @capacitor/core: 3.0.1
  @capacitor/android: 3.0.1
  @capacitor/ios: 3.0.1

[success] iOS looking great! 👌
[success] Android looking great! 👌

Platform(s)

iOS
Android

Current Behavior

resume event is not fired when app comes to the foreground

Expected Behavior

resume event should be fired

Code Reproduction

Put this is main.ts

document.addEventListener(
  'resume',
  () => {
    alert('Resumed')
  },
  false
)

This worked fine throughout all the v3 release candidates, but since upgrading to v3.0.0 final, the resume event is no longer triggered.

If I rollback my app to rc4, it works fine again.

Also tested on v3.0.1 and the bug still exists.

@GC-Mark GC-Mark changed the title bug: resume event not firing since final v3.0.0 release - was working in the release candidates Jun 10, 2021
@GC-Mark
Copy link
Author

GC-Mark commented Jun 10, 2021

Just seen #4712 has be has been submitted in between me starting to write this issue, going for my lunch, then submitting the issue 👍 😆

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 11, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants