Skip to content

Conversation

@mishmanners
Copy link

I know there is no longer support for the Android SDK, so how can we better use the HTTPkit for android integration?

stonehouse and others added 23 commits August 29, 2018 19:16
* Added podspec

* Fixed warning
* Added tracking of state changes

When state-change requests are made, we now track which properties are in-flight and dirty, and do not override those properties with new state unless the fetch request was made after the state request had completed.

* Made some models Codable

* Added toggle and fix for coding

Fixed issue with decoding scenes from JSON. Also, added toggle ability, letting you toggle power state without knowing the current value beforehand.
There was an error where Scene state might not be able to be decoded. Also made sure that decoding errors now get passed up rather than throwing it away.
The async API is much faster, but has the downside that it does not indicate when the request times out - it can distinguish between offline and accepted for processing requests though.

We've recently switched the Google and Amazon integrations to this API.
* Add power state to result + update togglePower logic + code cleanup
* Add support for clean cycle

* Add HEV capability support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants