You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run `react-native link` in the react native project
51
51
52
52
```
53
-
react-native link
53
+
react-native link aliyun-oss-react-native
54
+
```
55
+
56
+
`Note`:for suppport IPv6-Only networkd,you need to require :
57
+
```javascript
58
+
1.libresolv.tbd
59
+
2.CoreTelephony.framework
60
+
3.SystemConfiguration.framework
54
61
```
55
62
56
63
### Manual Installation
@@ -66,15 +73,15 @@ pod 'aliyun-oss-react-native', :path => '../node_modules/aliyun-oss-react-native
66
73
- **no CocoaPods**
67
74
68
75
1. In the XCode's "Project navigator", right click on your project's Libraries folder ➜ `Add Files to <...>` Go to `node_modules` ➜ `aliyun-oss-react-native` ➜ `ios` ➜ select `RNAliyunOSS.xcodeproj`
69
-
2. Add `RNAliyun.a` to `Build Phases -> Link Binary With Libraries`
76
+
2. Add `libRNAliyunOSS.a` to `Build Phases -> Link Binary With Libraries`
70
77
3. In XCode, in the project navigator, right click `Frameworks` ➜ `Add Files to [your project's name]`. Go to `node_modules` ➜ `aliyun-oss-react-native` ➜ `AliyunSDK`. Add `AliyunOSSiOS.framework`, and select *Copy items if needed* in the pop-up box.
71
78
72
79
#### Android
73
80
1. Add the following lines to `android/settings.gradle`:
74
81
75
82
```gradle
76
-
include ':react-native-rn-sdk'
77
-
project(':react-native-rn-sdk').projectDir = new File(rootProject.projectDir, '../node_modules/aliyun-oss-rn-sdk/android')
83
+
include ':react-native-react-sdk'
84
+
project(':react-native-react-sdk').projectDir = new File(rootProject.projectDir, '../node_modules/aliyun-oss-rn-sdk/android')
78
85
```
79
86
80
87
2. Add the compile line to the dependencies in `android/app/build.gradle`:
0 commit comments