Open mbochmann opened 2 years ago
@mbochmann: Thanks for opening an issue, it is currently awaiting triage.
The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.
@mbochmann: There are no 'area' labels on this issue. Adding an appropriate label will greatly expedite the process for us. You can add as many area as you see fit. If you are unsure what to do you can ignore this!
You can add area labels by leaving a /area
comment.
@mbochmann: Thanks for opening an issue, an appropriate priority will be added soon.
The priority labels can be added by foundation members by writing /priority [type] in a comment.
What would you like to be added:
I would like to add the ability to directly deep link the SendConfirmationScreen and SendScreen.
Why is this needed:
It allows to request a transaction directly from the web with an url either by an unknown amount with referencing the SendScreen or with a fixed amount by referencing the SendConfirmationScreen.
What have to be changed:
token
param have to be made optional and have to be resolved by the Screen if the optional new parametersymbol
is available (andtoken
is not available / undefined) in the link becausetoken
unfortunately resolves as object in the url.defichain
.Result:
The result would be the possibility to add an url to a website like
defichain://app/portfolio/send/confirm?symbol=DFI&amount=5&destination=mydefichainaddress&callbackUrl={url}
for directly requesting 5 DFI target: SendConfirmationScreenor
defichain://app/portfolio/send?symbol=DFI&amount=5&destination=mydefichainaddress&callbackUrl={url}
for asking 5 DFI with the possibility to change the parameters target: SendScreencallbackUrl
: url which will be pinged once the transaction is sent to the network with a placeholder {txid} which will be replaced by the transaction-id.If accepted, I would like to implement it.