12
Author: FifiTheBulldog
Downloads: 250
Stars: 12
Type: Home Screen Widget
Published on: 14 July 2022
A Scriptable widget to watch for openings in TestFlight betas and notify you when a spot is available.
This script is intended to be used as a widget on your home screen. You may also set up automations in Shortcuts to run this script, to check for TestFlight openings at times other than the ones dictated by Scriptable's normal widget refresh interval.
Click here to download TestFlight Watcher.
The source code is here.
Specify the default TestFlight ID or URL (either works) and the app name in the prefs
object, which begin on line 49 in the script. These will be overridden if the TestFlight link and app name are supplied as a widget parameter or shortcut arguments.
The values you can customize are:
testFlight
: TestFlight ID or URLappName
: name of TestFlight appnotify
: whether to send a notification when there is an open beta spot. Defaults to true unless explicitly set to false.sound
: whether the notification for an open beta spot should have a sound. Defaults to false.The default prefs
object looks like this:
const prefs = {
testFlight: "uN1vTqxk",
appName: "Scriptable",
notify: true,
sound: false
};
You can also use a dictionary of the same form as the shortcut parameter when running this script from a shortcut.
To specify the app name and TestFlight link as a widget parameter, use the following syntax in the widget configurator's "Parameter" field:
TESTFLIGHT_ID|APP_NAME
where the TestFlight ID/link and app name are separated by a vertical bar (|
).
For example:
uN1vTqxk|Scriptable
specifies the Scriptable beta.
As mentioned above, you can also pass in arguments from a shortcut, using the Run Script action. There are three ways to do this:
prefs
as the shortcut parameter (recommended)Happy TestFlight sniping!