Skip to content

Commit b42e739

Browse files
chore: updated wagmi sample to latest react native version
1 parent ba89a56 commit b42e739

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+4192
-2983
lines changed

.maestro/web/connect_confirm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: AppKit Web to React Native Wallet Connection Confirmed
33
---
44
- clearState
55
- openLink:
6-
link: https://appkit-lab.reown.com/library/wagmi/
6+
link: https://lab.reown.com/library/wagmi/
77
browser: true
88
- startRecording: "Web to Native Connection Confirmed"
99
- extendedWaitUntil:

.maestro/web/connect_reject.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: AppKit Web to React Native Wallet Connection Rejected
33
---
44
- clearState
55
- openLink:
6-
link: https://appkit-lab.reown.com/library/wagmi/
6+
link: https://lab.reown.com/library/wagmi/
77
browser: true
88
- startRecording: "Web to Native Connection Rejected"
99
- extendedWaitUntil:

.maestro/web/personal_sign_confirm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ appId: com.walletconnect.web3modal.rnsample.internal
22
name: AppKit Web to React Native Wallet Sign Request Confirmed
33
---
44
- openLink:
5-
link: https://appkit-lab.reown.com/library/wagmi/
5+
link: https://lab.reown.com/library/wagmi/
66
browser: true
77
- startRecording: "Web to Native Sign Request Confirmed"
88
- extendedWaitUntil:

.maestro/web/personal_sign_reject.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ appId: com.walletconnect.web3modal.rnsample.internal
22
name: AppKit Web to React Native Wallet Sign Request Rejected
33
---
44
- openLink:
5-
link: https://appkit-lab.reown.com/library/wagmi/
5+
link: https://lab.reown.com/library/wagmi/
66
browser: true
77
- startRecording: "Web to Native Sign Request Rejected"
88
- extendedWaitUntil:

dapps/W3MWagmi/.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
module.exports = {
22
root: true,
33
extends: '@react-native',
4+
rules: {
5+
'@react-native/no-deep-imports': 'off',
6+
},
47
};

dapps/W3MWagmi/.prettierrc.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
module.exports = {
22
arrowParens: 'avoid',
3-
bracketSameLine: true,
4-
bracketSpacing: false,
53
singleQuote: true,
64
trailingComma: 'all',
75
};

dapps/W3MWagmi/Gemfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,10 @@ gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
88
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
99
gem 'xcodeproj', '< 1.26.0'
1010
gem 'concurrent-ruby', '< 1.3.4'
11-
gem "rexml", ">= 3.4.2"
11+
gem "rexml", ">= 3.4.2"
12+
13+
# Ruby 3.4.0 has removed some libraries from the standard library.
14+
gem 'bigdecimal'
15+
gem 'logger'
16+
gem 'benchmark'
17+
gem 'mutex_m'

dapps/W3MWagmi/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ def enableProguardInReleaseBuilds = false
8686
* The preferred build flavor of JavaScriptCore (JSC)
8787
*
8888
* For example, to use the international variant, you can use:
89-
* `def jscFlavor = 'org.webkit:android-jsc:+'`
89+
* `def jscFlavor = io.github.react-native-community:jsc-android-intl:2026004.+`
9090
*
9191
* The international variant includes ICU i18n library and necessary data
9292
* allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
9393
* give correct results when using with locales other than en-US. Note that
9494
* this variant is about 6MiB larger per architecture than default.
9595
*/
96-
def jscFlavor = 'org.webkit:android-jsc:+'
96+
def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+'
9797

9898
android {
9999
ndkVersion rootProject.ext.ndkVersion

dapps/W3MWagmi/android/app/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
<category android:name="android.intent.category.DEFAULT" />
2121
<category android:name="android.intent.category.BROWSABLE" />
2222
<data android:scheme="https"/>
23-
<data android:host="appkit-lab.reown.com"/>
24-
<data android:host="dev.appkit-lab.reown.com"/>
23+
<data android:host="lab.reown.com"/>
2524
<data android:pathPrefix="/rn_appkit_debug"/>
2625
</intent-filter>
2726
</activity>

dapps/W3MWagmi/android/app/src/internal/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
<category android:name="android.intent.category.DEFAULT" />
1313
<category android:name="android.intent.category.BROWSABLE" />
1414
<data android:scheme="https"/>
15-
<data android:host="appkit-lab.reown.com"/>
16-
<data android:host="dev.appkit-lab.reown.com"/>
15+
<data android:host="lab.reown.com"/>
1716
<data android:pathPrefix="/rn_appkit_internal"/>
1817
</intent-filter>
1918
</activity>

0 commit comments

Comments
 (0)