Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Andriod update #14

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Andriod update #14

wants to merge 23 commits into from

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.

None yet

4 participants