-
-
Notifications
You must be signed in to change notification settings - Fork 384
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 Tasker integrations #591
Conversation
b3f795a
to
0373f82
Compare
Hi thanks for the PR! I will definitely take a closer look later. |
0373f82
to
39639a6
Compare
39639a6
to
2941b10
Compare
I'll take over and fix the rest. Thanks! Please don't force push again. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi this is ready to be merged. Let me know.
Just made a change to remove the |
I can't merge this myself since I don't have write access. |
This PR is now merged. It will go into the next beta release (v2.18.0). Thanks again! |
Hi @zacharee, can you help with the Google Play foreground service declaration? Meanwhile I will remove this feature from the Google Play variant until Google approves it. We need the following:
|
Sorry for taking so long to respond. You should be able to just exclude the foreground service permissions. Newer Tasker versions don't need them. Lines 27, 28, 368-385 here as an example: https://github.com/zacharee/LockscreenWidgets/blob/bd85750d488b9534edf001147471a84cc3186770/app/src/main/AndroidManifest.xml |
Got it. Will try for the next release. 👍 |
@zacharee Getting this error. Is there a better library to use maybe?
|
I tried using it with tasker and get following problem 04.07.12/ActionArgBundle Wi‑Fi hotspot: extra key not found in bundle: OF COURSE the modify system settings is granted to both tasker and vpnhotspot Pls help :-) |
There isn't a better library since this is the official and only one. You should only see this error from people using old versions of Tasker that don't support binding the runner Services instead of starting them, so they should be safe to ignore or filter out. |
|
This is how I did it: |
I think you also need to grant it to Tasker. |
I did, following exactly same procedure. I also tried systemizing the vpnhotspot app. No cigar ( |
I have a use-case for VPN Hotspot that requires enabling USB tethering automatically when USB is connected. I can't use the developer option to have my default USB configuration be USB tethering, since my plan has no hotspot support at all. I did try using Tasker to enable USB tethering manually, but wasn't really getting anywhere. VPN Hotspot would show it being active but no traffic would be passed.
Since I've seen some other requests for automation, and it comes in handy for me, I decided to add Tasker Plugin support to VPN Hotspot. These are the features I implemented:
Actions
Using the configuration button in Tasker will toggle whether the action will enable or disable tethering. This isn't the best UI, but I think it might be preferable to implementing a new Activity just to show a single toggle. I'm definitely open to other opinions.
State Actions
%wifi
%usb
%ethernet
%bluetooth
State Events