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

Add shortcut support #86

Merged
merged 8 commits into from
Mar 18, 2021
Merged

Add shortcut support #86

merged 8 commits into from
Mar 18, 2021

Conversation

jeroen1602
Copy link
Owner

This is still in beta though

closes #8

Updated gradle.
Added support for receiving a mac address state change intent.
Split up code even more to minimize re-use.
@jeroen1602 jeroen1602 self-assigned this Dec 8, 2020
@philhzss
Copy link

Hey jeroen1602, absolute love your app and use it daily!! Was just actually looking for a way to "combine" the two base stations into one button, and found this reference to "shortcut" so I'm wondering, Even though this is beta, can I still update my android app to the beta version?
Thanks for the fantastic app!!

@jeroen1602
Copy link
Owner Author

I haven't really released a beta release, but you can always build the app yourself if you know how.

I might create a beta testers option in the Google Play store (and on Github) once I got this feature a bit more stable.

Also it doesn't work for groups of lighthouses yet, so only 1 lighthouse at a time (see #7)

@philhzss
Copy link

I see, thank you! I have made a little android app for myself a while back, so I'm sure I can figure out how to built it with your instructions, I'll give it a try. Hadn't thought of that. Thank you!!

Added method to check if shortcuts are supported by the system.
Added warning dialog before enabling shortcut support.
Handled error when on scan is called without a Bluetooth adapter existing.
Renamed the shortcut class to avoid confusion with keyboard shortcut handler build in.
Generate random color for a shortcut of the action is null.
Added missing `Platfom.isAndroid` guard in BasePage.dart.
Upstream should be a list of `Object?` and not `Object`, not every item in the list should have to return an object.
@jeroen1602 jeroen1602 merged commit 63b3b35 into master Mar 18, 2021
@jeroen1602 jeroen1602 deleted the 8_add_shortcut_support branch March 18, 2021 19:57
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.

(Android) add shortcuts for quicker use
2 participants