Sponsored

FordPass - Scriptable Widget V2022.XX (iOS, iPad, MacOS)

usn.mustanger

Member
First Name
Adam
Joined
Feb 22, 2022
Threads
1
Messages
13
Reaction score
13
Location
Oswego, NY
Vehicles
2022 F150 Tremor (on order)
Occupation
Mechanical Engineer
I posted an issue on the widget's GitHub site, but I'll ask here in case anyone else has this issue.
Just installed the Scriptable and FP widget today, fresh install, and after I enter my FordPass username and password, as soon as I tap the "Region" menu item in the login prompt, I get this:
Code:
Errors Logged
(Required Prefs Menu) Error:
ReferenceError: Can't find variable:
typeDesc
prepWidget () Error: ReferenceError:
Can't find variable: typeDesc
Then the widget fails to go any farther.

I'm sure you'll get this sorted out quickly! Looks like a great project, one that I'll definitely drop a few bucks on (over at your Github page) once I get it working!

Thanks in advance for your hard work on this!
Sponsored

 

antho

Well-known member
First Name
Anthony
Joined
Sep 20, 2021
Threads
3
Messages
772
Reaction score
726
Location
Houston, Texas
Vehicles
2021 801A Raptor
@usn.mustanger I started having the same issue. Fordpass released an update and all works now. May want to see if you have an update avail.
 

usn.mustanger

Member
First Name
Adam
Joined
Feb 22, 2022
Threads
1
Messages
13
Reaction score
13
Location
Oswego, NY
Vehicles
2022 F150 Tremor (on order)
Occupation
Mechanical Engineer
@usn.mustanger I started having the same issue. Fordpass released an update and all works now. May want to see if you have an update avail.
Just tried it, no joy. I even deleted the Fordpass Widget and recreated it with the FordWidgetTool script. I'm on the Ford Pass app version 4.17.0, updated 1 day ago.

No worries, I'm sure the dev will sort it out eventually. I know he works on it as a hobby, so I'll be patient.
 
OP
OP
tonesto7

tonesto7

Well-known member
First Name
Anthony
Joined
Mar 7, 2021
Threads
6
Messages
482
Reaction score
838
Location
Michigan
Vehicles
2023 Lariat 502A | 3.5L PowerBoost
Occupation
IT Admin | Software Developer
NOTICE: Ford made some more changes to the authentication endpoints which prevents third-party integrations from getting a valid token.
I'm trying to find a new method and will push out an update once I do.
 

Sponsored

OP
OP
tonesto7

tonesto7

Well-known member
First Name
Anthony
Joined
Mar 7, 2021
Threads
6
Messages
482
Reaction score
838
Location
Michigan
Vehicles
2023 Lariat 502A | 3.5L PowerBoost
Occupation
IT Admin | Software Developer
UPDATE:
I now have a working method of getting tokens! I just need to implement it in the Scriptable environment.
Translating some functions into Scriptables limited Javascript functionality is proving more challenging :|

I will see it through and get it working hopefully before tomorrow.
 
OP
OP
tonesto7

tonesto7

Well-known member
First Name
Anthony
Joined
Mar 7, 2021
Threads
6
Messages
482
Reaction score
838
Location
Michigan
Vehicles
2023 Lariat 502A | 3.5L PowerBoost
Occupation
IT Admin | Software Developer
Sorry, I don’t have a fix out yet. I’m at the last step and the random hash generator is generating an invalid format under scriptable JS. The same code in NodeJS works. Home life is busy this weekend but I’m trying my best.
 

usn.mustanger

Member
First Name
Adam
Joined
Feb 22, 2022
Threads
1
Messages
13
Reaction score
13
Location
Oswego, NY
Vehicles
2022 F150 Tremor (on order)
Occupation
Mechanical Engineer
Hey, brother, I know you’re doing this as a hobby, and I have no expectations that this trumps your primary obligations to your family or personal life, so you take care of your priorities, and we’ll wait patiently for a fix. Don’t sweat it! I’m just happy someone with your skill set is working it, because this is awesome!
 

Fredm2002

Well-known member
First Name
Fred
Joined
Mar 21, 2020
Threads
7
Messages
272
Reaction score
210
Location
Iowa
Vehicles
21 Platinum Antimatter Blue; 2018 Edge 1984 V-65
Occupation
Education
Thanks for all your work for the ability to get the info. Take care of yourself and family!!!! They are a higher priority. Thanks for all you do. FredM2002
 
OP
OP
tonesto7

tonesto7

Well-known member
First Name
Anthony
Joined
Mar 7, 2021
Threads
6
Messages
482
Reaction score
838
Location
Michigan
Vehicles
2023 Lariat 502A | 3.5L PowerBoost
Occupation
IT Admin | Software Developer
Status Update:
I have things working again, but I'm not ready to push it out yet.
I want to do some more cleanups and optimizations before I do I promise to push it out by tomorrow at the latest.
 

Sponsored


OP
OP
tonesto7

tonesto7

Well-known member
First Name
Anthony
Joined
Mar 7, 2021
Threads
6
Messages
482
Reaction score
838
Location
Michigan
Vehicles
2023 Lariat 502A | 3.5L PowerBoost
Occupation
IT Admin | Software Developer
Release Notice:
I've pushed out v2022.07.04.0 to address the login issues.
It's messy but it will work for now :)
 

wayfarer556

Well-known member
Joined
Feb 26, 2021
Threads
1
Messages
355
Reaction score
703
Location
Austin, TX
Vehicles
2021 F150 XLT Powerboost 302A
Release Notice:
I've pushed out v2022.07.04.0 to address the login issues.
It's messy but it will work for now :)
Tested, works for me now.

Thanks for your work on a holiday weekend. Kicking another donation your way.
 

usn.mustanger

Member
First Name
Adam
Joined
Feb 22, 2022
Threads
1
Messages
13
Reaction score
13
Location
Oswego, NY
Vehicles
2022 F150 Tremor (on order)
Occupation
Mechanical Engineer
Release Notice:
I've pushed out v2022.07.04.0 to address the login issues.
It's messy but it will work for now :)
Okay, I must still be doing something wrong here. On this latest update, I no longer get the error I posted about previously, but I'm not getting prompted for login credentials. In the install video, it shows the FordPass username/password login prompts at the top of the "Required settings missing' popup that comes up once the widget is installed. I get that popup, but it doesn't have the username/password fields (see attached screenshot). So the widget is not working for me. I've uninstalled and reinstalled Scriptable, the "FordWidgetTool," and the widget script itself. I never get the login fields, and so the widget isn't working for me. What am I doing wrong?

Ford F-150 FordPass - Scriptable Widget V2022.XX (iOS, iPad, MacOS) fordpass_script_screen.PNG
Sponsored

 
 




Top