Commit graph

362 commits

Author SHA1 Message Date
CraftyKoala f2f07b025b
Implementing Android notification channels (#574)
* Implemented a quick solution to utilize channels on android to differentiate notifications.

* Implemented removing of notification channel. Restructured onMessageReceived.
2020-05-04 10:12:05 -04:00
Justin Bassett 8ec9de74eb
Fix crashes that last shortcuts caused. (#576)
* Catch the exceptions because panels call doesn't exists yet.
2020-05-04 10:09:53 -04:00
Aidan Timson d9cd0f502b
Add Panel Shortcuts (#562)
* Add Panel Shortcuts

* Remove unused imports

* Lint

* Cleanup

* Use localised strings for title

* Cleanup logs

* Fix strings

* Change map logic

* Move to connection-status

* Move logic for pinned shortcuts to new activity

* lint

* Reset strings formatting

* Lint

* lint

* Lint

* Remove activity for second fragment and move into directory

* Lint

* Lint

* Lint

* Lexographic
2020-05-04 09:38:39 -04:00
Aidan Timson 2d06dc0e0b
Update gradle to v3.6.2 (#547) 2020-04-04 22:46:14 -04:00
Justin Bassett e28d0fee62
Bugfix/various (#546)
* Catch geocode sensor crashes.

* Remove battery from location sensor.
2020-04-03 08:24:56 -07:00
James Yox 825dd78f1e
Added ChargingBroadcastReceiver which can instantly update plugged in… (#525)
* Added ChargingBroadcastReceiver which can instantly update plugged in status

* Couple formatting changes noticed after pushing. Will squash this message

* Addressed PR Comments

* More PR comments!

* Pulled out logic into SensorUpdater

* Couple thigns I noticed after pushing... because of course I did.

* Removed unnecessary Binds
2020-03-29 14:23:11 -04:00
Jeroen Seegers 4a9c6f0283
Add a seperate battery_state sensor (#530)
* Remove Battery State related information from Battery Level

* Extract determining battery icon to own method

* Update battery icon method with new parameters

* Add second battery sensor, Battery State

* Calculate battery percentage in own method
2020-03-29 08:16:05 -04:00
Justin Bassett f6618527d4
Geocoded Location Fixes (#516)
* Ensure we don't return location in background if not requested.

* Add minimum accuracy to geocoded address.
2020-03-13 22:06:08 -07:00
Justin Bassett 4eae12a586
Make sure sticky settings honored. (#517) 2020-03-13 22:05:37 -07:00
Neonicus ed58752a09
Add Lock/Unlock App with biometric or screenlock credentials (#484) 2020-03-07 08:08:15 -05:00
Tim 43f50f94c7
Add support for additional input triggers for adding ssids. A button has been added and clicking save with a none empty input field will also add the ssid to the list. (#502) 2020-03-06 18:44:32 -05:00
Kevin T. Berstene ecd2af4304
Changed permissions request screen during setup to be scrollable (#500) 2020-03-06 18:41:54 -05:00
Paulus Schoutsen e1d49cbbab
Use same flags for actions as clickAction. (#499) 2020-03-04 19:59:48 -08:00
Justin Bassett 0d829bf451
Fullscreen Video Fix (#491)
Fix for small video size from "Developer Tools> States" when PiP is expanded (back in app)
2020-03-04 13:28:32 -05:00
Justin Bassett 75f9d1e47c
Fullscreen & Keyboard Fix (#492)
Fix fullscreen when virtual keyboard is show
2020-03-04 13:22:45 -05:00
Justin Bassett 5f1c72586b
Support for multiple ssids. (#485)
* Support for multiple ssids.

* Implementation of requested changes.

* Implementation of the official way of showing a custom preference dialog.
2020-03-04 13:16:13 -05:00
sorryusernameisalreadytaken dd815fc9ef
just a "the" instead a "to" (#495)
just a "the" instead a "to"
2020-03-04 09:03:35 -08:00
Justin Bassett 21921c47b2
Make sure tagged releases build... (#482) 2020-02-27 15:44:01 -08:00
Justin Bassett 0302654641
Bump Release Version (#478) 2020-02-26 17:22:14 -05:00
Justin Bassett 1591109dc7
Geocode Sensor. (#476) 2020-02-26 11:19:52 -08:00
Justin Bassett 8a04013cb6
Ensure on click works when sticky is true. (#477) 2020-02-26 11:18:32 -08:00
Justin Bassett 092d0fb152
Bump build and androidx versions. (#475) 2020-02-25 20:13:26 -05:00
Neonicus 8d630d31bc
Add fullscreen support for videos & PIP mode (#471)
* Enable Fullscreen Video & Add PIP

Enable fullscreen video
Add PIP

* Enable Fullscreen Video & Add PIP

Enable fullscreen video
Add PIP

* Enable Fullscreen Video & Add PIP

Change from "26" to "Build.VERSION_CODES.O" in onUserLeaveHint()
2020-02-25 20:09:09 -05:00
Home Assistant Bot d344fb5ef6
Lokalise updates (#468) 2020-02-23 20:28:56 -05:00
Justin Bassett a3e59f204a
Fix build. (#469) 2020-02-23 20:28:31 -05:00
Justin Bassett c630e24ace
Ensure we re-register sensors if we can't update them. (#462) 2020-02-23 18:34:00 -05:00
Justin Bassett a5b5e374d5
Feature/notifications updates (#461)
* Support relative URLs for notifications.
Images, clickAction, and actions URI now support relative to HA urls.

* Add authentication support for relative urls.

* Fix issue with tag causing notifications to not cancel.

* Ensure requestCode is unique.
2020-02-23 18:28:38 -05:00
Justin Bassett e540e1df9c
Add better handling for slow connections. (#455)
* Add better handling for slow connections.

* Add ability to auto close alert on connection.

* Fix linting.

* Only cancel alert if we actually connect.
2020-02-23 18:28:07 -05:00
Justin Bassett 652ac084ff
Better handling of action events. (#456)
* Better handling of action events.
Show toast when we fail to send event and keep notification so you can
retry.

* Extract message string.

* Updated error toast message.
2020-02-23 14:21:08 -08:00
Justin Bassett f5c954b814
Allow front end to force credential refresh. (#457) 2020-02-22 21:13:27 -08:00
Kevin T. Berstene d4cc8d367d
Added ability for widget service calls to contain lists. (#443) 2020-02-21 07:30:29 -05:00
Tim ae167560f3
Prevent the dialog from showing when the state of the activity/fragment has already passed onSavedInstanceState. (#450)
* Prevent the dialog from showing when the state of the activity/fragment has already passed onSavedInstanceState.

* Fix ktlint errors.
2020-02-21 07:27:50 -05:00
Robbie Trencheny e61e7f7dbc Update issue templates 2020-02-17 18:57:59 -08:00
Daniel Shokouhi 315309cb1d
Request a screenshot in the issue template and ask not to delete the template (#428)
* Request a screenshot in the issue

* Add note not to delete the template
2020-02-14 09:28:36 -08:00
Justin Bassett 03096668e2
Really fix firebase release notes location (#424) 2020-02-13 22:05:28 -05:00
Justin Bassett 03478310c0
Build/Release Changes (#423)
* Fix app version in settings.

* Dependency Upgrades

* Enable beta -> production promotion via tag in Travis.

* Fix firebase release notes location.

* Add some logging around what we are building.

* TRAVIS_PULL_REQUEST is a number or false....
2020-02-13 21:44:28 -05:00
Robbie Trencheny fb39094210
Bump version 2020-02-13 15:51:01 -08:00
Robbie Trencheny 4e446fb318
Update strings 2020-02-13 15:50:51 -08:00
JamesWong9 a380e1cb8f
Edit README.md file (#408) 2020-02-13 15:07:41 -08:00
Justin Bassett 465f7153db
Squash bugs (#416)
* Alert when SSL error happens during onboarding.

* Remove 'ok' string and use android default.

* Remove 'ok' string and use android default.
Fixes: https://github.com/home-assistant/home-assistant-android/issues/323

* Use androidx Alert in AuthenticationFragment.

* Linting.

* Ensure we only optimize devices that can.
2020-02-13 11:21:42 -08:00
Justin Bassett 6657a5c3b7
Feature/new release flow (#413)
* Test automatic deploy to play store.

* New release flow with Google Play Beta Support
2020-02-13 11:35:51 -05:00
Kevin T. Berstene e82a6cc9e3
Added catch blocks for bad custom component service data responses (#407) 2020-02-13 01:22:11 -05:00
Klaas Schoute 3da17bb95b
📚 Improve step-by-step environment setup (#404) 2020-02-13 01:20:06 -05:00
Kevin T. Berstene 4f6b93ea4c
Reworked widget appearance and added resizability. (#401) 2020-02-13 00:58:48 -05:00
Robbie Trencheny 8d53a6f87d
Add note about the google-services.json needing both client IDs 2020-02-12 14:57:34 -08:00
shbatm d00e75387f
Allow expandable notifications for long text messages. (#393) 2020-02-12 16:31:52 -05:00
Justin Bassett bbe9d469e7
Ensure activity isn't finishing when showing errors. (#380) 2020-02-11 20:45:13 -05:00
Kevin T. Berstene 21de26d435
Handle bad service json (#377) 2020-02-11 20:01:27 -05:00
Justin Bassett 2ed6fdda52
Make sure registration is required. (#370) 2020-02-11 08:55:26 -08:00
Justin Bassett 0fa443a4fa
Remove quotes from wifi ssid and add '<not connected>' (#371)
* Remove quotes from wifi ssid and add '<not connected>'

* Linting.
2020-02-11 08:55:07 -08:00