You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1fd14c7
Browse filesBrowse the repository at this point in the historyBrowse files
- MainActivity handles ACTION_VIEW (App Link / deep-link tap) and ACTION_SEND
(share to the app) — routes to AuthRedirectBus, which now falls through to an
`appcask:deeplink` event when the URL isn't an in-flight auth redirect.
- getInitialDeepLink() drains a link received before JS was listening (cold
start). WebShell subscribes via NativeEventEmitter + checks it on mount, and
only loads URLs the router classifies internal / separate-document.
- features.shareTarget: { url } — `appcask android` sets @string/appcask_share_url
and injects the ACTION_SEND intent-filter (removed again when the feature is
off). Shared text is URL-encoded and appended. patchManifestShareTarget, 3 tests.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: packages/config/schema.json
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,15 @@
111
111
"offlinePage": { "type": "boolean", "default": true, "description": "Show a built-in offline screen when a load fails with no connection." },
112
112
"fileAccess": { "type": "boolean", "default": true, "description": "Wire up <input type=file>, camera capture, and the native file picker." },
113
113
"downloads": { "type": "boolean", "default": true, "description": "Route download responses through the OS download manager." },
114
-
"shareTarget": { "type": "boolean", "default": false, "description": "Register the app as an Android share target that forwards to a URL (roadmap)." },
114
+
"shareTarget": {
115
+
"type": "object",
116
+
"additionalProperties": false,
117
+
"required": ["url"],
118
+
"description": "Register the app as a share target: when the user shares text / a link to it, the app opens `url` with the shared content URL-encoded and appended.",
119
+
"properties": {
120
+
"url": { "type": "string", "format": "uri", "pattern": "^https://", "description": "e.g. https://acme.example/new?body= — the shared text is appended, encoded." }
121
+
}
122
+
},
115
123
"appReviewPrompt": { "type": "boolean", "default": false, "description": "Expose window.appcask.review.request() so the site can ask the OS to show its in-app review prompt." },
116
124
"biometricLock": { "type": "boolean", "default": false, "description": "Require fingerprint / Face ID to open the app (and after it's been backgrounded). Also exposes window.appcask.biometric.authenticate()." },
0 commit comments