thecosmicfrog / LuasataGlance

Android Wear and mobile app providing real-time tram stop information for Dublin's Luas light rail service.
https://play.google.com/store/apps/details?id=org.thecosmicfrog.luasataglance
GNU General Public License v3.0
21 stars 5 forks source link

App not displaying times on Huawei Watch running AndroidWear 2.0 #14

Open drstuf opened 7 years ago

drstuf commented 7 years ago

Hi Aaron,

obviously today isn't a good time to report this issue with all RTPI for the Luas being unavailable but I've tried the app on my watch several times in the past month with no joy. Do I need the app on my phone for the AW2.0 version to work?

Thanks, Stuart

drstuf commented 7 years ago

Working fine since I installed the app on my phone

thecosmicfrog commented 7 years ago

Hi Stuart,

Apologies for the delay in getting back - very busy week.

Yes, the current implementation of the Wear app is that a request is sent from the wearable app to the mobile app via a GoogleApiClient message, including what action to take:

https://github.com/thecosmicfrog/LuasataGlance/blob/master/wear/src/main/java/org/thecosmicfrog/luasataglance/activity/StopForecastActivity.java#L359-L390

This is then picked up by the mobile via a listener service which does all the HTTP requests to the server:

https://github.com/thecosmicfrog/LuasataGlance/blob/master/mobile/src/main/java/org/thecosmicfrog/luasataglance/service/WearMessageListenerService.java#L95-L216

You've made a good point though - this isn't exactly expected behaviour since the advent of Android Wear 2.0. Let me keep this bug open and I'll see if I can get a chance to look at it.

Apologies for the inconvenience and confusion. Sincerely appreciate the bug report!

All the best, Aaron

drstuf commented 7 years ago

Cheers Aaron. The app is really useful for me so appreciate all your efforts

Stuart

On Sat, 10 Jun 2017, 13:48 Aaron Hastings, notifications@github.com wrote:

Reopened #14 https://github.com/thecosmicfrog/LuasataGlance/issues/14.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/thecosmicfrog/LuasataGlance/issues/14#event-1118234243, or mute the thread https://github.com/notifications/unsubscribe-auth/AHwkrQeYV9psEHXAkdPWeDUFhwWGxdHuks5sCpCrgaJpZM4Ny2Ln .

thecosmicfrog commented 7 years ago

Great to hear, Stuart! Always nice to be told that. Be sure to let me know if you run into any other issues - happy to fix them.