Skip to content

Commit 1861349

Browse files
update docs for latest mobile sdk release
1 parent e5b8fb9 commit 1861349

8 files changed

Lines changed: 25 additions & 14 deletions

File tree

docs/sdk/pnp/android/android.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ generated in a non-custodial way on successful user authentication. This authent
1313
achieved by using any social login options that Web3Auth supports or custom authentication flow of
1414
your choice.
1515

16-
#### This Documentation is based on the `7.1.1` SDK Version.
16+
#### This Documentation is based on the `7.2.0` SDK Version.
1717

1818
## Requirements
1919

docs/sdk/pnp/android/usage.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -526,8 +526,8 @@ class MainActivity : AppCompatActivity() {
526526
## Launch Wallet Services
527527

528528
The `launchWalletServices` method launches a WebView which allows you to use the templated wallet UI
529-
services. The method takes `LoginParams` and `ChainConfig` as the required input.Wallet Services is
530-
currently only available for EVM chains.
529+
services. The method takes`ChainConfig` as the required input. Wallet Services is currently only
530+
available for EVM chains.
531531

532532
:::note Minimum Scale plan required
533533

@@ -585,7 +585,6 @@ data class ChainConfig(
585585
</Tabs>
586586

587587
```kotlin title="Usage"
588-
val loginParams = LoginParams(Provider.GOOGLE)
589588

590589
// highlight-start
591590
val chainConfig = ChainConfig(
@@ -597,7 +596,7 @@ val chainConfig = ChainConfig(
597596
// highlight-end
598597

599598
val completableFuture = web3Auth.launchWalletServices(
600-
loginParams, chainConfig
599+
chainConfig
601600
)
602601

603602
completableFuture.whenComplete{_, error ->

docs/sdk/pnp/ios/ios.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ a private key generated in a non custodial way on successful authentication of t
1313
authentication can be achieved by using any of the social logins Web3Auth provides or using a custom
1414
authentication flow of your choice.
1515

16-
#### This Documentation is based on the `8.1.1` SDK Version.
16+
#### This Documentation is based on the `8.2.0` SDK Version.
1717

1818
### Requirements
1919

docs/sdk/pnp/ios/usage.mdx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ do {
408408
## Launch Wallet Services
409409

410410
The `launchWalletServices` method launches a WebView which allows you to use the templated wallet UI
411-
services. The method takes `W3ALoginParams` and `ChainConfig` as the required input. Wallet Services
412-
is currently only available for EVM chains.
411+
services. The method takes `ChainConfig` as the required input. Wallet Services is currently only
412+
available for EVM chains.
413413

414414
:::note Minimum Scale plan required
415415

@@ -470,11 +470,8 @@ public struct ChainConfig: Codable {
470470
</Tabs>
471471

472472
```swift title="Usage"
473-
let loginParams = W3ALoginParams(loginProvider: .GOOGLE)
474-
475473
do {
476474
try await web3Auth!.launchWalletServices(
477-
loginParams,
478475
chainConfig: ChainConfig(
479476
chainId: "11155111",
480477
rpcTarget: "https://eth-sepolia.public.blastapi.io"

src/common/sdk/pnp/android/_android-deep-linking.mdx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,18 @@ Make sure your Main activity launchMode is set to **singleTop** in your `Android
2424
// ...
2525
</activity>
2626
```
27+
28+
From version **7.1.2**, please make sure to set `android:allowBackup` to `false`, and add
29+
`tools:replace="android:fullBackupContent"` in your `AndroidManifest.xml` file.
30+
31+
```xml
32+
<application
33+
// highlight-start
34+
android:allowBackup="false"
35+
tools:replace="android:fullBackupContent"
36+
// highlight-end
37+
android:dataExtractionRules="@xml/data_extraction_rules"
38+
android:fullBackupContent="@xml/backup_rules"
39+
android:icon="@mipmap/ic_launcher">
40+
</application>
41+
```

src/common/sdk/pnp/android/_installation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
dependencies {
33
// ...
44
// highlight-next-line
5-
implementation 'com.github.web3auth:web3auth-android-sdk:7.1.1'
5+
implementation 'com.github.web3auth:web3auth-android-sdk:7.2.0'
66
}
77
```
88

src/common/sdk/pnp/ios/_cocoapods.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ To install the Web3Auth SDK using Cocoapods, follow the below steps:
33
1. Open the Podfile, and add the Web3Auth pod:
44

55
```sh
6-
pod 'Web3Auth', '~> 8.1.1'
6+
pod 'Web3Auth', '~> 8.2.0'
77
```
88

99
2. Once added, use `pod install` command to download the Web3Auth dependency.

src/common/sdk/pnp/ios/_spm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
https://github.com/Web3Auth/web3auth-swift-sdk
77
```
88

9-
From the `Dependency Rule` dropdown, select `Exact Version` and enter `8.1.1` as the version.
9+
From the `Dependency Rule` dropdown, select `Exact Version` and enter `8.2.0` as the version.
1010

1111
3. When finished, Xcode will automatically begin resolving and downloading your dependencies in the
1212
background.

0 commit comments

Comments
 (0)