-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Ajoute la config pour les "deepLinks" (iOS et Android) (#52)
* feat: ajoute la config pour les deeplinks * feat: redirige les erreurs 404 vers la home * fix: deepLinks for iOS * fix: deepLinks iOS (appID) Co-authored-by: Benjamin Guedj <benjaminguedj@hotmail.fr>
- Loading branch information
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { useEffect } from "react"; | ||
import { useRouter } from "next/router"; | ||
|
||
export default function Custom404() { | ||
const router = useRouter(); | ||
|
||
useEffect(() => { | ||
router.replace("/"); | ||
}); | ||
|
||
return null; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"applinks": { | ||
"apps": [], | ||
"details": [{ | ||
"appID": "76GBKHVK25.com.fabrique.millejours", | ||
"paths": ["/app-millejours"] | ||
}] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[ | ||
{ | ||
"relation": ["delegate_permission/common.handle_all_urls"], | ||
"target": { | ||
"namespace": "android_app", | ||
"package_name": "com.fabrique.millejours", | ||
"sha256_cert_fingerprints": | ||
["4C:3E:47:E2:DB:74:CC:99:77:9E:3E:3F:3C:3C:60:D2:62:65:70:8C:1D:B6:95:72:D5:FC:57:56:2E:7B:9F:3A"] | ||
} | ||
} | ||
] |