Skip to content

Releases: asleep-ai/asleep-sdk-android

3.0.0 beta

19 Jun 02:34
aae023e
Compare
Choose a tag to compare
3.0.0 beta Pre-release
Pre-release
  • Model H has been applied.

CAUTION: This version is unstable and not recommended for use. It may be discontinued at any time.

2.4.3

19 Jun 01:47
aae023e
Compare
Choose a tag to compare
  • Enhancing State Management with Defensive Coding Practices

2.4.2

14 Mar 02:47
aae023e
Compare
Choose a tag to compare
  • Added AsleepLogger Interface: A new interface, AsleepLogger, has been introduced, featuring four methods: d, e, i, and w.
  • Enhanced Configuration with Logging: The initAsleepConfig function has been updated to include an AsleepLogger parameter as its final argument.
  • Removed Direct Android Log Outputs: In alignment with our new logging approach, direct usage of the Android Log class within the SDK has been removed.

2.4.1

11 Mar 06:42
aae023e
Compare
Choose a tag to compare
  • Added an optional 'isPrivacySensitive' parameter to 'startSleepTracking()' to optionally select the privacy sensitive feature of the AudioRecord. The default is true.

2.4.0

28 Feb 07:07
aae023e
Compare
Choose a tag to compare
  • Add snoring data to Report and Average Stats.
  • Add setPrivacySensitive during Recording.

2.3.1

01 Feb 00:31
aae023e
Compare
Choose a tag to compare

2.3.1 Hotfix

  • Added InterruptedException handling for the "stop tracking" feature.
  • Responses to uploads after "stop tracking" has been initiated will now be ignored.

2.3.0

27 Dec 08:48
aae023e
Compare
Choose a tag to compare
  • Average-stats, sleep_index are added.
  • Added functionality to continue the session.
  • Changed some functions to asynchronous processing.

2.2.2

30 Nov 09:51
de8b3ad
Compare
Choose a tag to compare

Android 14 compatibility has been addressed in the hotfix.

2.2.1

21 Nov 03:13
de8b3ad
Compare
Choose a tag to compare

Fixed obfuscation bug for sessionId in getTrackingStatus.

2.2.0

14 Nov 08:45
de8b3ad
Compare
Choose a tag to compare
  • Audio error handling
    • ERR_AUDIO is called when the internal recordingState doesn’t change after recording start.
    • During sleep tracking, ERR_AUDIO_SILENCED is called if another audio capturing app capture same audio input. And ERR_AUDIO_UNSILENCED is called if the your app's sleep tracking captures the audio.
  • Add developer mode.
  • Add logcat debug logs for development convenience.
  • Remove obfuscation for variable sessionId in getTrackingStatus.
  • Add fields to data class Session, SleepSession and Stat
    • Session: createdTimezone, unexpectedEndTime
    • SleepSession: createdTimezone, unexpectedEndTime
    • Stat: sleepCycle, sleepCycleCount, wasoCount, longestWaso, unstableBreathCount, lightLatency, remLatency, deepLatency