Skip to content

Commit

Permalink
solve /search-for-coin error + missing hostname in manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikelStuivenberg committed Jun 28, 2024
1 parent 6e2cc11 commit 367be3c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 4 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
<category android:name="android.intent.category.BROWSABLE" />

<data android:host="*.givtapp.net"/>
<data android:host="givtapp.net"/>
<data android:path="/download" />
<data android:path="/*/download" />
<data android:scheme="https"/>
Expand All @@ -75,19 +76,20 @@
<category android:name="android.intent.category.BROWSABLE" />

<data android:host="*.givt.app"/>
<data android:host="givt.app"/>
<data android:path="/download" />
<data android:path="/*/download" />
<data android:scheme="https"/>
<data android:scheme="http"/>
<data android:pathPrefix="/search-for-coin"/>

</intent-filter>
<intent-filter
android:autoVerify="true">
<action android:name="android.nfc.action.NDEF_DISCOVERED" />
<category android:name="android.intent.category.DEFAULT" />

<data android:host="*.givtapp.net"/>
<data android:host="givtapp.net"/>
<data android:path="/download" />
<data android:path="/*/download" />
<data android:scheme="https"/>
Expand All @@ -101,6 +103,7 @@
<category android:name="android.intent.category.DEFAULT" />

<data android:host="*.givt.app"/>
<data android:host="givt.app"/>
<data android:path="/download" />
<data android:path="/*/download" />
<data android:scheme="https"/>
Expand Down
6 changes: 6 additions & 0 deletions lib/app/routes/app_router.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ class AppRouter {
name: 'download',
redirect: _redirectFromExternalLink,
),
// TEMP FIX FOR EXTERNAL KIDS LINKS
GoRoute(
path:'/search-for-coin',
name: 'search-for-coin',
redirect: _redirectFromExternalLink,
),
GoRoute(
path: Pages.splash.path,
name: Pages.splash.name,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: givt_app
description: Givt App
version: 4.3.1
version: 4.3.2
publish_to: none

environment:
Expand Down

0 comments on commit 367be3c

Please sign in to comment.