Skip to content

Releases: ostrya/PresencePublisher

v2.7.0

25 Nov 18:37

Choose a tag to compare

The main reason for this release was a bug I encountered in my own setup, where I have multiple Wi-Fi networks all connected to the same home network. I sometimes saw disconnect events and then the devices reported being disconnected for hours, even though it was clearly connected. It took some time (and debug logs) to figure out that a new Android feature was to blame.

More recent Android devices can be connected to several Wi-Fi networks at the same time. What happened was that one network got connected, the previous network got disconnected, and since I only tracked "connected" or "not connected", I got stuck on being disconnected. The solution is that devices with SDK 31+ (i.e. Android 12) now track all connected networks at once.

This leads to a ⚠️ breaking change ⚠️ : the connectedWifi message now returns a list instead of a string.

Otherwise only minor changes:

  • update to target SDK 36
  • support for insets in the UI
  • (expected) better logging performance by formatting strings only if the log level is active
  • changes in message context providers to avoid SecurityException due to missing permissions

v2.6.6

27 May 18:07

Choose a tag to compare

  • fixed password setting which broke with v2.6.5 (#77)

v2.6.5

04 May 16:57

Choose a tag to compare

Small release because my Google Dev account was at risk of being closed due to inactivity.

  • new warning about always sending messages without 'conditionContent' (#75)

v2.6.4

02 Oct 06:38

Choose a tag to compare

  • yet another go at fixing #70 : in Android 6 - 11, the wifi name is now also detected at publishing time again
  • fixed wrongly sending messages if no condition matches (#71)

v2.6.3

07 Sep 21:14

Choose a tag to compare

  • fixed more issues with wifi detection in Android 10 and 11 (hopefully #70)

v2.6.2

04 Sep 11:29

Choose a tag to compare

  • fixed issues with wifi detection in Android 10 and 11 (this hopefully fixes #69)

v2.6.1

29 Aug 15:43

Choose a tag to compare

  • fixed bug where changing to night mode sometimes crashed the app

v2.6.0

28 Aug 06:10

Choose a tag to compare

  • messages are now immediately sent when connecting to or disconnecting from a WiFi network (fixes #60)
  • device name can now be sent as message content
  • fixed bug where wifi conditions with wildcards could not be deleted
  • fixed rare race conditions in scheduling logic

v2.5.3

27 Aug 20:33

Choose a tag to compare

  • added support for Android 14

v2.5.2

21 Apr 06:10

Choose a tag to compare

  • had to add BLUETOOTH_CONNECT permission in addition to BLUETOOTH_SCAN (#62)