Commit graph

13 commits

Author SHA1 Message Date
Justin Bassett d747afd37c
Disable minimal publishing. (#699)
* Disable minimal publishing.

* Linting.
2020-08-03 16:45:14 -04:00
Justin Bassett f64fbafd38
Disable Sentry.io for debug builds. (#696) 2020-08-02 14:40:44 -04:00
Justin Bassett b2fd541c9c
Migrate to Sentry and remove Crashlytics (#686) 2020-08-01 09:36:37 -04:00
Justin Bassett bf29174a4a
Minimal Android Flavor (#682)
* Initial rip out of most of the Googley stuff.

* Lokalise plugin and dependencies removed.
They would be more useful if we had a large app with many translations.  However, with most of our UI being a PWA the usefulness of it is very limited.

* Both apps now build.... Yay

* Formatting.

* Tests and checks pass.

* Make sure Github Actions are up to date.

* Fix more unit tests.

* ktLint

* Use config class for gradle dependencies.
2020-07-31 07:46:54 -04:00
chriss158 a7a46787ef
Fix widget service calls with numbers (#640) (#650)
* Widget service calls will fail, if a number for any field is used.
Because the GSON parser will parse every integer to a double.
This is especially a problem on the service alarm_control_panel.alarm_disarm
which needs a code to disarm the alarm panel.
So every code will be converted to .0 (eg. 1234 would be 1234.0)
Solution: Use Jackson instead of gson
GSON problem described here (not fixed):
https://github.com/google/gson/issues/1084
2020-07-07 15:58:51 -04:00
Neonicus 50d80413ce
Authentication Dialog Enhancement (#633)
* Authentication Dialog Enhancement

* Add "Remember" checkbox

* Add button for password visibility
2020-07-07 15:50:37 -04:00
Justin Bassett a455afd8a6
Update Production Release Steps. (#655)
Make it all automated!
2020-07-05 22:27:03 -04:00
Justin Bassett ad64855220
First attempt at CI action (#652)
* First attempt at CI action

* Split lints and test steps.

* Only run validate job on PR.

* First attempt at beta deploy via Github Actions

* Try to archive a debug version of application.

* Use static version of NDK.

* Add ENV variables to building the release.

* Ensure all secrets are used!

* Attempt to publish feature branch.

* Make sure all files are in place first.

* Ensure keystore is still accessible during deployment.

* Update README.md for the lack of automation for now.
2020-07-05 17:48:00 -04:00
Neonicus 756556046a
Fix Biometric Unlock & Enhancement (#625)
* Fix Biometric Unlock
* Add Prompt Unlock function directly in WebViewActivity
* Added session timeout in app settings
* App is locked when resumed (after session timed out)
* When the application is locked, the screen is blurred (no quite obnoxious splash screen to look at), which allows the HA frontend to be loaded before or during unlocking
* No button needs to be touched for unlock
* When the unlock prompt is displayed, the back button close the app
* Fix issues #555 and #587
2020-07-05 10:09:17 -04:00
Justin Bassett b191334309
Update crashlytics. (#624) 2020-06-11 20:49:30 -04:00
Justin Bassett 247cef3c72
Fix lint issues (#618)
* Increase tool version, enable linting again.

* Fix lint errors.

* Ensure ktlint is working.

* Use correct build tools in travis.
2020-06-11 13:15:50 -04:00
Justin Bassett 0f92172fee
Fix build. (#617) 2020-06-10 16:28:09 -04:00
Tim f87ed32560
Feature/switch to kotlin dsl (#595)
* Switch to using Kotlin in of groovy for the gradle configurations.

* Gradle file cleanup.

* Switch to using Kotlin in of groovy for the gradle configurations.

* Gradle file cleanup.

* Retrofit (and maybe others libs) requires java compile options 1.8, still backwards compatible.

* Prep for release 1.9.0-XXX

* Fix ktLint errors.
2020-06-10 15:16:11 -04:00