quran-ios icon indicating copy to clipboard operation
quran-ios copied to clipboard

Allow other apps to launch this app and jump to a particular Ayah

Open adil-hussain-84 opened this issue 3 years ago • 5 comments

I'm building a couple of Hifdh revision assistance apps for iOS which will offer the ability to jump the user to see a particular Ayah in the quran.com web app. I will do this by opening a URL of the form https://quran.com/\(surahNumber)/\(ayahNumber).

Given that this app is owned by quran.com, it would be great if this app could register itself as capable of opening https://quran.com links as described in the Supporting Universal Links in Your App Apple Developer guide. A user of my apps will then be navigated into this app rather than the web app when this app is installed on the user's device.

In addition to supporting quran.com universal links, it may be a good idea to support the quran custom URL scheme so links of the form quran://\(surahNumber)/\(ayahNumber) are also accepted as described in the Defining a Custom URL Scheme for Your App Apple Developer guide. This is the type of URL accepted by the Quran for Android and Al Quran (Tafsir & by Word) Play Store apps.

adil-hussain-84 avatar May 08 '21 15:05 adil-hussain-84

Yeah, totally agree. Thanks for the suggestion.

mohamede1945 avatar Jan 01 '22 19:01 mohamede1945

I haven't done this before, but i don't mind giving it a try! will create a branch to try it

wedkemail avatar Sep 13 '23 02:09 wedkemail