67
submitted 1 year ago by fer0n@lemm.ee to c/wefwef@lemmy.world

Afaik haptic feedback is only possible on Android, not on iOS for web apps. Has something changed there lately? I’d love to have some haptics in the app.

you are viewing a single comment's thread
view the rest of the comments
[-] dagwood@vlemmy.net 15 points 1 year ago* (last edited 1 year ago)

I’m not a wefwef contributor, but I’ve looked through their repo. (I’m also unfamiliar with capabilities of Android PWAs, although a brief look indicates that haptics may be possible on PWAs in Android.)

technical: wefwef appears to be using Ionic Framework to build the PWA. This can integrate with Capacitor to make a native app hosting the PWA, allowing certain native calls from PWA -> host OS, such as triggering haptics.

non-technical: Yes, but it won’t be possible in the PWA: devs will need to package the PWA as an app for App Store / Play Store, and also add some new code to enable haptics.

this post was submitted on 02 Jul 2023
67 points (100.0% liked)

wefwef

4216 readers
1 users here now

wefwef is now Voyager! Subscribe to !voyagerapp@lemmy.world.

founded 1 year ago
MODERATORS