-
Notifications
You must be signed in to change notification settings - Fork 50
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
onHomeIconPressed when app was terminated #1
Comments
I've solved this issue~ Update this line:dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 25 * NSEC_PER_MSEC), dispatch_get_main_queue(), ^{ With this line:dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 450 * NSEC_PER_MSEC), dispatch_get_main_queue(), ^{ I slow down the dispatch delay time and it works~ lol this is my first comment in github, hope my answer can help you~ |
Hey @hannes-k thanks for sharing your observation! I will take a look and see if it can be further optimized (stretching the timeout may result in your app briefly showing a page before responding to the shortcut action). |
I'm not sure how precise that 450ms is - could you please test v1.0.1 of this plugin and see if it's ok as well? Btw, which device are you on? 6S or 6S Plus? |
I was keep testing with different value of ms and 450 is pretty good... |
will test 1.0.1 later~it's 4am in hk... |
Wahaha, go (back) to sleep 👍 |
sosad... not working#1.0.1 oh wait....it works (sometimes) |
@abalonebao Please tty 1.1.0 that should def fix the issue. |
it's weird... not working at 1.1.0 |
Can you share you project with me perhaps? |
Hey @EddyVerbruggen I updated to 1.1.0 and on my iPhone 6s the bug seems to be fixed. Now everything works as expected! Thank you very much! |
👍 |
I can confirm. Works as expected |
Hi,
Is this a known problem?
Best
Hannes
The text was updated successfully, but these errors were encountered: