That is, the receiver of a fee should get a fee not in a token but in SOL. Is it supported by token-2022?
I'm aware of transfer hook. Would one use it, send a TX to a DEX such as Raydium?
Otherwise, how else?
Aren't you for the freedom of self-determination?
If you guys claim that you're a country that respects freedoms and democrasy, you must listen to what Texas wishes. If they want to break off from the US, so be it. It'll be their choice that to be respected. They aren't happy with Biden and the US as a whole -- it's also their opinion and you're to respect it too. Wouldn't it be a democratic decision?
You can't have it both ways: blame other countries for the ways they handle internal matters, yell "suppression of freedom! one must respect democrasy!", yet suppress the opinions and thus freedom of your people in Texas.
An Android user lands on a landing page on my website. He gets assigned a new UUID which gets stored in the DB.
There's a button on a page to download an my Android app. The app registers its own scheme -- my-custom-app://
, if this matters.
He downloads and launches it, immediately or in a few days.
Question: within the Android app, how will I determine whether or not the Android phone it's being run on the same that was used to open the landing page on my website? That is, track the user between a mobile browser and the app.
I need to track the new users only -- the ones who don't have or not run the app yet.
Condition: the landing page, after the app has been downloaded, may not ask the user to reload itself or to open any link with a tracking_id/user_id
via the scheme of app. That is, a user should land on the page, download the app if not yet already, open it by himself and get identified.
Is there some kind of unique ID, be it Android device ID, fingerprint? The one to which an html page will have access to via JS.
I'm aware that an IP of user may change, and that this tracking approach is prone to an error. But it's results in more or less accurate one, it'll do.
Also, the target user isn't technically save, therefore simple techniques will work.
At the docs of App it says that in order to obtain an attest, this code must be run on an Apple device
```
import DCAppAttest
let service = DCAppAttestService.shared if service.isSupported { guard let attestationKey = DCAppAttestService.shared.generateKey() else { print("Error generating attestation key.") return }
// Generate a nonce (you may need to use a more secure source for your actual use case) let nonce = Data.random(count: 32)
// ...... }
```
Then there's also TTL, that is, every 60 minutes some earlier generated token will have to be refreshed. On an Apple device again, presumably.
Is there a way to execute all of this in non-Apple environment? Or will this code have to be run on an Apple device or server and there's no way around this?
---
I need to automate this, to generate lots of attests often, for different clients, and I don't want to rent a Mac server instead of a Linux one.