Skip to content

Commit 61108fb

Browse files
committed
Important updates on Flutter WalletKit
1 parent 98bebaa commit 61108fb

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

advanced/multichain/rpc-reference/near-rpc.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ The result of `signTransaction` and is encoded [SignedTransaction](https://nomic
142142
"method": "near_signTransaction",
143143
"params": {
144144
"transaction": {
145-
"type": "Buffer",
145+
"type": "Buffer",
146146
"data": [32, 0, 0, 0, 100, 101, 118, 45, 49, 54, 55, 49, 51, 56, 55, 51, 57, 56 ...]
147147
}
148148
}
@@ -153,7 +153,7 @@ The result of `signTransaction` and is encoded [SignedTransaction](https://nomic
153153
"id": 1,
154154
"jsonrpc": "2.0",
155155
"result": {
156-
"type": "Buffer",
156+
"type": "Buffer",
157157
"data": [32, 0, 0, 0, 100, 101, 118, 45, 49, 54, 55, 49, 51, 56, 55, 51, 57, 56 ...]
158158
}
159159
}

walletkit/flutter/chain-abstraction.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Future<String> erc20TokenBalance({
198198

199199
## Android
200200

201-
In your android (project's) build.gradle file add support for Jitpack:
201+
If you didn't do it already, in your android (project's) build.gradle file add support for Jitpack:
202202

203203
```
204204
allprojects {

walletkit/flutter/installation.mdx

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,19 @@ title: Installation
77

88
<Note>
99

10-
Depending on your platform, you will have to add different permissions to get the package to work.
11-
12-
**MacOS**
10+
If you are on **Android** add jitpack support to your android (project's) build.gradle file
11+
12+
```
13+
allprojects {
14+
repositories {
15+
google()
16+
mavenCentral()
17+
maven { url 'https://jitpack.io' } // <- add jipack url
18+
}
19+
}
20+
```
21+
22+
If you are on **MacOS** you will have to add different permissions to get the package to work.
1323

1424
Add the following to your `DebugProfile.entitlements` and `Release.entitlements` files so that it can connect to the WebSocket server.
1525

0 commit comments

Comments
 (0)