feat(invite): add AddToWalletButton component

Wraps @premieroctet/react-native-wallet to orchestrate fetch-token-then-addPass
on iOS and fetch-JWT-then-addPassWithSignedJwt on Android. Guards on IS_WEB,
handle validity, and canAddPasses(). Fires invite:action:wallet metric on press.
This commit is contained in:
vineyardbovines
2026-06-25 17:57:23 -04:00
parent 63f359e61e
commit 3561d4de35
5 changed files with 348 additions and 0 deletions
+1
View File
@@ -124,6 +124,7 @@
"@ipld/dag-cbor": "^9.2.7",
"@lingui/core": "^5.9.2",
"@lingui/react": "^5.9.2",
"@premieroctet/react-native-wallet": "^1.0.2",
"@react-native-async-storage/async-storage": "2.2.0",
"@react-navigation/bottom-tabs": "^7.15.5",
"@react-navigation/native": "^7.1.33",