MinibitsCash on Nostr: Token is obtained automatically on granting the permission and refrehed on wallet ...
Token is obtained automatically on granting the permission and refrehed on wallet start - user is not involved in it. If it fails to do so, it means that the device has no Play services installed / available.
I've released yesterday a small fix that will fallback to websocket nwc connection in that case (permission granted and device token missing).
Unfortunately this is really a "demo" solution as it will work only when app is in the foreground (means zaps are sent from app on other device / pc).
Published at
2024-08-27 06:57:42Event JSON
{
"id": "eaee7aedd2575be7a2af7b2e8037b3555710d8a15ffdcbcb40c2dba79e2e9fd8",
"pubkey": "b33bf9e97b78f35694a02e6bbef8e77059373e42b0a85a63f25a50ebfdadf50d",
"created_at": 1724741862,
"kind": 1,
"tags": [
[
"e",
"aa4559fffa4a8f83426cdacf56709304039a9d3c7dc4886b02d1828b13d10d4b",
"",
"root"
],
[
"e",
"fbaaf792f91624dcdb8c83a420bb4330692b85b58773403331eb60047910fc75"
],
[
"e",
"4e5f16f9260aae86eb8cbf9c9ada166b6e2098613952dc0bb30bc678f2bd8267",
"",
"reply"
],
[
"p",
"50d94fc2d8580c682b071a542f8b1e31a200b0508bab95a33bef0855df281d63"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"p",
"b7ed68b062de6b4a12e51fd5285c1e1e0ed0e5128cda93ab11b4150b55ed32fc"
],
[
"p",
"657e87499e026715f81286030408ac032014eaf9c342ac59017b4472f013a43f"
],
[
"p",
"b33bf9e97b78f35694a02e6bbef8e77059373e42b0a85a63f25a50ebfdadf50d"
]
],
"content": "Token is obtained automatically on granting the permission and refrehed on wallet start - user is not involved in it. If it fails to do so, it means that the device has no Play services installed / available.\n\nI've released yesterday a small fix that will fallback to websocket nwc connection in that case (permission granted and device token missing).\n\nUnfortunately this is really a \"demo\" solution as it will work only when app is in the foreground (means zaps are sent from app on other device / pc). ",
"sig": "dac7fc0331a58c0b830cddd86596ee7c90a8ec312a87f4772f601b5e519e730ed89bd05791dcd787f5e4cde2f281195fed4e760a33035e537e0ed14095fa8224"
}