-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Allow screen to be pinned to prevent babies closing the app #5
Comments
The pin feature in Android has it's own mechanism to escape by pressing back and switch buttons (either side of the home button) at the same time. I recommend relying on that first. |
Welcome, and thanks for being the first person to comment on my little project here :) Yes, the approach put in play definitely still allows for using the default mechanism supported by Android. My experience experimenting with the Baby Dots app was that although it works just fine, the user experience can be clunky and hard to use/remember. Even though Android reminds you of exactly how to escape with a prompt each time you enter screen pinning mode - my experience watching users is that they don't read this, click "ok", and then have no way how to exit this sticky mode. F-Droid has built a new version to be deployed in the next couple of days. Please feel free to let me know once it is released as to whether it works well enough for you and your little one. |
Hello! Always on the look out for interesting baby apps for my one year old to keep him quiet for a bit when he wakes up in the morning 🙂 What you say is fair given a baby is likely to grab the screen and the pin notification can be dismissed by tapping elsewhere on the screen. The other consideration is that like with PianOli that a baby may find it too easy to hit the escape sequence. Although as you say, Baby Dots works pretty well. |
Funny you should mention that. There is a good discussion on the PianOli tracker about how easy or hard it is to unlock. For this reason, in order to implement unlocking in this app, I've taken the code from BabyDots, extracted the functionality for unlocking into something that I can publish as a separate library. My hope is that it will allow easy configuration where parents can choose an unlock mechanism that works for them and their baby and switch easily if one becomes too easily to unlock. Hopefully we can build a little array of user friendly but baby-safe ways to lock the app that works for both BabyDots, BabyPhone, and perhaps even other apps such as PianOli. |
Closing as complete. For some time we've had this featuer now. I've also extracted the code into a common library babydots/immersivelock whcih is now shared by BabyDots, BabyBook, and this repo. |
The Baby Dots allows the screen to be locked, in which case the baby using the phone cannot accidentally close the app and cause damage elsewhere on the device.
I propose this is done by forcing them to tap the hang up button multiple times in succession, with appropriate prompts to any adult using the app so they know to do this.
The text was updated successfully, but these errors were encountered: