The app is freezing after iPhone wake up


#1

Hi everyone,
I have a problem with my app(https://itunes.apple.com/us/app/villaisrael/id1217157430?mt=8).
On the old versions of iOS it was working perfectly.
Now I am using iPhone X, iOS 11.3
I run the app, do whatever I do, then put the device in sleeping mode by pressing the side button. After about 5 minutes, I am waking up the device by swiping up the screen, go to my app and see that it completely frozen, stuck.For testing purposes, I’ve downloaded the following app https://itunes.apple.com/app/monday-delights/id797451618?mt=8 , from showcase section on framework7 website - the same result, it stuck after wake up. What is the problem? Cordova? Framework7? What?!
Help me please!


#2

You need to update F7 to latest, it is due to 11.3 bug iOS 11.3 PhoneGap resume problem


#3

I can’t, my app is huge, it will take me a lifetime to rebuild everything :frowning:


#4

How do I implement this patch https://github.com/framework7io/framework7/commit/ac02ad1514f53ddd47a663f281104049ae59cb52 ?
It will help?


#5

Why you can’t? If it is on v1, then just update it to 1.7.1 which has this patch


#6

Yes, it’s on v1, where can I find v1.7.1?
Thank you!


#7

https://github.com/framework7io/framework7/archive/v1.7.1.tar.gz


#8

Where can I find v1 log? So I can understand what is changed and fix it,
Thank you!


#9

#10

Thank you so much! Now I’m going to have a long, busy days to get everything fixed:)


#11

Can we also patch framework7-react? My (lazy) coworkers complain they have to do monkey patching.


#12

You can actually just copy the code that related to the touch events and put it in your framework7.js file instead of original one. That’s what I did and it works like a charme