Skip to content

Latest commit

 

History

History
97 lines (82 loc) · 3.5 KB

FAQ.md

File metadata and controls

97 lines (82 loc) · 3.5 KB

Frequentley Asked Questions (FAQ)

The widget doesn't show up properly on the homescreen.

Go to your homescreen, Click&Hold. Edit Homescreen. Right above there‘s a +. Click it. search Scriptable. Click it. Then you can swipe two times. The first option is the small widget, when you swipe once you can add the medium one (this is the one you need) and when swipe two times it's the big one.

Does it say "Select script in widget configurator"? Then you have to "click & hold" -> "edit widget". Then choose for Script "NHL-MyTeam-Widget", for When Interacting "Run script".

I get the following error: 'TypeError: undefined is not an object (evaluating 'oTeamData[MY_NHL_TEAM].id')'

Replace

const MY_NHL_TEAM = "ENTER_TEAM_ABBREVIATION_HERE";

with, e.g.

const MY_NHL_TEAM = "TOR";

if the Leafs are your team.

I get the following error: 'Error on line ...: syntax error: unexpected EOF'

Make sure you copied the whole script from here. Make sure you copy it until the following lines are marked:

/********************************************************
 ************* MAKE SURE TO COPY EVERYTHING *************
 *******************************************************/

Sometimes the widget shows "Script not found." - what can I do?

Probably the memory of your device is almost full. You can solve the problem by searching for the setting CACHING_ACTIVE in the script and changing the value from true to false.

no-background doesn't work

  1. Make sure no-background.js is installed properly: Just copy this as a seperate script "no-background".

  2. After that, make sure you changed the following line in the NHL script from

const NO_BACKGROUND_INSTALLED = false;

to

const NO_BACKGROUND_INSTALLED = true;

How to set light- or dark-mode?

Search the line

const DARK_MODE = Device.isUsingDarkAppearance();

This is setting uses the system color scheme.

Write the following for having dark-mode activated:

const DARK_MODE = true;

Write the following for having light-mode activated:

const DARK_MODE = false;

I don't want to be spoilered. How to disable livescores and W-L-OTL stats, standings and top scorer?

For hiding livescores replace

const SHOW_LIVE_SCORES = true;

with

const SHOW_LIVE_SCORES = false;

For hiding W-L-OTL stats, standings and top scorer replace

const SHOW_STATS_AND_STANDINGS = true;

with

const SHOW_STATS_AND_STANDINGS = false;

How to disable link to NHL app?

Replace

const WIDGET_URL = "nhl://";

with

const WIDGET_URL = "";

How can I get future updates for this widget?

Just head over to this GoogleForm, type your email address and I'll send you an email when a new update is released.

How to support the project?

As some users asked how to donate to the project I created this section:

Of course I won't take anything for the widget, but if you really want to donate, feel free to buy me a coffee via paypal.

Donate via Paypal