#dwep
DWEP technical update
I've been working on the DWEP app, and have just reviewed the service-worker.js
file, which is central to PWAs
I decided to use a cache first caching/fetching strategy, with a versioned cache, and with some calls (in the install and activate event handlers) to ensure that the latest version of the service worker itself (and therefore cached resources since the cache version number is located in the service worker file) is used as soon as possible
https://codeberg.org/tord/dwep/src/branch/main/service-worker.js
It seems to be the best option and i don't really see any downside to it. The only thing is that i have to update the cache version every time i make an update to the app
#dwep #CacheStrategy #cache #caching #WebDevelopment #PWA #javascript #programming
Questions About Telemetry and Privacy
A more experienced web developer recommended that i add #telemetry to the #dwep web app, but i donβt like the idea of this because of the #privacy issues. He says that without telemetry we are fumbling in the dark, not understanding the user. For example he says it can be useful to see where we loose users.
What are your thoughts on telemetry? Can it be done in an ethical way (like asking for consent)? And what privacy-friendly alternatives are there to using telemetry?
DWEP app project update
In the last four weeks these are the main things i've done:
- The GUI is now showing the completion status for the last 7 days
- Created PWA (added webmanister, service worker)
- Added feedback button plus automatically asking the user for feedback after a number of times of opening the app
- Updated sharing to include a range of days (not just one day), and improved the look/structure of the shared text
- Experimented with PeriodicSync (this will probably not be used since it is very inprecise)
I'm still using localstorage for data persistance, but will probably change to using indexeddb if we decide to continue on the web app (PWA) path
You can try the current (very early) version here: https://tord.codeberg.page/dwep/
Looking for early users for the DWEP app
Hi, the last few months i've been working on the DWEP app project (Daily Wellness Empowerment Program), and i've now created this prototype: https://tord.codeberg.page/dwep/
I'm looking for early users that are interested in trying it out and giving feedback and answering questions so that we can improve the application
Please contact me if you are interested
Now reading Just Enough Research, to use for my work with the #DWEP app | #ux #ux-research #design-research
[DWEP] User and Functional Requirements
Just a quick update to say that i've updated the user reqs and added functional reqs for the DWEP app: https://codeberg.org/tord/dwep/wiki/Home
βThese wellness habits are simple and sustainable" - Michael
https://www.youtube.com/watch?v=V4HNB32WPpM
#dwep #DailyWellnessEnhancementProgram #MentalHealth
DWEP App β Tech framework research - storage and notifications
I've been looking into possible tech platforms for the last week or two. A few people recommended using Ionic, so i've tried it out a bit and also looked into Vue which is one of the front-end frameworks that can be used with Ionic. I've also looked at PWAs
PWA
I've looked at storage and it's not clear what solution is reliable there. It seems to me that the storage could be done with PWA and using localStorage
or indexedDb
. The persistance on iOS is more secure when having installed a PWA than for a website/webapp
Another thing to consider is notificaitons. I haven't looked much into this yet, but from what i can see it's not possible to send background notifications on iOS if there's no app running. On Android it may be possible with periodic background sync on PWAs. We probably need to have an actual app for this to work on iOS. On desktop it's probably not going to work for any platform, but desktop is not the priority. We may want to consider if the user can put notifications outside of the app, to remind them. If we can accept this approach then we can use a PWA and don't have to build on MacOS (required for building apps for iOS)
Ionic
Ionic has it's own storage options, some of which are unreliable and some are difficult to set up. See a discussion here for example
I haven't tried notifications with Ionic, a native app would have to be built for that to work, but the capacitor documentation says it's possible and i guess we can trust that
Other options
A third tech platform/framework alternative that could be interesting is using Flutter. Or i could try Compose Multiplatform (i have studied Compose before and used it a bit)
Summary
- PWA has decent support for storage but no notitifications
- Ionic has notifications, and various storage solutions (not sure what is best)
- Flutter and Compose Multiplatform can be worth looking into
Help wanted: Framework for cross-platform mobile app with notifications?
(This question has also been posted here: https://softwarerecs.stackexchange.com/q/90471/13050 )
Background
I want to create a cross-platform mobile app with notifications and am looking at different options. I'm going to be the only developer, and i've developed on Android previously and am learning JavaScript at the moment. (Here are some notes about the project as a whole: link)
Requirements
- Cross-platform - mainly iOS+Android (bonus: web)
- Free/libre and gratis
- Notifications (to be sent in the morning and evening)
- Local storage
I'm developing on Ubuntu and have access to a Windows computer. MacOS is harder for me to get though. So cross-compiling (or similar) is a bonus, but not a requirement
What i've found so far
I've been looking into PWAs during the last week, but from what i can understand it seems they cannot reliably send background notifications when running through Safari on iOS (see table here). We could require that the iOS user install chrome and install the PWA through there, but i think the user experience would be pretty bad then :(
Question
What framework would you recommend that i use?
(Is Flutter a good fit? What about Tauri 2.0? Is there any way to extend PWAs to ensure notifications can be sent at any time?)
#cross-platform #notification #ProgressiveWebApp #pwa #flutter #programming #SoftwareDevelopment #dwep
Help wanted: Looking for technical platform advice for a mobile app
Now working on another app for Brother Promise (Phap The) in Plum Village. This time for his Daily Wellness Enhancement Program (DWEP)
* https://youtu.be/93npxFQqV-8?si=Yu5CJgoypJJKt013
* https://mentalhealthrevolution.org/files/dwep%20sheet.pdf
* https://codeberg.org/tord/dwep/wiki/Home
I'm thinking of making this as a Progressive Web App (PWA). Maybe Flutter could be an alternative. I lack experience with these things, can anyone advice on what would be a good platform? (I've developed on Android but would like for the app to work on iOS too, and maybe even on desktop browsers as a bonus)
What we need:
* System notifications
* Local data storage
* Sharing through email (or in other ways)
I'm thinking that the app will just run locally (in the browser) and that we will not have any server
So far i've been working on it as a PWA in plain JavaScript. If we use PWA then there are various frameworks that can be used though, can anyone recommend a good framework that fits what we need and is focused on purely client-side apps?
#dwep #programming #SoftwareDevelopment #pwa #ProgressiveWebApp