Skip to content

Commit

Permalink
Added quran app intent
Browse files Browse the repository at this point in the history
  • Loading branch information
GibreelAbdullah committed Nov 4, 2023
1 parent 7b310a9 commit 5b70a09
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,15 @@
android:name="flutterEmbedding"
android:value="2" />
</application>

<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="quran" />
</intent>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="https" />
</intent>
</queries>
</manifest>
2 changes: 1 addition & 1 deletion lib/widgets/quran_occurrence_alert.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ quranOccurrenceDialog(
scheme: "https",
host: "www.quran.com",
path:
"//${snapshot.data![j]['SURAH']}/${snapshot.data![j]['AYAH']}",
"/${snapshot.data![j]['SURAH']}/${snapshot.data![j]['AYAH']}",
);
return Container(
decoration: BoxDecoration(
Expand Down

0 comments on commit 5b70a09

Please sign in to comment.