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.

  • dagwood@vlemmy.net
    link
    fedilink
    English
    arrow-up
    14
    ·
    edit-2
    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.

  • MaxG@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    1 year ago

    Hopefully the feature is added soon, it was one of my favourite features of Apollo

  • ★ L0Wigh@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 year ago

    I would love that too. I’m getting use to wefwef (even with the little lag I’m getting from some action), and that haptic feedback would be a good addition. I really think that Devs might need to look at the possibility of making a standalone app

    • fer0nOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      I think it’s possible on Android but not on iOS. Maybe iOS 17 changed something but I don’t know

      • FrayDabson@vlemmy.net
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        1 year ago

        Yeah I think it might be fixed in the new iOS 17

        I’ve been working on spinning up my own Lemmy and wefwef server. Having some issues but once I get it working I can mess around with it some more.

        • fer0nOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Nice, I‘m happy to hear how that goes :)