05nelsonm on Nostr: Yup, it's that simple. The OkHttp client will have to be moved to a provider so it ...
Yup, it's that simple. The OkHttp client will have to be moved to a provider so it can be lazily instantiated (and conversely, destroyed if they toggle Tor off).
The Kotlin Android sample is your best example for configuring things.
Published at
2023-03-05 01:18:07Event JSON
{
"id": "be94e6180873be762dc380a8c2e2e31ed84af36bc9c859f4c08550d5e02e8b21",
"pubkey": "94530f2a7f9a02d4115394de3261af4d69f230e37cab484980c377010b0fea36",
"created_at": 1677979087,
"kind": 1,
"tags": [
[
"e",
"87f5d2dc1f0abeb0c9625200015dc786f8ecb927340bfe8fd95b36ffe9770cd3",
"",
"reply"
],
[
"p",
"df4cafee85f79769545851db202a8856f82dc917548093c760f3094896e987b2"
]
],
"content": "Yup, it's that simple. The OkHttp client will have to be moved to a provider so it can be lazily instantiated (and conversely, destroyed if they toggle Tor off).\n\nThe Kotlin Android sample is your best example for configuring things.",
"sig": "3e603c8757ec9a7b9c6ae3dfd967ee06e78054b6310f1600c10a7c34876fb9ae5c54b432f9dd91efffda353f0eac1aa98503537c476879a90d4a23639cfb6a9f"
}