Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit 7dd05da

Browse files
authored
chore: update rn-indy-sdk references (#14)
Signed-off-by: Timo Glastra <[email protected]>
1 parent 4beab7b commit 7dd05da

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ buck-out/
4242
*.keystore
4343

4444
# NPM package
45-
rn-indy-sdk-*.tgz
45+
indy-sdk-react-native-*.tgz
4646

4747
# Build output
4848
lib

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
android/.idea
22
android/build
3-
rn-indy-sdk-1.0.0.tgz
3+
indy-sdk-react-native-1.0.0.tgz
44
/src/

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ React Native Indy SDK wrapper.
55
## Installation
66

77
with npm:
8-
`$ npm install rn-indy-sdk --save`
8+
`$ npm install indy-sdk-react-native --save`
99

1010
with Yarn:
11-
`$ yarn add rn-indy-sdk`
11+
`$ yarn add indy-sdk-react-native`
1212

1313
Link (for React Native lower than 0.60)
1414

15-
`$ react-native link rn-indy-sdk`
15+
`$ react-native link indy-sdk-react-native`
1616

1717
## Android
1818

@@ -126,6 +126,7 @@ public class MainActivity extends ReactActivity {
126126
## iOS
127127

128128
1. Install CocoaPods dependencies:
129+
129130
```
130131
pod install --project-directory=ios/
131132
```
@@ -139,14 +140,14 @@ ios/Pods/
139140
!ios/Pods/Frameworks
140141
```
141142

142-
4. Add `Indy.framework` as dependency into your project. Open `.xcworkspace` file in Xcode and in your project settings, tab General, section Frameworks, Libraries, and Embedded Content, click on plus. Then select Add Other -> Add files... and navigate to `Indy.framework` file on your disk.
143+
4. Add `Indy.framework` as dependency into your project. Open `.xcworkspace` file in Xcode and in your project settings, tab General, section Frameworks, Libraries, and Embedded Content, click on plus. Then select Add Other -> Add files... and navigate to `Indy.framework` file on your disk.
143144

144-
> Beware that the Indy SDK repository does not have the "Build Libraries for Distribution" enabled by default. If that setting is disabled the version of Swift your project uses must be the same as the version of Swift used to compile `Indy.framework`. From Swift 5.0 onwards, building the library with that setting enabled will allow to use an `Indy.framework` build that is compiled with a different version of Swift as your project. See https://stackoverflow.com/a/63305234/10552895 for more info.
145+
> Beware that the Indy SDK repository does not have the "Build Libraries for Distribution" enabled by default. If that setting is disabled the version of Swift your project uses must be the same as the version of Swift used to compile `Indy.framework`. From Swift 5.0 onwards, building the library with that setting enabled will allow to use an `Indy.framework` build that is compiled with a different version of Swift as your project. See https://stackoverflow.com/a/63305234/10552895 for more info.
145146
146147
## Usage
147148

148149
```javascript
149-
import indy from 'rn-indy-sdk'
150+
import indy from 'indy-sdk-react-native'
150151

151152
await indy.createWallet({ id: 'wallet-123' }, { key: 'key' })
152153
```

rn-indy-sdk.podspec renamed to indy-sdk-react-native.podspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ require "json"
1818
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
1919

2020
Pod::Spec.new do |s|
21-
s.name = "rn-indy-sdk"
21+
s.name = "indy-sdk-react-native"
2222
s.version = package["version"]
2323
s.summary = package["description"]
2424
s.description = <<-DESC
25-
rn-indy-sdk
25+
indy-sdk-react-native
2626
DESC
27-
s.homepage = "https://github.com/AbsaOSS/rn-indy-sdk"
27+
s.homepage = "https://github.com/hyperledger/indy-sdk-react-native"
2828
s.license = "Apache-2.0"
2929
# s.license = { :type => "Apache-2.0", :file => "LICENSE.md" }
3030
s.authors = { "Your Name" => "[email protected]" }
3131
s.platforms = { :ios => "10.0" }
32-
s.source = { :git => "https://github.com/AbsaOSS/rn-indy-sdk.git", :tag => "#{s.version}" }
32+
s.source = { :git => "https://github.com/hyperledger/indy-sdk-react-native.git", :tag => "#{s.version}" }
3333

3434
s.source_files = "ios/**/*.{h,m,swift}"
3535
s.requires_arc = true

0 commit comments

Comments
 (0)