covid19india / covid19india-react

Tracking the impact of COVID-19 in India
https://www.covid19india.org
MIT License
6.86k stars 3.41k forks source link

Siri Support for Reporting Cases through API #1439

Closed keshank closed 4 years ago

keshank commented 4 years ago

Is your feature request related to a problem? Please describe.

Adding Siri support for iPhone user through API

Describe the solution you'd like

Adding Shortcuts to iPhones through which you can ask Siri to look up for Cases

You can look up cases for India as well as cases for individual state for total infected, Active , recovered etc.

The website can show the links for the shortcuts that can be downloaded

I have developed two shortcuts to show Total registered cases for India and Gujarat

K.A. @jeremyphilemon

80079249-a71f5780-856d-11ea-8005-89f44239522b

80079256-aab2de80-856d-11ea-9bda-68c2be82e944 (1)

bee-rickey commented 4 years ago

Hi @keshank is there something the devs need to do on this? isn't shortcut a feature you implement on your phone?

keshank commented 4 years ago

@bee-rickey that is correct, although you can add new page to website were you have link for pre build Siri shortcut by various people. iPhone and iPad users can download and implement directly from the link on the page.

It’s just a suggestion if feasible. Gradually you can keep adding support for Google assistant and Alexa though API.

jeremyphilemon commented 4 years ago

Can you provide an example link for a proof of concept, please? :)

keshank commented 4 years ago

@jeremyphilemon sure.

Link for Shortcut for covid cases in India

https://www.icloud.com/shortcuts/ca76f1b11620441b89e701ea4f22b98f

Link for shortcut for covid cases in Gujarat

https://www.icloud.com/shortcuts/f6b33c05d57e4ec884c96ca385044938

How to install :-

  1. Click on the link directly from your iPhone or iPad. this will open the shortcut in shortcut app
  2. Scroll down to the bottom
  3. Click on on Add untrusted Shortcut
  4. Now say Hey Siri, </strong> This will trigger the shortcut</li> </ol> <p><strong>Troubleshooting :-</strong> '</p> <p>Before downloading make sure you do following steps on your iPhone or iPad</p> <ul> <li>Go to Settings app > Shortcuts > Turn on <strong>Allow Untrusted Shortcuts</strong></li> </ul> <p>If you are using shortcut for the first time and it does not allow you to turn on Allow Untrusted Shortcuts do the following</p> <ul> <li>Go to Shortcuts app > Tap on gallery tab > Download any random shortcut and run it for once</li> </ul> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/stale[bot]"><img src="https://avatars.githubusercontent.com/in/1724?v=4" />stale[bot]</a> commented <strong> 4 years ago</strong> </div> <div class="markdown-body"> <p>This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>