Skip to content

Commit

Permalink
Committing all the things I forgot to commit earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
Waboodoo committed Jul 17, 2023
1 parent 9c63ba8 commit 34f00be
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion HTTPShortcuts/app/src/main/assets/docs/permissions.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<link rel="stylesheet" href="style.css">
</head>
<body id="root">
<h1>Permissions</h1><p>This page lists all the permissions that the app makes use of and what it uses them for.</p><h2>have full network access</h2><p>Needed to make HTTP requests over the network (duh). See the <a href="privacy-policy.md">Privacy Policy</a> for details on what data is sent over the network.</p><h2>install shortcuts</h2><p>Needed to install shortcuts on the home screen.</p><h2>uninstall shortcuts</h2><p>Needed to remove shortcuts from the home screen when a shortcut is deleted.</p><h2>view Wi-Fi connections</h2><p>Needed to inspect the current Wi-Fi network's name, as well as prompting the user to select a different network to connect to in case they configured a shortcut to only use a specific network.</p><h2>view network connections</h2><p>Needed to determine whether a suitable network connection is available to make HTTP requests.</p><h2>connect and disconnect from Wi-Fi</h2><p>Needed for prompting the user to select a different network to connect to in case they configured a shortcut to only use a specific network. The app never switches the Wi-Fi network without the user's input.</p><h2>access approximate location only in the foreground</h2><p>See next section.</p><h2>access precise location only in the foreground</h2><p>This is used for 2 specific features only, both of which are non-essential and completely optional to use:</p><ul><li>Checking the SSID of the Wi-Fi that the device is currently connected to. This allows a shortcut to only run on a specific network, and it allows the use of the <a href="scripting.md#get-wifi-ssid"><code>getWifiSsid()</code></a> function in Scripting.</li><li>Using the <a href="scripting#get-location"><code>getLocation()</code></a> function for Scripting, which allows to programmatically look up the device's current location.</li></ul><p>Unless configured so explicitly by the user through the use of Scripting, the Wi-Fi or location information never leaves the device.</p><h2>control vibration</h2><p>Used by the [<code>vibrate()</code>][scripting.md#vibrate) function, which allows the device to vibrate via Scripting.</p><h2>run foreground service</h2><p>Used to perform cleanup tasks, such as deleting obsolete cache files after a shortcut was run.</p><h2>This app can appear on top of other apps</h2><p>Under some circumstances, this is needed for 3rd party integrations such as Tasker to work properly. Apart from that, the app works perfectly fine without this permission, so it does not need to be granted.</p><h2>show notifications</h2><p>Used for the following:</p><ul><li>Displaying toast messages from a shortcut that is running in the background</li><li>Displaying a notification while a shortcut is running, triggered from Tasker</li></ul><h2>ask to ignore battery optimizations</h2><p>This is not needed for normal operation, but you might encounter problems with periodically running shortcuts not running reliably when it is not granted.</p><h2>net.dinglisch.android.tasker.PERMISSION_RUN_TASKS</h2><p>Used by the <a href="scripting.md#trigger-tasker-task"><code>triggerTaskerTask()</code></a> function to allow triggering Tasker tasks from Scripting.</p><h2>prevent phone from sleeping</h2><p>Used to perform cleanup tasks, such as deleting obsolete cache files after a shortcut was run.</p><h2>run at startup</h2><p>Used for making sure that scheduled tasks (such as periodic shortcut execution and cleanup) can be re-scheduled when the device restarts.</p>
<h1>Permissions</h1><p>This page lists all the permissions that the app makes use of and what it uses them for.</p><h2>have full network access</h2><p>Needed to make HTTP requests over the network (duh). See the <a href="privacy-policy.md">Privacy Policy</a> for details on what data is sent over the network.</p><h2>install shortcuts</h2><p>Needed to install shortcuts on the home screen.</p><h2>uninstall shortcuts</h2><p>Needed to remove shortcuts from the home screen when a shortcut is deleted.</p><h2>view Wi-Fi connections</h2><p>Needed to inspect the current Wi-Fi network's name, as well as prompting the user to select a different network to connect to in case they configured a shortcut to only use a specific network.</p><h2>view network connections</h2><p>Needed to determine whether a suitable network connection is available to make HTTP requests.</p><h2>connect and disconnect from Wi-Fi</h2><p>Needed for prompting the user to select a different network to connect to in case they configured a shortcut to only use a specific network. The app never switches the Wi-Fi network without the user's input.</p><h2>access approximate location only in the foreground</h2><p>See next section.</p><h2>access precise location only in the foreground</h2><p>This is used for 2 specific features only, both of which are non-essential and completely optional to use:</p><ul><li>Checking the SSID of the Wi-Fi that the device is currently connected to. This allows a shortcut to only run on a specific network, and it allows the use of the <a href="scripting.md#get-wifi-ssid"><code>getWifiSsid()</code></a> function in Scripting.</li><li>Using the <a href="scripting.md#get-location"><code>getLocation()</code></a> function for Scripting, which allows to programmatically look up the device's current location.</li></ul><p>Unless configured so explicitly by the user through the use of Scripting, the Wi-Fi or location information never leaves the device.</p><h2>control vibration</h2><p>Used by the [<code>vibrate()</code>][scripting.md#vibrate) function, which allows the device to vibrate via Scripting.</p><h2>run foreground service</h2><p>Used to perform cleanup tasks, such as deleting obsolete cache files after a shortcut was run.</p><h2>This app can appear on top of other apps</h2><p>Under some circumstances, this is needed for 3rd party integrations such as Tasker to work properly. Apart from that, the app works perfectly fine without this permission, so it does not need to be granted.</p><h2>show notifications</h2><p>Used for the following:</p><ul><li>Displaying toast messages from a shortcut that is running in the background</li><li>Displaying a notification while a shortcut is running, triggered from Tasker</li></ul><h2>ask to ignore battery optimizations</h2><p>This is not needed for normal operation, but you might encounter problems with periodically running shortcuts not running reliably when it is not granted.</p><h2>net.dinglisch.android.tasker.PERMISSION_RUN_TASKS</h2><p>Used by the <a href="scripting.md#trigger-tasker-task"><code>triggerTaskerTask()</code></a> function to allow triggering Tasker tasks from Scripting.</p><h2>prevent phone from sleeping</h2><p>Used to perform cleanup tasks, such as deleting obsolete cache files after a shortcut was run.</p><h2>run at startup</h2><p>Used for making sure that scheduled tasks (such as periodic shortcut execution and cleanup) can be re-scheduled when the device restarts.</p>
</body>
</html>
3 changes: 0 additions & 3 deletions HTTPShortcuts/app/src/main/res/values-nb/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,6 @@
<!-- Checkbox label, used in varies dialogs, to allow user to hide the dialog forever -->
<string name="dialog_checkbox_do_not_show_again">"Ikke vis igjen"</string>

<!-- checkbox label in editor, for accepting certificates. Includes a security warning as it is discouraged to use this option. -->
<string name="label_accept_all_certificates">"Aksepter ethvert sertifikat (Jeg vet hva jeg gjør)"</string>

<!-- Page title, for page listing all the libraries and 3rd party assets used in the app -->
<string name="title_licenses">"Vedkjennelser"</string>

Expand Down
7 changes: 2 additions & 5 deletions docs/privacy-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

With the exception of Crash Reporting and the Remote Edit ("Edit on Computer") feature (see below for these), all data entered into the app is only ever sent to the servers specified by the user through the use of shortcuts. No data about the user, their activity or device is collected or sent to the developer or any other third-party as part of this app.

<a name="crash-reporting"></a>
## Crash Reporting
The app uses the third-party service [Bugsnag](https://www.bugsnag.com/) to collect diagnostic data in the event of an app crash ("crash reports"). This serves the purpose of discovering and fixing bugs in the app. The collected data contains basic information about the device (e.g. manufacturer, language, OS version) and the crash itself (e.g. stacktrace, time of occurrence). No personal identifiable information such as usernames, email addresses, IP addresses or physical location is collected. The crash data is only used by the developer for debugging purposes. All collected data is automatically deleted after 7 days.

Expand All @@ -19,9 +20,5 @@ The use of this feature is non-essential and the app can otherwise be fully used

## Permissions

### Location Access
The app may request the permission to access your device's physical location. This is used for 2 specific features only, both of which are non-essential and completely optional to use:

- Checking the SSID of the Wi-Fi the device is currently connected to
- Using the [`getLocation()`](scripting#get-location) function for Scripting
The app may request some sensitive permissions, in particular the permission for reading the device's precise location. All of the data and functionality accessed through these permissions is used solely for the declared purpose. For details, see the [Permissions](permissions.md) page.

2 changes: 2 additions & 0 deletions docs/scripting.md
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,8 @@ triggerTaskerTask('mytask', {
});
```

You may need to manually go to the app's permissions and grant the "net.dinglisch.android.tasker.PERMISSION_RUN_TASKS" permission for this to work.

<a name="get-location"></a>
### Get Location
If you want to query your device's physical location, you can do so via the `getLocation()` function. It can take up to 20 seconds for the location request to complete, and it might not always be possible to determine the location.
Expand Down

0 comments on commit 34f00be

Please sign in to comment.