Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion wallets/rn_cli_wallet/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ android {
applicationId "com.walletconnect.web3wallet.rnsample"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 59
versionCode 60
versionName "1.0"
resValue "string", "build_config_package", "com.walletconnect.web3wallet.rnsample"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.NFC" />

<uses-feature android:name="android.hardware.nfc" android:required="false" />

<application
android:name=".MainApplication"
android:label="@string/app_name"
Expand Down Expand Up @@ -45,6 +47,13 @@
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.nfc.action.NDEF_DISCOVERED" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="https" android:host="pay.walletconnect.com" />
<data android:scheme="https" android:host="staging.pay.walletconnect.com" />
<data android:scheme="https" android:host="dev.pay.walletconnect.com" />
</intent-filter>
</activity>
</application>
</manifest>
6 changes: 6 additions & 0 deletions wallets/rn_cli_wallet/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1933,6 +1933,8 @@ PODS:
- Yoga
- react-native-netinfo (11.4.1):
- React-Core
- react-native-nfc-manager (3.17.2):
- React-Core
- react-native-quick-base64 (2.2.2):
- React-Core
- react-native-quick-crypto (0.7.17):
Expand Down Expand Up @@ -3120,6 +3122,7 @@ DEPENDENCIES:
- react-native-keyboard-controller (from `../node_modules/react-native-keyboard-controller`)
- react-native-mmkv (from `../node_modules/react-native-mmkv`)
- "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)"
- react-native-nfc-manager (from `../node_modules/react-native-nfc-manager`)
- react-native-quick-base64 (from `../node_modules/react-native-quick-base64`)
- react-native-quick-crypto (from `../node_modules/react-native-quick-crypto`)
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
Expand Down Expand Up @@ -3273,6 +3276,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-mmkv"
react-native-netinfo:
:path: "../node_modules/@react-native-community/netinfo"
react-native-nfc-manager:
:path: "../node_modules/react-native-nfc-manager"
react-native-quick-base64:
:path: "../node_modules/react-native-quick-base64"
react-native-quick-crypto:
Expand Down Expand Up @@ -3419,6 +3424,7 @@ SPEC CHECKSUMS:
react-native-keyboard-controller: f2ed31d12d9d8cb8ad2f9110c18fa5df499b66a3
react-native-mmkv: ac7507625cd74bac0eb5333604a7cd7b08fe9e3e
react-native-netinfo: cec9c4e86083cb5b6aba0e0711f563e2fbbff187
react-native-nfc-manager: c8891e460b4943b695d63f7f4effc6345bbefc83
react-native-quick-base64: 6568199bb2ac8e72ecdfdc73a230fbc5c1d3aac4
react-native-quick-crypto: dac9db2adb0a61b4881909b6db7c51eaaada66a8
react-native-safe-area-context: c6e2edd1c1da07bdce287fa9d9e60c5f7b514616
Expand Down
34 changes: 29 additions & 5 deletions wallets/rn_cli_wallet/ios/RNWeb3Wallet.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
13B07F961A680F5B00A75B9A /* RNWallet.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RNWallet.app; sourceTree = BUILT_PRODUCTS_DIR; };
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = RNWeb3Wallet/Images.xcassets; sourceTree = "<group>"; };
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RNWeb3Wallet/Info.plist; sourceTree = "<group>"; };
18BB39FF004742E9BA98CBB1 /* KHTeka-Light.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "KHTeka-Light.otf"; path = "../assets/fonts/KHTeka-Light.otf"; sourceTree = "<group>"; };
18BB39FF004742E9BA98CBB1 /* KHTeka-Light.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "KHTeka-Light.otf"; path = "../assets/fonts/KHTeka-Light.otf"; sourceTree = "<group>"; };
1DE6EA8716545F6CED9BF875 /* Pods-App-RNWallet.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App-RNWallet.debug.xcconfig"; path = "Target Support Files/Pods-App-RNWallet/Pods-App-RNWallet.debug.xcconfig"; sourceTree = "<group>"; };
1FCDA2A22B9B8E6200E0BF0C /* RNWallet Debug.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "RNWallet Debug.app"; sourceTree = BUILT_PRODUCTS_DIR; };
1FCDA2BA2B9B8E6800E0BF0C /* RNWallet Internal.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "RNWallet Internal.app"; sourceTree = BUILT_PRODUCTS_DIR; };
Expand All @@ -44,13 +44,13 @@
2C50482F22BB4C56ACE24EA8 /* BootSplash.storyboard */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = BootSplash.storyboard; path = RNWeb3Wallet/BootSplash.storyboard; sourceTree = "<group>"; };
3616329FA2535E44622E8399 /* libPods-App-RNWallet Debug.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-App-RNWallet Debug.a"; sourceTree = BUILT_PRODUCTS_DIR; };
3F16776DD2AD1459C80F97BA /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = RNWeb3Wallet/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
4FBAB7122BF343DBAF0BB7F7 /* KHTeka-Medium.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "KHTeka-Medium.otf"; path = "../assets/fonts/KHTeka-Medium.otf"; sourceTree = "<group>"; };
4FBAB7122BF343DBAF0BB7F7 /* KHTeka-Medium.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "KHTeka-Medium.otf"; path = "../assets/fonts/KHTeka-Medium.otf"; sourceTree = "<group>"; };
540B49B18EE9B4B3211A85F1 /* Pods-App-RNWallet Debug.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App-RNWallet Debug.debug.xcconfig"; path = "Target Support Files/Pods-App-RNWallet Debug/Pods-App-RNWallet Debug.debug.xcconfig"; sourceTree = "<group>"; };
7AE83AB305C04F529AD8275C /* Colors.xcassets */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = folder.assetcatalog; name = Colors.xcassets; path = RNWeb3Wallet/Colors.xcassets; sourceTree = "<group>"; };
7AE83AB305C04F529AD8275C /* Colors.xcassets */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = folder.assetcatalog; name = Colors.xcassets; path = RNWeb3Wallet/Colors.xcassets; sourceTree = "<group>"; };
7F0ADF9FBB4DFB43D9B42D14 /* libPods-App-RNWallet.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-App-RNWallet.a"; sourceTree = BUILT_PRODUCTS_DIR; };
8987A5832B077AEB1770930B /* Pods-App-RNWallet Internal.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App-RNWallet Internal.debug.xcconfig"; path = "Target Support Files/Pods-App-RNWallet Internal/Pods-App-RNWallet Internal.debug.xcconfig"; sourceTree = "<group>"; };
936277491F1F3293104F8AD2 /* libPods-App-RNWallet Internal.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-App-RNWallet Internal.a"; sourceTree = BUILT_PRODUCTS_DIR; };
ABEB231DA62E483992083356 /* KHTeka-Regular.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "KHTeka-Regular.otf"; path = "../assets/fonts/KHTeka-Regular.otf"; sourceTree = "<group>"; };
ABEB231DA62E483992083356 /* KHTeka-Regular.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "KHTeka-Regular.otf"; path = "../assets/fonts/KHTeka-Regular.otf"; sourceTree = "<group>"; };
BC0E53642B7E95F80075EFC3 /* RNWeb3Wallet.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = RNWeb3Wallet.entitlements; path = RNWeb3Wallet/RNWeb3Wallet.entitlements; sourceTree = "<group>"; };
BC0E53652B7EAFF70075EFC3 /* RNWeb3WalletDebug.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = RNWeb3WalletDebug.entitlements; path = RNWeb3Wallet/RNWeb3WalletDebug.entitlements; sourceTree = "<group>"; };
C3A29D35A12B15C6680651C1 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = RNWeb3Wallet/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
Expand Down Expand Up @@ -346,10 +346,14 @@
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-App-RNWallet Debug/Pods-App-RNWallet Debug-resources-${CONFIGURATION}-input-files.xcfilelist",
);
inputPaths = (
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-App-RNWallet Debug/Pods-App-RNWallet Debug-resources-${CONFIGURATION}-output-files.xcfilelist",
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App-RNWallet Debug/Pods-App-RNWallet Debug-resources.sh\"\n";
Expand Down Expand Up @@ -505,10 +509,14 @@
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-App-RNWallet Debug/Pods-App-RNWallet Debug-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
inputPaths = (
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-App-RNWallet Debug/Pods-App-RNWallet Debug-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App-RNWallet Debug/Pods-App-RNWallet Debug-frameworks.sh\"\n";
Expand All @@ -522,10 +530,14 @@
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-App-RNWallet/Pods-App-RNWallet-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
inputPaths = (
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-App-RNWallet/Pods-App-RNWallet-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App-RNWallet/Pods-App-RNWallet-frameworks.sh\"\n";
Expand All @@ -539,10 +551,14 @@
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-App-RNWallet/Pods-App-RNWallet-resources-${CONFIGURATION}-input-files.xcfilelist",
);
inputPaths = (
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-App-RNWallet/Pods-App-RNWallet-resources-${CONFIGURATION}-output-files.xcfilelist",
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App-RNWallet/Pods-App-RNWallet-resources.sh\"\n";
Expand Down Expand Up @@ -600,10 +616,14 @@
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-App-RNWallet Internal/Pods-App-RNWallet Internal-resources-${CONFIGURATION}-input-files.xcfilelist",
);
inputPaths = (
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-App-RNWallet Internal/Pods-App-RNWallet Internal-resources-${CONFIGURATION}-output-files.xcfilelist",
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App-RNWallet Internal/Pods-App-RNWallet Internal-resources.sh\"\n";
Expand All @@ -617,10 +637,14 @@
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-App-RNWallet Internal/Pods-App-RNWallet Internal-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
inputPaths = (
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-App-RNWallet Internal/Pods-App-RNWallet Internal-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App-RNWallet Internal/Pods-App-RNWallet Internal-frameworks.sh\"\n";
Expand Down Expand Up @@ -756,7 +780,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.walletconnect.web3wallet.rnsample;
PRODUCT_NAME = RNWallet;
PROVISIONING_PROFILE_SPECIFIER = "";
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore com.walletconnect.web3wallet.rnsample 1757428941";
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore com.walletconnect.web3wallet.rnsample";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1510"
version = "1.7">
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
<key>com.apple.developer.associated-domains</key>
<array>
<string>applinks:lab.reown.com</string>
<string>applinks:pay.walletconnect.com</string>
<string>applinks:staging.pay.walletconnect.com</string>
<string>applinks:dev.pay.walletconnect.com</string>
</array>
<key>com.apple.developer.nfc.readersession.formats</key>
<array>
<string>NDEF</string>
<string>TAG</string>
</array>
</dict>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
<key>com.apple.developer.associated-domains</key>
<array>
<string>applinks:lab.reown.com</string>
<string>applinks:pay.walletconnect.com</string>
<string>applinks:staging.pay.walletconnect.com</string>
<string>applinks:dev.pay.walletconnect.com</string>
</array>
<key>com.apple.developer.nfc.readersession.formats</key>
<array>
<string>NDEF</string>
<string>TAG</string>
</array>
</dict>
Expand Down
1 change: 1 addition & 0 deletions wallets/rn_cli_wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"react-native-keyboard-controller": "^1.20.6",
"react-native-mmkv": "3.3.3",
"react-native-modal": "14.0.0-rc.1",
"react-native-nfc-manager": "^3.15.1",
"react-native-quick-base64": "2.2.2",
"react-native-quick-crypto": "0.7.17",
"react-native-reanimated": "^4.2.1",
Expand Down
11 changes: 11 additions & 0 deletions wallets/rn_cli_wallet/src/assets/NfcTap.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import Svg, { Path, type SvgProps } from 'react-native-svg';

const SvgNfcTap = (props: SvgProps) => (
<Svg viewBox="0 0 60 60" fill="none" {...props}>
<Path
d="M30 0C24.0666 0 18.2664 1.75947 13.3329 5.05591C8.39943 8.35235 4.55426 13.0377 2.28363 18.5195C0.0129985 24.0013 -0.581101 30.0333 0.576455 35.8527C1.73401 41.6721 4.59123 47.0176 8.78681 51.2132C12.9824 55.4088 18.3279 58.266 24.1473 59.4235C29.9667 60.5811 35.9987 59.987 41.4805 57.7164C46.9623 55.4457 51.6476 51.6006 54.9441 46.6671C58.2405 41.7336 60 35.9334 60 30C59.9916 22.0461 56.8282 14.4203 51.2039 8.79607C45.5797 3.1718 37.9539 0.00839948 30 0ZM21.0779 38.0019C20.94 38.2763 20.7487 38.5203 20.5152 38.7198C20.2817 38.9193 20.0108 39.0702 19.7183 39.1636C19.4258 39.2571 19.1176 39.2912 18.8117 39.264C18.5058 39.2368 18.2085 39.1488 17.937 39.0052C17.6656 38.8616 17.4255 38.6653 17.2309 38.4278C17.0363 38.1902 16.8911 37.9162 16.8038 37.6218C16.7164 37.3274 16.6887 37.0186 16.7222 36.7133C16.7557 36.4081 16.8499 36.1126 16.999 35.8442C17.9648 34.0476 18.4703 32.0397 18.4703 30C18.4703 27.9603 17.9648 25.9524 16.999 24.1558C16.7279 23.6163 16.6789 22.9921 16.8626 22.417C17.0463 21.8419 17.4481 21.3617 17.9818 21.0793C18.5154 20.797 19.1385 20.7351 19.7173 20.9069C20.2961 21.0786 20.7846 21.4704 21.0779 21.9981C22.382 24.4637 23.0638 27.2107 23.0638 30C23.0638 32.7893 22.382 35.5363 21.0779 38.0019ZM29.1548 42.6173C29.0155 42.8901 28.8232 43.1325 28.5891 43.3303C28.3551 43.528 28.0841 43.6772 27.7918 43.7691C27.4995 43.8609 27.1919 43.8937 26.8868 43.8654C26.5817 43.8372 26.2853 43.7485 26.0149 43.6044C25.7445 43.4604 25.5055 43.264 25.3118 43.0266C25.118 42.7892 24.9735 42.5157 24.8867 42.2219C24.7998 41.9281 24.7723 41.6199 24.8058 41.3153C24.8393 41.0108 24.9331 40.716 25.0817 40.4481C26.7962 37.2303 27.6929 33.6402 27.6929 29.9942C27.6929 26.3482 26.7962 22.7582 25.0817 19.5404C24.9331 19.2725 24.8393 18.9776 24.8058 18.6731C24.7723 18.3686 24.7998 18.0604 24.8867 17.7666C24.9735 17.4728 25.118 17.1992 25.3118 16.9618C25.5055 16.7245 25.7445 16.528 26.0149 16.384C26.2853 16.24 26.5817 16.1513 26.8868 16.123C27.1919 16.0947 27.4995 16.1275 27.7918 16.2194C28.0841 16.3113 28.3551 16.4604 28.5891 16.6582C28.8232 16.8559 29.0155 17.0983 29.1548 17.3712C31.2271 21.2571 32.3108 25.5935 32.3103 29.9975C32.3098 34.4014 31.2251 38.7376 29.1519 42.6231L29.1548 42.6173ZM37.2317 47.2327C36.9185 47.721 36.4329 48.0734 35.8716 48.2198C35.3103 48.3662 34.7144 48.2958 34.2026 48.0226C33.6908 47.7495 33.3007 47.2936 33.1099 46.7458C32.9191 46.1979 32.9417 45.5983 33.1731 45.0663C35.6552 40.4323 36.9539 35.2569 36.9539 30C36.9539 24.7431 35.6552 19.5677 33.1731 14.9337C32.8847 14.3935 32.8226 13.761 33.0006 13.1751C33.1786 12.5892 33.582 12.098 34.1221 11.8096C34.6622 11.5212 35.2948 11.4591 35.8807 11.6371C36.4666 11.8151 36.9577 12.2185 37.2462 12.7587C40.0823 18.0635 41.565 23.9864 41.5625 30.0018C41.5599 36.0172 40.0723 41.9389 37.2317 47.2413V47.2327Z"
fill={props.fill || '#202020'}
/>
</Svg>
);
export default SvgNfcTap;
Loading
Loading