montzstar on Nostr: This would be OS dependent, but on iOS when clients launch WoS with a url, that url ...
This would be OS dependent, but on iOS when clients launch WoS with a url, that url could include a callback url or scheme parameter, which you could then open from WoS when the transaction is done. It might look like:
walletofsatoshi:lightning:<invoice>?callback=nostr
So WoS would read that parameter and open the url “nostr://“ at the end, which would launch the initiating app.
Published at
2023-02-23 11:49:52Event JSON
{
"id": "34ed95538db71558641846a53aaf6742746925b95648edc6242a4207d98714a5",
"pubkey": "07ecf9838136fe430fac43fa0860dbc62a0aac0729c5a33df1192ce75e330c9f",
"created_at": 1677152992,
"kind": 1,
"tags": [
[
"e",
"baf37f56b3c65af7865c61dd599ae0b46d8b9be34138b26ed4f294c0c03e904b",
""
],
[
"e",
"3f4275c40f11d7a5d68cd6431af18e5412e800358c9c31a7e4c80ad82032fb35"
],
[
"p",
"2b57730ec1cc46d2d565f04bdac193003633d9829ecf92009e79066b9cf5c3ec"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"p",
"e2ccf7cf20403f3f2a4a55b328f0de3be38558a7d5f33632fdaaefc726c1c8eb"
],
[
"p",
"2b57730ec1cc46d2d565f04bdac193003633d9829ecf92009e79066b9cf5c3ec"
],
[
"p",
"77b504e58f206c2aa1b2ae6acc1eb11321f4061eafc8e5b531015dbca536b4e4"
],
[
"p",
"be1d89794bf92de5dd64c1e60f6a2c70c140abac9932418fee30c5c637fe9479"
]
],
"content": "This would be OS dependent, but on iOS when clients launch WoS with a url, that url could include a callback url or scheme parameter, which you could then open from WoS when the transaction is done. It might look like:\nwalletofsatoshi:lightning:\u003cinvoice\u003e?callback=nostr\n\nSo WoS would read that parameter and open the url “nostr://“ at the end, which would launch the initiating app.",
"sig": "14d0f014b6b1fd9809b5c909de47b6640f54d66ded51aa140e15c8f9985745efa4551262b699f7761e45c5d8c2d74c0974fbdb4de2f1c7ee46ca753623815b13"
}