Skip to content

Commit 5b70a09

Browse files
Added quran app intent
1 parent 7b310a9 commit 5b70a09

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

android/app/src/main/AndroidManifest.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,15 @@
3030
android:name="flutterEmbedding"
3131
android:value="2" />
3232
</application>
33+
34+
<queries>
35+
<intent>
36+
<action android:name="android.intent.action.VIEW" />
37+
<data android:scheme="quran" />
38+
</intent>
39+
<intent>
40+
<action android:name="android.intent.action.VIEW" />
41+
<data android:scheme="https" />
42+
</intent>
43+
</queries>
3344
</manifest>

lib/widgets/quran_occurrence_alert.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ quranOccurrenceDialog(
4040
scheme: "https",
4141
host: "www.quran.com",
4242
path:
43-
"//${snapshot.data![j]['SURAH']}/${snapshot.data![j]['AYAH']}",
43+
"/${snapshot.data![j]['SURAH']}/${snapshot.data![j]['AYAH']}",
4444
);
4545
return Container(
4646
decoration: BoxDecoration(

0 commit comments

Comments
 (0)