Juan Arzola on Nostr: I haven’t made this myself, but I’d expect something like replacing the share ...
I haven’t made this myself, but I’d expect something like replacing the share extension’s root VC with a UIViewController that displays a transparent view and calls “extensionContext?.completeRequest” in viewDidAppear to work? That should foreground the main app and cause the extension to terminate.
Published at
2024-07-04 07:20:17Event JSON
{
"id": "cef680b47fe71bb5e7d22c89a5a51ddd222251bfa0f40dd7bacf8032aa50aaa0",
"pubkey": "c5fa7762ba1c9bf072882101423eaf7a2c0e88b983cc1b1ed6115025251d6d40",
"created_at": 1720077617,
"kind": 1,
"tags": [
[
"e",
"0b90b4e50c02c09dd9bebe50c4cf6510d534eeedbc2bf782c306671d8b19eaf8",
"",
"root"
],
[
"p",
"7ba61781e5f6682f687b3c4ed2a68568a9f4b1ca331cc1c55f984997b06d9240"
],
[
"proxy",
"https://sfba.social/@juanarzola/112727006757588234",
"web"
],
[
"proxy",
"https://sfba.social/users/juanarzola/statuses/112727006757588234",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://sfba.social/users/juanarzola/statuses/112727006757588234",
"pink.momostr"
],
[
"expiration",
"1722716748"
]
],
"content": "I haven’t made this myself, but I’d expect something like replacing the share extension’s root VC with a UIViewController that displays a transparent view and calls “extensionContext?.completeRequest” in viewDidAppear to work? That should foreground the main app and cause the extension to terminate.",
"sig": "62ba4a26cd7def16df96d448552797853925b4da6305d7019585fbe0ec250e43cc17b29bae4e94ca3962e13d8dfc5aebfb9b3b4e8d903a58df27d653948bdf9b"
}