Pebble AddOn not able to recieve Data since 3.24.2

NomekSan shared this problem 3 weeks ago
Solved

Since the update I don't get any data from Locus to the Pebble.

The other way around still works, I can start a recording from the Pebble and Locus opens when I start the watch App.

The developer of the AddOn identified the new update as the problem.

Comments (8)

photo
1

Good day NomekSan,

I'm in contact with developer of this add-on and issue is little more complicated. Anyway please check Google Play where should be available new version of this add-on that should already work correctly.

photo
1

Hey,

Tank you for the quick response.

I am on a walk right now and started the app on the Pebble. It's working fine at the moment. I received the update.

Thank you two very much.

Best regards

Timo

photo
1

Hi can you please add some more details about this? My RFLKT addon is broken too. :-(

photo
1

This seems to have helped (haven't tested on bike yet, just logcat): https://github.com/liskin/locus-rflkt-addon/commit/2131671c74a7e51ad648555f537ec13a8dc91e7d, in other words instead of using ActionTools.enablePeriodicUpdatesReceiver, I rely on the fixed receiver declared in manifest and propagate the broadcast via local broadcast to any listener instances that the app may have. I wonder what the developer of the Pebble addon had to change. :-/

photo
1

Hello Tomáš,

exactly the same, please read here: http://forum.locusmap.eu/index.php?topic=5720.msg48084#msg48084 . I have to fix it in the manual, sorry for a complications.

photo
1

Hi, thanks for the quick reply. For some bizarre reason my code seems to work even without enablePeriodicUpdatesReceiver, but now that I (think that I) completely understand the issue, I'll put it back just in case.

photo
1

This enable/disable function is needed only in case, you wants to temporary enable/disable receiver that is defined in manifest file. If you don't care, just define receiver in manifest, keep it enabled and that's all, it will work correctly. I'll try to describe it more precisely on GitHub site soon. Sorry for a complications and thanks for fixing your add-on!

photo
1

That's the thing, the receiver in manifest is disabled. But it seems this was just a glitch or something and it was receiving updates even when the addon was closed. Now that I've put {enable,disable}PeriodicUpdatesReceiver back, it behaves better.

(Speaking of fixing my addon, there are issues with the Wahoo RFLKT library that may prevent me from releasing to Google Play unfortunately. I'm running a different version of the addon than released on Play as I seem to be the only one for whom the released version doesn't work. But I'm afraid that if I release this modified thing, it will break for people with current Android. Lack of time to deal with this properly doesn't help. :-()

photo