@radhya/mach 2.3.0 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{chunk-2BROVMSB.js → chunk-GICET2HT.js} +102 -102
- package/dist/{credentials-VYHMVB7I.js → credentials-EPQ6NGOF.js} +1 -1
- package/dist/index.js +171 -117
- package/docs/deep-links.md +23 -0
- package/package.json +1 -1
package/docs/deep-links.md
CHANGED
|
@@ -95,6 +95,29 @@ When `--output` is not provided, Mach uses `public` if that folder exists; other
|
|
|
95
95
|
}
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
+
## OAuth and Credential Sharing
|
|
99
|
+
|
|
100
|
+
When the selected platform includes iOS, interactive setup asks whether to enable **iOS Web Credentials for HTTPS OAuth callbacks**. Enable it when an OAuth flow returns to an HTTPS URL through `expo-web-browser` or a similar browser-based callback. Mach then writes the `webcredentials` section to the Apple App Site Association file and, for Expo, adds `webcredentials:<domain>` to `ios.associatedDomains`.
|
|
101
|
+
|
|
102
|
+
When the selected platform includes Android, setup also offers **Android Login Credentials for website password and passkey sharing**. Enable it only when the Android app and website intentionally share credentials. Mach adds `delegate_permission/common.get_login_creds` to `assetlinks.json` alongside the normal App Links relation.
|
|
103
|
+
|
|
104
|
+
Both options are disabled by default. When enabled, they are persisted only as the following explicit opt-ins:
|
|
105
|
+
|
|
106
|
+
```json
|
|
107
|
+
{
|
|
108
|
+
"deepLinks": {
|
|
109
|
+
"ios": {
|
|
110
|
+
"webCredentials": true
|
|
111
|
+
},
|
|
112
|
+
"android": {
|
|
113
|
+
"loginCredentials": true
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
`mach deeplink setup --yes` does not enable either feature automatically. It preserves an existing setting or keeps the default disabled.
|
|
120
|
+
|
|
98
121
|
## Expo Projects
|
|
99
122
|
|
|
100
123
|
For Expo projects, Mach wires a config plugin that applies:
|