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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user