Commit Graph
113 Commits
Author SHA1 Message Date
Blake KaufmanandGitHub b6fcb2f024 429 flow to send payments to a contact when we have bitcoin and dollars balances (#455)
* adding currency to send and currency to request

* standardizing input denomination and usePaymentValidation

* making ChoosePaymentMethod work with contact requests

* rewroking gifts path

* adding dollar format to notifications

* fixing placeholder text align bug

* updating conversion functions

* fixing edit gift bug

* only allow sending to btc from lnurl contacts

* adding fiat value to contacts transactions

* adding contact details to token transactions

* updating send and requset page to handle usd, bitcoin, and gift payments

* fix eslint

* handling contacts payment logic

* fixing paying bitcoin gifts with dollars from contacts

* adding translations

* fixing requests using payment validation

* fixing amount display when confirming payment

* default payment option to selected send option

* fixing display value
2026-01-25 13:52:52 -05:00
Blake Kaufman 9550223254 adding uniqueName update when receiving messages from contacts 2025-12-10 15:26:53 -05:00
Blake Kaufman 4a2eccaae5 fixing small latency issue when uplading a temp profile image 2025-12-03 12:45:40 -05:00
Blake KaufmanandGitHub 38a6210c2c Switch contacts to spark (#288)
* standardizing add contact format

* switching to spark for contact payments

* adding storage for contact message obj to add contact and description info to payments

* adding saved payment info to spark payments

* deleting contacts table on reset
2025-12-01 12:33:00 -05:00
Blake KaufmanandGitHub efd9bbb6c3 277 add customizable separator for displaying balance (#278)
* adding thousandsSeperator to local master info object

* creating settings toggle

* add formatting properties to format function

* fix eslint + settings buttons sizing
2025-11-25 16:22:57 -05:00
Blake Kaufman 9983e5f0bb preload authentication to speed up initial loading time 2025-11-25 12:30:32 -05:00
0467a39dfc Create gifting (#254)
* adding gift icons

* adding uuid generator for gift id

* adding gift page to home navigation

* fixed toast overlay

* adding rotate icons

* gifts index page

* created gifts overview page

* create gift pgae

* fixing expire time

* gift confirmation screen

* manual claim page

* derive hirarachical wallet for gift

* encoding and decoding gift urls

* formatting days till expiry time

* standardized gift share message

* creating gift storage

* opening and deleting gifts table

* adding firebase gift functions

* adding gifts deeplink

* creating gifts context

* added tracking for gift index

* fixed wrong translation placement

* creating reclaim gift page

* auto open claim page

* creating claim page

* updated reclaim to work off uuid not claim link

* fixed translations issue

* added restore gifts

* adding description to payment

* fixing android text styles

* fixing android status bar style

* fixing claimed state

* show all txs but then list the expired ones on the reclaim page

* adding translations

* updating min height

* making sure spark is connected before handling lookup

* fixed exists property

* allow only reclaim of expired swaps

* fixed style bug

* adding recliam not exipired error message

* adding connection label to expanded gift page

* fixed unknown sender text bug

* added confirm screen + pending tx for incoming gift

* only show claim option if a reclaim exists

* uncomment pay

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

---------

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>
2025-11-19 21:34:59 -05:00
Blake KaufmanandGitHub 259400f849 Improve tokens ux (#234)
* add coins icon

* move BTKN toggle to display options

* adding token images to tokens list

* adding tokens images to select token page

* creating tokens image object

* fixing tokens name length bug

* adding tokens icons

* adding placeholders for dollars

* force enabled tokens

* update enabled tokens to new variable

* added default token + settings toggle to spark info page from display options

* adding defaultSpendToken to masterInfoObject

* fixing tokens balance not updating when receving a new token

* fixing send max balance bug

* adding default and select token to send page + moving select page to half modal

* preventing double tx run + fixing legacy fee warning + description styling on small devices

* fixed issue where user has prior tokens in transaction list but no current balance

* fixed text and image align issue

* fixing dropdown

* making sure default token is always Bitcoin if tokens are not eneabled
2025-11-07 11:30:50 -05:00
Blake KaufmanandGitHub 870d0f40d0 Improve onboarding flow (#235)
* adding warning icons

* creating warning popup page

* adding icon que to language selector

* adding warning flag logic
2025-11-06 09:16:25 -05:00
Blake Kaufman 2b268e869a added more detailed information to log 2025-11-04 08:06:01 -05:00
Blake Kaufman b0b423b1c6 added 60 second race condition for backend functions 2025-10-12 13:45:48 -04:00
Blake KaufmanandGitHub e766c098b0 updating tabs + removing text above balance (#166)
* updating tabs + removing text above balance

* fixed android edge to edge bug

* making sure tabs bar starts at index 1

* updating merchant configs

* add balance text back in to reduce blank space

* update failed biometric message

* adding gift card flag to preserve for longer
2025-10-04 20:53:04 -04:00
Blake KaufmanandGitHub 87c7ce371f Add sms receive (#145)
* fixed vpn sat amount bug when using a different currency

* adding new translations

* creating view code page

* adding confirm order page to sms receive

* giving ability to terminate account if biometric fails

* remove failed txs from payments database and update balance when tx turns to failed

* building receive sms page

* createing confirmation slide up page for recieve + fixings other pages

* updating historical purchases for sms4sats

* fetching sms services on the homscreen to be a global referance

* fixed dup-keys

* workflow fix

* remove node version

* finalizing sms receive. Added auto refund when no number is returned

* fixing emulator functions
2025-08-28 12:12:45 -04:00
Blake Kaufman d4db90b3ca adding fiat conversion to notificaions 2025-08-22 09:48:22 -04:00
Blake Kaufman ffd131ea86 improving nwc create_inovice and lookup_invoice 2025-08-19 10:53:18 -04:00
Blake KaufmanandGitHub 9369939ce4 68 translations (#140)
* created progress tracking file

* buildint json + translating vpn app pages

* finsihed all apps pages

* updated more translations

* contact page tranlations

* updating contact pages + send pages + receive pages + starting settings pages

* translating settings pages + making sure functions dont need to be translated

* finishing translations

* fix translation + import bugs

* removing empty translations

* fixing translations bugs

* missed learn more on about page

* adding select language page to onboarding

* missed translations

* fixing send page fee info text

* width of dropdown bug
2025-08-18 09:51:56 -04:00
Blake KaufmanandGitHub 43856f261f NWC (#133)
* removing fetch requests when app is in background

* adding transaction capabilities to nwc

* style fixes + slider size bug fixes

* fixed spelling bug

* switching nwc to main wallet to lnurl so we can block navigation

* fixed "noster" spelling mistake

* fixed adding custom amount bug

* adding action notifications

* fixed eslint

* adding nostr settings homepage

* fixing safearea view since its a standalone page now

* adding nip5 verification

* remove brackets

* converted npub to hex and added preview to address

* chaning nostr connect to nostr wallet connect

* moving background register outside of use effect

* bump build version

* bump version

* fixing dropdown placement differnces

* using firebase messaging for android and expo for ios

* fixed dark mode style bug

* publish 13194 event to relay

* fixed error message page on long erros

* adding lookup invoice nwc event

* adding alrady paid invoice flag

* removing sparkID from invoice return

* added customizable error screen height prop

* improve sendpayment by blocking incoming events
2025-07-30 07:25:23 -04:00
Blake Kaufman fd952130db firebase v22 migration 2025-07-22 07:06:59 -04:00
Blake KaufmanandGitHub 708187ebd9 migrating to spark (#113)
* migrating files

* switched to parrellel load for optimization

* removed uneeded init functions

* fixed spelling bug causing eslint to error

* fixing imports

* updated ln payment process to speed it up

* fixed login security bugs

* added qr scan for seedphrase

* added preloading to homescreen

* updated receive path

* fixed initial connection bug

* fixing event emitter counts

* fix eslint

* remove limit for picknpay

* updated spark lightning payment error

* updated send transaction balance update

* fixed fiat stats bug

* fixing tabs bar style

* fixed navigation bar color

* fixing top bottom insets + moving liquid address generation

* added seedQr + copy

* removed always on liquid listener

* updated fee rate

* memorized image cache objects

* Improving seed restore robustness

* fix seedphrase page text being to close to nav

* fixed check mark circle color

* updated sats to sat

* updating insets

* fixed restored ln payments show as pending

* fix bitcoin amount bug

* fixed race condition inside of add contacts half modal

* fix restore seed bug

* bumping version

* fixed decimal number bug

* removed min lnurl payment amount as default

* updated add contacts requests

* fixing user profile not updating on new device

* fixing ui scene on ios

* bump version

* trying to fix ios assets issue

* fixing load bug on ios

* making gitignors the same

* fixed contact payment

* fixing build erros from packages

* if a payment happend before the user logged onto the app dont show confirm screen

* fixed store payments

* fixed writting to filesystem error message bug

* fixing restore login type

* fixing double transactions + blocking event emitter bug

* fixed fee display bug

* added event emitter handler to app tx functions

* implementing more robust event emitter handling logic

* added error message for liquid payments

* use LNULR so liquid can drain all funds.

* fixing on-chain payments bugs

* removing ecash

* fixing small payment UX bugs

* bumped spark version

* fixed bitcoin tx bug during restore

* fixed tips payout

* fixing confim tx edge case

* starting spark connection eariler

* only update db state if value changes

* adding balance warning before going to send page

* added explaination to unknown technical details

* fixing replace bug

* updated loading screen reqiured information

* fixed homepage transactions rendering before page is loaded

* adding notification icons

* moving notification setup to settings

* fixing view all tx page crash

* fix checkmark circle color on dark modes

* changing NOSTR LNURL to nostr zaps

* fixing biometric auth not running when first saving

* fixing notification on new devices

* hide spark details

* fixed failed payment icon

* added payment specific brackets

* updated balance process when sending

* fixing doomsday pages

* lnurl withdrawl right to spark

* fixed qr wapper profile image not loading

* fixed slider initially touching side

* created place to edit lnurl on receive page

* fixed balance bug

* fixed no image data bug

* bumping version

* fixed error message when clicking save with no textinput

* fixed max fee bug

* made send and receive arrows vertical insted of angled

* improved interval tracking + removed uneeded code

* fixed veriable naming bug

* created fee breakdown in settings

* updated switch receive option page styling

* creating custom toast container

* fixing fee buffer

* expanding touch distance for UX improvement

* removing uneeded ref

* removed finding liquid address in bolt11 invoice

* fixed non request Ids from stying in pending

* fixed interval from not clearning

* set payment expiry to 12 hours

* added x button to remove old gift cards

* fixing toast hitch bug on android

* fixed dark mode splash screen color bug

* if the user is from contacts show the message and also set the payment info.

* fixing adding contact image bugs + legacy checks

* bumping liquid version

* added page to manually swap liquid funds if they get stuck

* added smaller vpn durations

* encripted messaging

* fixed decline request error

* bumping spark version

* fixed touch gap

* fixing confusing placeholder text

* adding min bitocin send check

* fixing refresh crash bug

* adding fee params to payment object to remove double fee check

* adding new fee logic

* updating payment functions

* using function wrappers insted of calling spark wallet

* updating payment functions to use wrapper functions

* fixed trying to access value on undefined veriable

* fixed lightning payments without saved invoice throwing error

* adding new zero amount invoice + fee quote

* fixing onchain payment amout bug

* fixed pasting issue when pasting in textbox

* fixed small device sizing

* fixing small device styles

* misc changes

* fixing restore bug with onchain payments

* adding rootstock packages and image

* fixed taost styles

* Fix QR code coding up and down when removing lnurl

* fixed padding bug

* creating rootstock swap databse

* creating submarine swap function

* adding helper functions for rootstock

* creating roostcok swap context to listen for swaps

* adding swap context

* adding roostck as receive method

* trying eslint fix

* fix eslint

* adding rootstock swap information

* creating reverse claim + refund swap function

* misc rootstock changes

* remove transparent slideup on android

* removing unused assets + updating liquid icon

* adding another fallback block chain data endpoint

* bump spark version

* fix lnurl contact message not displaying

* improving spark error

* updating error messages

* fixed app store styling

* created function to derive seeds from main seed

* fixing spark error message from running before user gets to homescreen

* updating packages

* creating nostr derive path to ensure backwards compatability

* created nwc wallet functions

* adding nwc

* eslint fix

* optimized global theme view

* optimzed contacts page rerenders

* fixed qr code not updating

* reducing blocking on js thread

* Improving profiler rating

* Memorizing context values + adding cached balance

* improving restore and payment handling

* adding explanation screen for nwc

* fixed duplicate key style

* blocking add listeners from running in background

* remove nwc

* added spark to send list

* fixing duplicate onchain payments in tx history

* optimizing on-chain deposit calls

* fixing crash bug

* creating consistant swap function

* bumping spark version

* fixed invoice descriptions + lnurl navigation

* moved contacts to LNULR + added central server time

* fixed double tap enable notifications on restore

* adding tx batching + fixing legacy bug

* temporarily removing rootstock

* fixing how date is shown for contacts

* fixing bolt11 and lnurl formatting issues

* fixing toast bug

* bump build version

* fix duplicate send bug

* more robust blocking duplicate send payments fix

* bump build version

* fixed notificatoin badge not clearing

* reduced server time calls by caching offset

* clear receive settings when switching receive type

* lowered min width of settings boxs

* removes space within name

* standarize lowercase function

* improved spark payment status

* improving large convo sync

* fixing already claimed on-chain txs

* using spark payment status insted of hardcoding completed

* fixing navigation bug

* fixed duplicates while sending bug

* adding more robust implemention to send fix

* spark status response is too inconsistnat to use

* removing liquid sends

* update build version

* adding explaination to edit contact on receive page

* aded failed flags to on-chain and lightning + added expiry property to onchain payments

* removed pending message to confirm tx page + made expiry only when payment is pending
2025-07-21 19:30:08 -04:00
Blake Kaufman 0f308570a6 fixed local functions initiation for testing 2025-06-18 17:54:03 -04:00
Blake KaufmanandGitHub 87ec3d4ede Retry image support (#108)
* add dependencies

* adding profile image componeent

* upgrading to img check componenet

* creating storage functions

* adding storage endpionts

* adding rn-fast-image

* creating cache image context

* using fast imgae for profile images

* updating upload function

* adding images

* fixing new share placement icon

* fixing parellel quering

* get contact image from saved cache

* cache image function for adding contact half modal

* gets contact from cache not cache obj due to non active updates

* finalizing image uploads

* fix load missunderstanding  null image

* fixed style inconsistancy
2025-05-19 16:21:10 -04:00
Blake Kaufman c261fc56e5 fixed explore data being pushed to database 2025-04-23 11:45:37 -04:00
Blake KaufmanandGitHub 073f98c00c Add crash analytics for easier maintenance (#97)
* adding crashlytics package

* creating default crashlytics config options

* creating sheild icon for crash settings page

* adding crash reporting settings storage object

* created crash reports page

* created crash report helper functions

* adding crashlytics to login path

* fixing skip crash bug

* adding crash logs

* adding more crash logs

* created manually force crash helper function

* xcode fills
2025-04-11 09:17:21 -04:00
Blake Kaufman c7592f8925 fixing search logic 2025-04-08 18:45:28 -04:00
Blake Kaufman e04731bd22 updated historical messages db call 2025-04-05 14:25:38 -04:00
Blake Kaufman 2e0b4b90a6 fixed contact searching 2025-04-05 14:15:15 -04:00
Blake Kaufman 2dbcff6208 fixed migration version syntax bug 2025-04-05 12:43:05 -04:00
Blake Kaufman 8e576179e3 fixed initialization bug 2025-04-05 09:33:50 -04:00
Blake KaufmanandGitHub 7107d191a1 Fix xcode build issue (#94)
* updating from RN 0.75.4 -> 0.77.2 and EXP 51 -> 52

* fixed slider

* fix function naming

* bug fixes

* improved tx sorting

* adding check to ecash invoices to not double pay

* revert to legacy way

* bug fixes

* remove dep install

* trying to fix workflow

* removed old sliderbutton

* set registry + retry if fails
2025-04-04 11:12:18 -04:00
Blake KaufmanandGitHub 77d3367506 switch to bulk requests for efficency (#88) 2025-03-20 11:25:00 -04:00
Blake Kaufman 420b45f38a removing cached settings for now 2025-03-10 14:31:07 -04:00
Blake Kaufman d48b58d478 fixed db query logic 2025-03-10 14:22:55 -04:00
Blake Kaufman 14989b1b96 cache user settings for faster load 2025-03-10 12:09:05 -04:00
Blake Kaufman 87e54f204f updated wrong pin clear function 2025-03-08 17:51:15 -05:00
Blake KaufmanandGitHub 1746a10fe0 unused pages (#83)
* unused pages

* fixed unfound import

* dismiss keyboard on andriod

* standardized settings width

* fixed inconsistant width
2025-03-07 15:06:37 -05:00
Blake Kaufman 815df6534c switched from function calling to event emitter 2025-03-05 13:15:41 -05:00
Blake Kaufman 08a6e5b4ef block login if auth fails 2025-03-01 09:24:34 -05:00
Blake Kaufman 17faba52ff bump functions version 2025-02-20 12:14:13 -05:00
Blake KaufmanandGitHub 6ab9acbe3c Update auth (#67)
* creating signed requests to backend

* created hook to get JWT token for session

* updated sign in auth

* get jwt token when user reaches homepage

* bumped to v2 functions

* bumped to v2 functions

* updated pub private key setting and use

* use auth to set request uuid

* dont use token for login or auth

* get jwt token when user gets to homepage

* updated contacts push notification to new version

* bumped version

* sign out of auth when deleting account

* removing app check dependency
2025-02-16 10:20:15 -05:00
Blake KaufmanandGitHub 1069816539 Fix freeze bug (#65)
* fix freeze by removing uuid

* removing legacy code

* simplified saving data to db

* remove timeout because of freeze fix

* removing unneeded timeouts

* streamline login

* removed uneeded method
2025-02-12 08:42:57 -05:00
Blake Kaufman 2230421eb8 remove device id 2025-01-25 13:13:07 -05:00
Blake Kaufman d162e4147a bumped liquid sdk version 2025-01-20 12:45:39 -05:00
Blake Kaufman cc4e46f8b1 fixed eslint error 2025-01-17 17:49:47 -05:00
Blake Kaufman 1e08ee9510 fixed two weeks ago date calculator 2025-01-17 17:41:55 -05:00
Blake Kaufman 8c371bc530 fixed bugs with messages db connections 2025-01-17 11:31:54 -05:00
Blake Kaufman 1bb5a25ecc created connection to messages db collection 2025-01-16 19:31:59 -05:00
Blake Kaufman 4c3659b20a created new db request for adding messages 2025-01-14 12:47:54 -05:00
Blake Kaufman 4f580b62f3 remove uneeded pages 2025-01-13 19:17:40 -05:00
Blake Kaufman 4b13d9d3dd added local dev envionment 2025-01-12 15:55:34 -05:00
Blake Kaufman 7f6c6790ad updating search to limit reads 2025-01-12 14:47:57 -05:00