Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
82e4e8a
Enable Cashout button on the home screen and start cashout api integr…
Nodirbek75 Apr 1, 2026
24368e3
Merge remote-tracking branch 'origin' into feat/cashout-api-integration
Nodirbek75 Apr 1, 2026
b286968
Merge remote-tracking branch 'origin' into feat/cashout-api-integration
Nodirbek75 Apr 6, 2026
3587c36
Merge remote-tracking branch 'origin' into feat/cashout-api-integration
Nodirbek75 Apr 8, 2026
36d0b8f
add transfer feature mvp (topup with card)
islandbitcoin Jul 15, 2025
d4051e0
redesign and refactor transfer-screen, topup-screen and card-payment-…
Nodirbek75 Jul 19, 2025
5869f18
BankTransfer screen is implemented and added in the root navigation
Nodirbek75 Jul 22, 2025
40a02aa
restructure buy-sell-bitcoin flow screens
Nodirbek75 Jul 22, 2025
8dd421a
add BankTransfer texts on the i18n file
Nodirbek75 Jul 22, 2025
c3f4365
refactor and clean up CardPayment webview screen
Nodirbek75 Jul 22, 2025
f849ae5
use texts from i18n on the BankTransfer screen and update BuyBitcoinD…
Nodirbek75 Jul 22, 2025
e1f2d3c
update BuySellBitcoin screen icons and added navigation to cashout
Nodirbek75 Jul 23, 2025
7f49ef4
ArrowUpDown icon btn is added
Nodirbek75 Jul 23, 2025
8dcff5f
add back cashout mutations
Nodirbek75 Jul 23, 2025
f722192
show Transfer button instead of Cashout button on the home screen
Nodirbek75 Jul 23, 2025
162565a
update CashoutDetails screen
Nodirbek75 Jul 23, 2025
0dbe056
update cashout description text
Nodirbek75 Jul 25, 2025
009e0ed
update CashoutConfirmation screen to show amount in display currency
Nodirbek75 Jul 25, 2025
d9097c3
add back exchangeRate to the requestCashout offer response and update…
Nodirbek75 Jul 31, 2025
b7e73b7
add back exchangeRate on the generated.gql and generated.ts files
Nodirbek75 Jul 31, 2025
2cbe5f3
BuyBitcoinSuccess screen is implemented and added in root navigation
Nodirbek75 Aug 15, 2025
380924d
enabled card payments via Fygaro - webhook wip
islandbitcoin Sep 24, 2025
1e37e7d
add developer comments
islandbitcoin Sep 24, 2025
73b933d
fix: restore navigator imports for transfer branch
forge0x Apr 19, 2026
7f433dd
update
Nodirbek75 Apr 21, 2026
ebb3d0c
Merge remote-tracking branch 'origin' into feat/cashout-api-integration
Nodirbek75 Apr 21, 2026
fc32a35
fix codegen issue
Nodirbek75 Apr 21, 2026
cc9c4a1
Merge remote-tracking branch 'origin' into feat/transfer
Nodirbek75 Apr 21, 2026
4956acd
Nodirbek75 Apr 21, 2026
2e750f3
add back missing code on the root-navigation
Nodirbek75 Apr 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/assets/icons/arrow-down-to-bracket.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/assets/icons/arrow-up-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/assets/icons/arrow-up-from-bracket.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions app/components/buttons/IconBtn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import QR from "@app/assets/icons/qr-code-new.svg"
import Setting from "@app/assets/icons/setting.svg"
import CardRemove from "@app/assets/icons/card-remove.svg"
import Dollar from "@app/assets/icons/dollar-new.svg"
import ArrowUpDown from "@app/assets/icons/arrow-up-down.svg"

const icons = {
up: ArrowUp,
Expand All @@ -19,6 +20,7 @@ const icons = {
setting: Setting,
cardRemove: CardRemove,
dollar: Dollar,
upDown: ArrowUpDown,
}

type IconNamesType = keyof typeof icons
Expand Down
2 changes: 1 addition & 1 deletion app/components/cashout-flow/CashoutCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { makeStyles, Text } from "@rneui/themed"

type Props = {
title: string
detail: string | number
detail?: string | number
}

const CashoutCard: React.FC<Props> = ({ title, detail }) => {
Expand Down
14 changes: 7 additions & 7 deletions app/components/home-screen/Buttons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ const Buttons: React.FC<Props> = ({ setModalVisible, setDefaultAccountModalVisib
})
}

// if (currentLevel === AccountLevel.Two) {
// buttons.push({
// title: LL.Cashout.title(),
// target: "CashoutDetails",
// icon: "dollar",
// })
// }
if (currentLevel === AccountLevel.Two || currentLevel === AccountLevel.Three) {
buttons.push({
title: LL.HomeScreen.transfer(),
target: "BuySellBitcoin",
icon: "upDown",
})
}

return (
<Wrapper>
Expand Down
58 changes: 28 additions & 30 deletions app/graphql/front-end-mutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,36 +117,34 @@ gql`
}
}

# mutation RequestCashout($input: RequestCashoutInput!) {
# requestCashout(input: $input) {
# errors {
# code
# message
# path
# }
# offer {
# exchangeRate
# expiresAt
# flashFee
# offerId
# receiveJmd
# receiveUsd
# send
# walletId
# }
# }
# }

# mutation InitiateCashout($input: InitiateCashoutInput!) {
# initiateCashout(input: $input) {
# errors {
# path
# message
# code
# }
# success
# }
# }
mutation RequestCashout($input: RequestCashoutInput!) {
requestCashout(input: $input) {
errors {
code
message
}
offer {
exchangeRate
expiresAt
flashFee
offerId
receiveJmd
receiveUsd
send
walletId
}
}
}

mutation InitiateCashout($input: InitiateCashoutInput!) {
initiateCashout(input: $input) {
errors {
code
message
}
journalId
}
}

mutation accountDelete {
accountDelete {
Expand Down
Loading