r/Scriptable • u/BlazinJays1 • Oct 24 '24
Help Can somebody help with getting the contacts to show up?
I’ve tried turning us ICloud to False but then I get an error for no authorization? Updated the contacts that I want to use to have daysuntilbirthday under date but they still don’t seem to generate to the widget. Today I did notice a blank custom contact.json in my Files folder
4
Upvotes
•
u/mvan231 script/widget helper Oct 26 '24
Hard to know what your script is doing without inserting the code
2
u/iLuki Oct 27 '24
Hi, in iOS settings go to the scriptable settings and enable the permission that scriptable can access your contacts. For me on ios 18 this is under settings -> apps -> scriptable -> contacts -> full access
Next you can try to show all contacts by setting the variable
let showAllContacts = false;
at the top of the script to true instead (the description for that is directly above the variable). If you have icloud enabled then just keep
let useIcloud = true;
as true.
If this works for you, let me know.
There is a different mode where you can define a label that can be added in the contacts app to each contact that you want to show in the widget. So basically either you show all contacts or only the ones with the label. The label solution requires more setting up, so try the all contacts mechanism first please.
1
u/AutoModerator Oct 24 '24
Thanks for the submission!
It looks like you may have not shared the code you want help with.
Please be sure to include that. If you did, then you can safely ignore this comment.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.