-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(#615): add support for
assetlinks.json
when compiling app sett…
…ings (#616)
- Loading branch information
Showing
17 changed files
with
309 additions
and
3 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
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
51 changes: 51 additions & 0 deletions
51
test/data/compile-app-settings/android-app-links/app_settings.expected.json
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,51 @@ | ||
{ | ||
"locale": "en", | ||
"locales": [ | ||
{ | ||
"code": "en", | ||
"name": "English" | ||
}, | ||
{ | ||
"code": "es", | ||
"name": "Español (Spanish)" | ||
} | ||
], | ||
"kujua-reporting": [ | ||
{ | ||
"code": "SS", | ||
"reporting_freq": "monthly" | ||
} | ||
], | ||
"assetlinks": [ | ||
{ | ||
"relation": [ | ||
"delegate_permission/common.handle_all_urls" | ||
], | ||
"target": { | ||
"namespace": "android_app", | ||
"package_name": "org.medicmobile.webapp.mobile", | ||
"sha256_cert_fingerprints": [ | ||
"62:BF:C1:78:24:D8:4D:5C:B4:E1:8B:66:98:EA:14:16:57:6F:A4:E5:96:CD:93:81:B2:65:19:71:A7:80:EA:4D" | ||
] | ||
} | ||
}, | ||
{ | ||
"relation": [ | ||
"delegate_permission/common.handle_all_urls" | ||
], | ||
"target": { | ||
"namespace": "android_app", | ||
"package_name": "org.medicmobile.something.else", | ||
"sha256_cert_fingerprints": [ | ||
"asdf", | ||
"zxcvbn" | ||
] | ||
} | ||
} | ||
], | ||
"contact_summary": "", | ||
"tasks": { | ||
"rules": "", | ||
"targets": {} | ||
} | ||
} |
Empty file.
11 changes: 11 additions & 0 deletions
11
test/data/compile-app-settings/android-app-links/invalid-file/app_settings/assetlinks.json
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": "org.medicmobile.webapp.mobile" | ||
} | ||
} | ||
] |
19 changes: 19 additions & 0 deletions
19
.../data/compile-app-settings/android-app-links/invalid-file/app_settings/base_settings.json
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,19 @@ | ||
{ | ||
"locale": "en", | ||
"locales": [ | ||
{ | ||
"code": "en", | ||
"name": "English" | ||
}, | ||
{ | ||
"code": "es", | ||
"name": "Español (Spanish)" | ||
} | ||
], | ||
"kujua-reporting": [ | ||
{ | ||
"code": "SS", | ||
"reporting_freq": "monthly" | ||
} | ||
] | ||
} |
Empty file.
Empty file.
1 change: 1 addition & 0 deletions
1
test/data/compile-app-settings/android-app-links/invalid-file/targets.json
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 @@ | ||
{} |
Empty file.
27 changes: 27 additions & 0 deletions
27
test/data/compile-app-settings/android-app-links/project/app_settings/assetlinks.json
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,27 @@ | ||
[ | ||
{ | ||
"relation": [ | ||
"delegate_permission/common.handle_all_urls" | ||
], | ||
"target": { | ||
"namespace": "android_app", | ||
"package_name": "org.medicmobile.webapp.mobile", | ||
"sha256_cert_fingerprints": [ | ||
"62:BF:C1:78:24:D8:4D:5C:B4:E1:8B:66:98:EA:14:16:57:6F:A4:E5:96:CD:93:81:B2:65:19:71:A7:80:EA:4D" | ||
] | ||
} | ||
}, | ||
{ | ||
"relation": [ | ||
"delegate_permission/common.handle_all_urls" | ||
], | ||
"target": { | ||
"namespace": "android_app", | ||
"package_name": "org.medicmobile.something.else", | ||
"sha256_cert_fingerprints": [ | ||
"asdf", | ||
"zxcvbn" | ||
] | ||
} | ||
} | ||
] |
19 changes: 19 additions & 0 deletions
19
test/data/compile-app-settings/android-app-links/project/app_settings/base_settings.json
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,19 @@ | ||
{ | ||
"locale": "en", | ||
"locales": [ | ||
{ | ||
"code": "en", | ||
"name": "English" | ||
}, | ||
{ | ||
"code": "es", | ||
"name": "Español (Spanish)" | ||
} | ||
], | ||
"kujua-reporting": [ | ||
{ | ||
"code": "SS", | ||
"reporting_freq": "monthly" | ||
} | ||
] | ||
} |
Empty file.
Empty file.
1 change: 1 addition & 0 deletions
1
test/data/compile-app-settings/android-app-links/project/targets.json
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 @@ | ||
{} |
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
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