lichess-org / lichobile

lichess.org mobile application
https://lichess.org/mobile
GNU General Public License v3.0
2.02k stars 318 forks source link

iOS shortcuts #1726

Open raphuuuu opened 3 years ago

raphuuuu commented 3 years ago

Describe the bug With the Shortcuts App, there’s a « trigger action on opening an app » module. When opening Lichess the action is not triggered (works with other apps).

To Reproduce Steps to reproduce the behavior:

  1. Create an automation in Shorcuts app with the App module. eg : « when Lichess is open, activate “Do not disturb” »
  2. Open Lichess and the “Do not disturb” is not triggered

Expected behavior The opening of Lichess should trigger Shortcuts to activate “Do not disturb”

Smartphone (please complete the following information):

navanchauhan commented 3 years ago

Hi @raphuuuu

I just tried to create a personal automation and it does work.

Personal Automation: when "lichess" is opened -> Set Do Not Disturb On until Turned Off (Also, I disabled Ask Before Running)

Also, this iOS Shortcuts Automation is not actually in the hand's of the developer

raphuuuu commented 3 years ago

Here maybe with a video it’s clearer. Watch the moon crescent. On opening Lichess by tapping the icon, my do not disturb automation is not triggered. But when switching from one other app to lichess, the automation is triggered.

When doing the same automation but for another app than lichess, tapping the icon does trigger the automation.

https://user-images.githubusercontent.com/42111978/123740414-af2d0280-d8a8-11eb-840e-e218642a5c0b.mov