Update iOS Shorcut documentation (#1007)

* change shortcut URL and screenshots.
This commit is contained in:
Mohammed Chotia 2022-05-21 21:11:20 +02:00 committed by GitHub
parent 5c7cf5f334
commit d37191e6af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

View File

@ -2,21 +2,23 @@
![Image from apple site](https://help.apple.com/assets/5E8CEA35094622DF10489984/5E8CEA42094622DF1048998D/en_US/ed1f9c157cdefc13e0161e0f70015455.png)
User [brasilikum](https://github.com/brasilikum) opened an issue on the main repo about how they had created an [iOS shortcut](https://github.com/hay-kot/mealie/issues/103) for interested users. This is a useful utility for iOS users who browse for recipes in their web browser from their devices. Recent updates to Mealie has made this original shortcut break. Reddit user [BooNooBooNooB](https://www.reddit.com/user/BooNooBooNooB/) has helped to create a new working version.
User [brasilikum](https://github.com/brasilikum) opened an issue on the main repo about how they had created an [iOS shortcut](https://github.com/hay-kot/mealie/issues/103) for interested users. This is a useful utility for iOS users who browse for recipes in their web browser from their devices. Recent updates to Mealie has made this original shortcut break. Reddit user [BooNooBooNooB](https://www.reddit.com/user/BooNooBooNooB/) has helped to create a new working version. User [mcchots](https://github.com/mcchots) updated the shortcut to add setup questions to ease onboarding.
Don't know what an iOS shortcut is? Neither did I! Experienced iOS users may already be familiar with this utility but for the uninitiated, here is the official Apple explanation:
> A shortcut is a quick way to get one or more tasks done with your apps. The Shortcuts app lets you create your own shortcuts with multiple steps. For example, build a “Surf Time” shortcut that grabs the surf report, gives an ETA to the beach, and launches your surf music playlist.
>
Basically it is a visual scripting language that lets a user build an automation in a guided fashion. The automation can be [shared with anyone](https://www.icloud.com/shortcuts/9d8827cabde44b379e673a60f27fe4bb) but if it is a user creation, you'll have to jump through a few hoops to make an untrusted automation work on your device.
Basically it is a visual scripting language that lets a user build an automation in a guided fashion. The automation can be [shared with anyone](https://www.icloud.com/shortcuts/0c1b323a27bc486787f8399060d609f7) but if it is a user creation, you'll have to jump through a few hoops to make an untrusted automation work on your device.
You need to replace `username` and `password` with the login information for your mealie instance.
## Setting Up
![screenshot](../../assets/img/ios-shortcut-username.jpg)
After installing the [shortcut](https://www.icloud.com/shortcuts/0c1b323a27bc486787f8399060d609f7), iOS will show you the setup questions.
Then, you need to put in your mealie domain. The API port of `:9000` is not needed when putting your domain in the text field.
Add your mealie domain or IP address. The API port of `:9000` is not needed when putting your domain in the text field.
![screenshot](../../assets/img/ios-shortcut-host.jpg)
![screenshot](../../assets/img/ios-shortcut-host.png)
You should now be able to share a website to the shortcut and have mealie grab all the necessary information!
Continue through the questions, adding in your `email / username` and `password`.
You should now be able to share a website to the shortcut and have mealie grab all the necessary information!