Skip to content

Commit 3327c0a

Browse files
authored
Merge pull request #1419 from WalletConnect/develop
1.20.3
2 parents 2d0c59f + 2439701 commit 3327c0a

File tree

4 files changed

+38
-71
lines changed

4 files changed

+38
-71
lines changed

Example/ExampleApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 27 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 3 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,5 @@
1-
# WalletConnect v.2 - Swift
1+
# Deprecated - WalletConnect v.2 - Swift
22

3-
![CI main](https://github.com/WalletConnect/WalletConnectSwiftV2/actions/workflows/ci.yml/badge.svg?branch=main)
4-
![CI develop](https://github.com/WalletConnect/WalletConnectSwiftV2/actions/workflows/ci.yml/badge.svg?branch=develop)
3+
WalletConnect Inc is now Reown. As part of this transition, we are deprecating a number of repositories/packages across our supported platforms, and transitioning to their equivalents published under the Reown organization.
54

6-
Swift implementation of WalletConnect v.2 protocol for native iOS applications.
7-
## Requirements
8-
- iOS 13
9-
- XCode 13
10-
- Swift 5
11-
12-
## Documentation & Usage
13-
- In order to build API documentation in XCode go to Product -> Build Documentation
14-
- [Getting started with wallet integration](https://docs.walletconnect.com/2.0/swift/sign/installation)
15-
- [Beginner guide to WalletConnect v2.0 for iOS Developers](https://medium.com/walletconnect/beginner-guide-to-walletconnect-v2-0-for-swift-developers-4534b0975218)
16-
- [Protocol Documentation](https://github.com/WalletConnect/walletconnect-specs)
17-
- [Glossary](https://docs.walletconnect.com/2.0/introduction/glossary)
18-
- [Migration guide from Sign and Auth to Web3Wallet](https://github.com/WalletConnect/walletconnect-docs/blob/main/docs/swift/guides/web3wallet-migration.md)
19-
20-
21-
## Installation
22-
### Swift Package Manager
23-
Add .package(url:_:) to your Package.swift:
24-
```Swift
25-
dependencies: [
26-
.package(url: "https://github.com/WalletConnect/WalletConnectSwiftV2", .branch("main")),
27-
],
28-
```
29-
### Cocoapods
30-
Add pod to your Podfile:
31-
32-
```Ruby
33-
pod 'WalletConnectSwiftV2'
34-
```
35-
If you encounter any problems during package installation, you can specify the exact path to the repository
36-
```Ruby
37-
pod 'WalletConnectSwiftV2', :git => 'https://github.com/WalletConnect/WalletConnectSwiftV2.git', :tag => '1.0.5'
38-
```
39-
## Setting Project ID
40-
Follow instructions from *Configuration.xcconfig* and configure PROJECT_ID with your ID from WalletConnect Dashboard
41-
```
42-
// Uncomment next line and paste your project id. Get this on: https://cloud.walletconnect.com/sign-in
43-
// PROJECT_ID = YOUR_PROJECT_ID
44-
// To use Push Notifications on the Simulator you need to grab the simulator identifier
45-
// from Window->Devices and Simulators->Simulator you're using->Identifier
46-
SIMULATOR_IDENTIFIER = YOUR_SIMULATOR_IDENTIFIER
47-
```
48-
## Example App
49-
open `Example/ExampleApp.xcodeproj`
50-
51-
## Web3Wallet
52-
Web3Wallet SDK introduces a new interface for all wallets that wraps the Sign and Auth clients internally.
53-
- [Migration guide from Sign and Auth to Web3Wallet](https://github.com/WalletConnect/walletconnect-docs/blob/main/docs/swift/web3wallet/upgrade-guide.md)
54-
55-
## License
56-
57-
Apache 2.0
58-
59-
## Guides
60-
61-
- [Artifacts sometimes not available in Actions -> Build name -> Artifacts?](./docs/guides/downloading_artifacts.md)
5+
This repository is now considered deprecated and will reach End-of-Life on February 17th 2025. For more details, including migration guides please see: https://docs.reown.com/advanced/walletconnect-deprecations
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version": "1.20.2"}
1+
{"version": "1.20.3"}

Sources/Web3Wallet/Web3Wallet.swift

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,12 @@ public typealias VerifyContext = WalletConnectVerify.VerifyContext
1717
/// Web3Wallet.configure(metadata: metadata, account: account)
1818
/// Web3Wallet.instance.getSessions()
1919
/// ```
20+
///
21+
/// - Warning: `Web3Wallet` has been deprecated. Please migrate to `WalletKit` which can be found at [https://github.com/reown-com/reown-swift](https://github.com/reown-com/reown-swift).
22+
@available(*, deprecated, message: "WalletConnect Inc is now Reown. As part of this transition, we are deprecating a number of repositories/packages across our supported platforms, and transitioning to their equivalents published under the Reown organization. This repository is now considered deprecated and will reach End-of-Life on February 17th 2025. For more details, including migration guides please see: https://docs.reown.com/advanced/walletconnect-deprecations")
2023
public class Web3Wallet {
21-
/// Web3Wallett client instance
24+
25+
/// Web3Wallet client instance
2226
public static var instance: Web3WalletClient = {
2327
guard let config = Web3Wallet.config else {
2428
fatalError("Error - you must call Web3Wallet.configure(_:) before accessing the shared instance.")
@@ -29,7 +33,7 @@ public class Web3Wallet {
2933
pushClient: Push.instance
3034
)
3135
}()
32-
36+
3337
private static var config: Config?
3438

3539
private init() { }
@@ -38,6 +42,7 @@ public class Web3Wallet {
3842
/// - Parameters:
3943
/// - metadata: App metadata
4044
/// - crypto: Auth crypto utils
45+
@available(*, deprecated, message: "Web3Wallet.configure has been deprecated. Please migrate to WalletKit.configure.")
4146
static public func configure(
4247
metadata: AppMetadata,
4348
crypto: CryptoProvider,

0 commit comments

Comments
 (0)