mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-10-20 23:11:24 +02:00
fix(deep-link): filter out web links instead of app links in deep link domains (#3382)
* fix(deep-link): filter out web links instead of app links in deep link domains
This fixes a bug where on ios, deeplinks just don't work because the final Info.plist file doesn't have them.
And also used a better id for CFBundleURLName
Fixes regression from 2804803949
* feat(deep-link): add `webcredentials:` for iOS entitlements file
* chore: added changelog for deep-link patch
* add tests
* remove webcredentials
* -js
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
This commit is contained in:
1 parent
bbbdd9dd54
commit
c92bb67d7a
15 files changed
+476
-104
No files matched your search
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"applinks": {
|
||||
"details": [
|
||||
"details": [
|
||||
{
|
||||
"appIDs": [ "DEVELOPMENT_TEAM_ID_HERE.com.tauri.deep-link-example" ],
|
||||
"appIDs": ["DEVELOPMENT_TEAM_ID_HERE.com.tauri.deep-link-example"],
|
||||
"components": [
|
||||
{
|
||||
"/": "/open/*",
|
||||
@@ -12,4 +12,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,7 @@ http
|
||||
fs.readFile(
|
||||
path.resolve(__dirname, 'apple-app-site-association'),
|
||||
function (_error, content) {
|
||||
response.writeHead(200)
|
||||
response.writeHead(200, { 'Content-Type': 'application/json' })
|
||||
response.end(content, 'utf-8')
|
||||
}
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user