Is there a way to use the Attention module (more specifically vibrations) in the background?
I want to create an App (for myself) that would vibrate with a specific pattern every hour to remind me about drinking water. I don't want there to be any sounds or visual notifications, just the vibrations.
I've tried writing a simple app with onTemporalEvent(), but I got an error saying that the Attention module can't be used within the background context. So I moved vibrations to onBackgroundData(), but that runs only when the App is active, so it won't really work for my use case.
Is such a thing possible?
Can it be somehow achieved with other app types (I've only tried widgets)? From what I understand even using a WatchFace app wouldn't be a solution as they are not allowed to use the Attention module either.
Or maybe there is a way to disable those permission checks when deploying to my own device?
Thanks