z-x / pushu.ps Goto Github PK
View Code? Open in Web Editor NEWA simple Svelte app that let's you track your daily push-ups routine
Home Page: https://pushu.ps
A simple Svelte app that let's you track your daily push-ups routine
Home Page: https://pushu.ps
The screen should be active when user is training, but instead it dims and turns of if user doesn't wake it manually by tapping the screen. This can actually freeze the timer and force the user to reload the page.
The solution before was to play a silent hidden video in the background in a loop, but since some iOS update it seem that this solution no longer prevents the screen from dimming.
Current best hope is to wait for Screen Wake Lock API to be implemented in mobile browsers, but this is not going to be anytime soon, especially on iOS. I don't know of any solution that can be implemented right now unfortunately.
Currently the ga() function is used but dataLayer.push method should be used instead: https://support.google.com/tagmanager/answer/7679219?hl=en
Hi!
Cool small app you created there, thanks!
Bit of a feedback:
iOS 13, iPhone X, PWA mode.
A few days ago I noticed that when the app triggers the timer to start, the music stops for some reason. I suspect your app plays some sound, which makes the system to stop all other sounds.
Also for some reason you cannot leave the app without freezing it (menu won't open, timer would stop, etc.).
So every timer forces me to trigger music again and then reboot the app. Kind of annoying :)
Seems to me working out with music turned on is more important than minor sounds.
The first training set on level 1 should have 60 second of breaks, instead it has only 10.
To reproduce:
Effects:
No sounds are playing when countdown finishes and the screens is not dimmed (on iOS at least).
Steps to replicate:
Result on iOS:
App freezes completely and does not react to any tap.
Since the new iOS release the previous method of keeping the screen active no longer works, need to find a new way. Thanks Apple.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.