Andotp: Android Wear support

Created on 18 Nov 2017  路  9Comments  路  Source: andOTP/andOTP

In the very distant future I would like to add an Android Wear app to display OTP tokens on a smartwatch.
It should only be able to display tokens, editing and adding should still only be able on the phone.

enhancement

Most helpful comment

Sorry, but the wear support is on ice for now. I don't even have enough time to maintain the main app in the moment, let alone write a new wear app.

All 9 comments

I have recently managed to get a moto 360, its 1st gen so doesn't have android wear 2.0 but It should be fine for having a companion app to the phone app.

I've never done any development on it, so it would still be a long way off but I can have a look at this at some point

Yeah, I have never done anything for Wear as well. This is an ultra-longtime goal ...

I'd like to see this feature and am happy to contribute some time towards it. I've never written any Java or done any android development before, so don't get too excited.

The first hurdle I see is communication between the mother device and the wearable: Google is quite keen to have you use Google Play Services for this (1), which I imagine is out of the question. The alternative is to just use Bluetooth (2), which should be fine as communication between the mothership and wearable would only be required when tokens are added/edited (so my dream of not having to have my phone on me whenever I log in to some service will be fulfilled).

There doesn't seem to be a wealth of information about making Wear applications without using Play Services, so this could be more interesting than I had first imagined.

1 - https://developer.android.com/training/wearables/data-layer/index.html
2 - https://developer.android.com/guide/topics/connectivity/bluetooth.html

While this is still on my TODO list, it is on indefinite hold for now, I want to clean up the codebase of andOTP first. Feel free to look into it but I assume it is gonna be a LOT of work.

The communication without Google Play Services would be extremely difficult but I at the same time don't see a point in trying to do this without them. As far as I know there is currently not really any way of running an Android Wear watch without the Play Services and the Android Wear app on the phone so we might as well use them. This of course would require us to provide a build flavor that excludes them (and with that won't support Android Wear) for F-Droid.

Is there a new timeline for this? Your app is SO much better than google authenticator but the wear support ist really missing for me :(

Sorry, but the wear support is on ice for now. I don't even have enough time to maintain the main app in the moment, let alone write a new wear app.

Thats sad to hear but thanks for the honest answer. I麓ll try to get along without wear support then. Wish you all the best

Did anything change on your time issue?

Not really, and even with more time there are still a lot of more important issues that need to be dealt with.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MartinX3 picture MartinX3  路  4Comments

malnvenshorn picture malnvenshorn  路  4Comments

fakkoweb picture fakkoweb  路  4Comments

BoFFire picture BoFFire  路  4Comments

alonbl picture alonbl  路  7Comments