react-native-blob-util 0.24.6 → 0.24.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +96 -96
- package/LICENSE +21 -21
- package/Migration.md +41 -41
- package/NuGet.config +11 -11
- package/README.md +1109 -1109
- package/android/gradle.properties +1 -1
- package/android/src/main/AndroidManifest.xml +37 -37
- package/android/src/main/java/com/ReactNativeBlobUtil/ReactNativeBlobUtilConfig.java +59 -59
- package/android/src/main/java/com/ReactNativeBlobUtil/ReactNativeBlobUtilConst.java +20 -20
- package/android/src/main/java/com/ReactNativeBlobUtil/ReactNativeBlobUtilFileTransformer.java +9 -9
- package/android/src/main/java/com/ReactNativeBlobUtil/ReactNativeBlobUtilImpl.java +431 -431
- package/android/src/main/java/com/ReactNativeBlobUtil/ReactNativeBlobUtilProgressConfig.java +39 -39
- package/android/src/main/java/com/ReactNativeBlobUtil/ReactNativeBlobUtilReq.java +1092 -1092
- package/android/src/main/java/com/ReactNativeBlobUtil/Response/ReactNativeBlobUtilDefaultResp.java +98 -98
- package/android/src/main/java/com/ReactNativeBlobUtil/Response/ReactNativeBlobUtilFileResp.java +166 -166
- package/android/src/main/java/com/ReactNativeBlobUtil/Utils/FileDescription.java +19 -19
- package/android/src/main/java/com/ReactNativeBlobUtil/Utils/FileProvider.java +4 -4
- package/android/src/main/java/com/ReactNativeBlobUtil/Utils/MimeType.java +70 -70
- package/android/src/main/java/com/ReactNativeBlobUtil/Utils/PathResolver.java +223 -223
- package/android/src/main/java/com/ReactNativeBlobUtil/Utils/Tls12SocketFactory.java +68 -68
- package/android/src/main/res/values/strings.xml +3 -3
- package/android/src/main/res/xml/provider_paths.xml +12 -12
- package/android.js +58 -58
- package/class/ReactNativeBlobUtilCanceledFetchError.js +9 -9
- package/class/ReactNativeBlobUtilFile.js +5 -5
- package/class/ReactNativeBlobUtilReadStream.js +84 -84
- package/class/ReactNativeBlobUtilSession.js +68 -68
- package/class/ReactNativeBlobUtilWriteStream.js +50 -50
- package/class/StatefulPromise.js +7 -7
- package/codegenSpecs/NativeBlobUtils.js +86 -86
- package/components/Fetch.onPress.js +10 -10
- package/components/Fetch.when.js +15 -15
- package/fetch.js +350 -350
- package/fs.js +480 -480
- package/index.d.ts +880 -880
- package/index.js +64 -64
- package/index.js.flow +192 -192
- package/index.web.js +1 -1
- package/ios/PrivacyInfo.xcprivacy +28 -28
- package/ios/ReactNativeBlobUtil/ReactNativeBlobUtil.h +55 -55
- package/ios/ReactNativeBlobUtil/ReactNativeBlobUtil.mm +1013 -1013
- package/ios/ReactNativeBlobUtil.xcodeproj/project.pbxproj +405 -405
- package/ios/ReactNativeBlobUtilConst.h +58 -58
- package/ios/ReactNativeBlobUtilConst.mm +47 -47
- package/ios/ReactNativeBlobUtilFS.h +108 -108
- package/ios/ReactNativeBlobUtilFS.mm +1080 -1080
- package/ios/ReactNativeBlobUtilFileTransformer.h +23 -23
- package/ios/ReactNativeBlobUtilFileTransformer.mm +20 -20
- package/ios/ReactNativeBlobUtilNetwork.h +49 -49
- package/ios/ReactNativeBlobUtilNetwork.mm +159 -159
- package/ios/ReactNativeBlobUtilProgress.h +32 -32
- package/ios/ReactNativeBlobUtilProgress.mm +57 -57
- package/ios/ReactNativeBlobUtilReqBuilder.h +37 -37
- package/ios/ReactNativeBlobUtilReqBuilder.mm +292 -292
- package/ios/ReactNativeBlobUtilRequest.h +48 -48
- package/ios/ReactNativeBlobUtilRequest.mm +584 -584
- package/ios.js +61 -61
- package/json-stream.js +42 -42
- package/lib/oboe-browser.js +2703 -2703
- package/mediacollection.js +36 -36
- package/package.json +77 -77
- package/polyfill/Blob.js +362 -362
- package/polyfill/Event.js +11 -11
- package/polyfill/EventTarget.js +78 -78
- package/polyfill/Fetch.js +219 -219
- package/polyfill/File.js +27 -27
- package/polyfill/FileReader.js +91 -91
- package/polyfill/ProgressEvent.js +32 -32
- package/polyfill/XMLHttpRequest.js +466 -466
- package/polyfill/XMLHttpRequestEventTarget.js +126 -126
- package/polyfill/index.js +11 -11
- package/react-native-blob-util.podspec +48 -48
- package/types.js +69 -69
- package/utils/log.js +40 -40
- package/utils/unicode.js +7 -7
- package/utils/uri.js +33 -33
- package/utils/uuid.js +4 -4
- package/windows/ExperimentalFeatures.props +33 -33
- package/windows/README.md +2 -2
- package/windows/ReactNativeBlobUtil/PropertySheet.props +15 -15
- package/windows/ReactNativeBlobUtil/ReactNativeBlobUtil.cpp +1836 -1836
- package/windows/ReactNativeBlobUtil/ReactNativeBlobUtil.def +3 -3
- package/windows/ReactNativeBlobUtil/ReactNativeBlobUtil.h +372 -372
- package/windows/ReactNativeBlobUtil/ReactNativeBlobUtil.vcxproj +139 -139
- package/windows/ReactNativeBlobUtil/ReactNativeBlobUtil.vcxproj.filters +43 -43
- package/windows/ReactNativeBlobUtil/ReactPackageProvider.cpp +20 -20
- package/windows/ReactNativeBlobUtil/ReactPackageProvider.h +24 -24
- package/windows/ReactNativeBlobUtil/ReactPackageProvider.idl +9 -9
- package/windows/ReactNativeBlobUtil/codegen/.clang-format +1 -1
- package/windows/ReactNativeBlobUtil/codegen/NativeBlobUtilsDataTypes.g.h +42 -42
- package/windows/ReactNativeBlobUtil/codegen/NativeBlobUtilsSpec.g.h +353 -353
- package/windows/ReactNativeBlobUtil/packages.config +3 -3
- package/windows/ReactNativeBlobUtil/packages.lock.json +59 -59
- package/windows/ReactNativeBlobUtil/pch.cpp +1 -1
- package/windows/ReactNativeBlobUtil/pch.h +30 -30
- package/windows/ReactNativeBlobUtil/resource.h +5 -5
- package/windows/ReactNativeBlobUtil/targetver.h +8 -8
- package/windows/ReactNativeBlobUtil.sln +43 -43
package/.eslintrc.json
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
|
-
{
|
|
2
|
-
"root": true,
|
|
3
|
-
"extends": [
|
|
4
|
-
"@react-native"
|
|
5
|
-
//"plugin:import/recommended"
|
|
6
|
-
],
|
|
7
|
-
"rules": {
|
|
8
|
-
"prettier/prettier": 0,
|
|
9
|
-
"eqeqeq": 2,
|
|
10
|
-
"comma-dangle": 0,
|
|
11
|
-
"curly": 0,
|
|
12
|
-
"no-console": 1,
|
|
13
|
-
"no-debugger": 1,
|
|
14
|
-
"no-extra-semi": 2,
|
|
15
|
-
"no-extra-parens": 1,
|
|
16
|
-
"no-extra-boolean-cast": 1,
|
|
17
|
-
"no-cond-assign": 2,
|
|
18
|
-
"no-irregular-whitespace": 2,
|
|
19
|
-
"no-undef": 0,
|
|
20
|
-
"no-unused-vars": 0,
|
|
21
|
-
"semi": 2,
|
|
22
|
-
"semi-spacing": 2,
|
|
23
|
-
"valid-jsdoc": 0,
|
|
24
|
-
"radix": 0,
|
|
25
|
-
"no-extend-native": 0,
|
|
26
|
-
"react/display-name": 2,
|
|
27
|
-
"react/forbid-prop-types": 1,
|
|
28
|
-
"react/jsx-boolean-value": 1,
|
|
29
|
-
"react/jsx-closing-bracket-location": 1,
|
|
30
|
-
"react/jsx-curly-spacing": 1,
|
|
31
|
-
"react/jsx-indent-props": 0,
|
|
32
|
-
"react/jsx-max-props-per-line": 0,
|
|
33
|
-
"react/jsx-no-duplicate-props": 1,
|
|
34
|
-
"react/jsx-no-literals": 0,
|
|
35
|
-
"react/jsx-no-undef": 1,
|
|
36
|
-
"react/jsx-sort-props": 0,
|
|
37
|
-
"react/jsx-uses-react": 1,
|
|
38
|
-
"react/jsx-uses-vars": 1,
|
|
39
|
-
"react/jsx-wrap-multilines": 0,
|
|
40
|
-
"react/no-danger": 1,
|
|
41
|
-
"react/no-did-mount-set-state": 1,
|
|
42
|
-
"react/no-did-update-set-state": 1,
|
|
43
|
-
"react/no-direct-mutation-state": 1,
|
|
44
|
-
"react/no-multi-comp": 1,
|
|
45
|
-
"react/no-set-state": 0,
|
|
46
|
-
"react/no-unknown-property": 1,
|
|
47
|
-
"react/prop-types": 0,
|
|
48
|
-
"react/react-in-jsx-scope": 0,
|
|
49
|
-
"react/self-closing-comp": 1,
|
|
50
|
-
"react/sort-comp": 1,
|
|
51
|
-
"import/no-unresolved": 0,
|
|
52
|
-
"import/no-default-export": 1,
|
|
53
|
-
"import/order": [
|
|
54
|
-
1,
|
|
55
|
-
{
|
|
56
|
-
"groups": [
|
|
57
|
-
"external",
|
|
58
|
-
"internal",
|
|
59
|
-
"index",
|
|
60
|
-
"sibling",
|
|
61
|
-
"parent",
|
|
62
|
-
"builtin",
|
|
63
|
-
"object",
|
|
64
|
-
"type"
|
|
65
|
-
],
|
|
66
|
-
"alphabetize": {
|
|
67
|
-
"order": "asc",
|
|
68
|
-
/* sort in ascending order. Options: ['ignore', 'asc', 'desc'] */
|
|
69
|
-
"caseInsensitive": true
|
|
70
|
-
/* ignore case. Options: [true, false] */
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
"quotes": [
|
|
75
|
-
"warn",
|
|
76
|
-
"single",
|
|
77
|
-
{
|
|
78
|
-
"allowTemplateLiterals": true
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
},
|
|
82
|
-
"overrides": [
|
|
83
|
-
{
|
|
84
|
-
"files": [
|
|
85
|
-
"*.ts",
|
|
86
|
-
"*.tsx"
|
|
87
|
-
],
|
|
88
|
-
"rules": {
|
|
89
|
-
"no-dupe-class-members": "off"
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
"plugins": [
|
|
94
|
-
"import"
|
|
95
|
-
]
|
|
96
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"root": true,
|
|
3
|
+
"extends": [
|
|
4
|
+
"@react-native"
|
|
5
|
+
//"plugin:import/recommended"
|
|
6
|
+
],
|
|
7
|
+
"rules": {
|
|
8
|
+
"prettier/prettier": 0,
|
|
9
|
+
"eqeqeq": 2,
|
|
10
|
+
"comma-dangle": 0,
|
|
11
|
+
"curly": 0,
|
|
12
|
+
"no-console": 1,
|
|
13
|
+
"no-debugger": 1,
|
|
14
|
+
"no-extra-semi": 2,
|
|
15
|
+
"no-extra-parens": 1,
|
|
16
|
+
"no-extra-boolean-cast": 1,
|
|
17
|
+
"no-cond-assign": 2,
|
|
18
|
+
"no-irregular-whitespace": 2,
|
|
19
|
+
"no-undef": 0,
|
|
20
|
+
"no-unused-vars": 0,
|
|
21
|
+
"semi": 2,
|
|
22
|
+
"semi-spacing": 2,
|
|
23
|
+
"valid-jsdoc": 0,
|
|
24
|
+
"radix": 0,
|
|
25
|
+
"no-extend-native": 0,
|
|
26
|
+
"react/display-name": 2,
|
|
27
|
+
"react/forbid-prop-types": 1,
|
|
28
|
+
"react/jsx-boolean-value": 1,
|
|
29
|
+
"react/jsx-closing-bracket-location": 1,
|
|
30
|
+
"react/jsx-curly-spacing": 1,
|
|
31
|
+
"react/jsx-indent-props": 0,
|
|
32
|
+
"react/jsx-max-props-per-line": 0,
|
|
33
|
+
"react/jsx-no-duplicate-props": 1,
|
|
34
|
+
"react/jsx-no-literals": 0,
|
|
35
|
+
"react/jsx-no-undef": 1,
|
|
36
|
+
"react/jsx-sort-props": 0,
|
|
37
|
+
"react/jsx-uses-react": 1,
|
|
38
|
+
"react/jsx-uses-vars": 1,
|
|
39
|
+
"react/jsx-wrap-multilines": 0,
|
|
40
|
+
"react/no-danger": 1,
|
|
41
|
+
"react/no-did-mount-set-state": 1,
|
|
42
|
+
"react/no-did-update-set-state": 1,
|
|
43
|
+
"react/no-direct-mutation-state": 1,
|
|
44
|
+
"react/no-multi-comp": 1,
|
|
45
|
+
"react/no-set-state": 0,
|
|
46
|
+
"react/no-unknown-property": 1,
|
|
47
|
+
"react/prop-types": 0,
|
|
48
|
+
"react/react-in-jsx-scope": 0,
|
|
49
|
+
"react/self-closing-comp": 1,
|
|
50
|
+
"react/sort-comp": 1,
|
|
51
|
+
"import/no-unresolved": 0,
|
|
52
|
+
"import/no-default-export": 1,
|
|
53
|
+
"import/order": [
|
|
54
|
+
1,
|
|
55
|
+
{
|
|
56
|
+
"groups": [
|
|
57
|
+
"external",
|
|
58
|
+
"internal",
|
|
59
|
+
"index",
|
|
60
|
+
"sibling",
|
|
61
|
+
"parent",
|
|
62
|
+
"builtin",
|
|
63
|
+
"object",
|
|
64
|
+
"type"
|
|
65
|
+
],
|
|
66
|
+
"alphabetize": {
|
|
67
|
+
"order": "asc",
|
|
68
|
+
/* sort in ascending order. Options: ['ignore', 'asc', 'desc'] */
|
|
69
|
+
"caseInsensitive": true
|
|
70
|
+
/* ignore case. Options: [true, false] */
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"quotes": [
|
|
75
|
+
"warn",
|
|
76
|
+
"single",
|
|
77
|
+
{
|
|
78
|
+
"allowTemplateLiterals": true
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"overrides": [
|
|
83
|
+
{
|
|
84
|
+
"files": [
|
|
85
|
+
"*.ts",
|
|
86
|
+
"*.tsx"
|
|
87
|
+
],
|
|
88
|
+
"rules": {
|
|
89
|
+
"no-dupe-class-members": "off"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"plugins": [
|
|
94
|
+
"import"
|
|
95
|
+
]
|
|
96
|
+
}
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2017 Ron Radtke (dev@ikascrips.de, ron.radtke@hawk-intech.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017 Ron Radtke (dev@ikascrips.de, ron.radtke@hawk-intech.com)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/Migration.md
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
# Migration to the New Architecture
|
|
2
|
-
|
|
3
|
-
This file is a tracker for what has been done to work on the migration of this library and to keep also track of the various todo:
|
|
4
|
-
|
|
5
|
-
## TODO
|
|
6
|
-
|
|
7
|
-
- [] Write JS spec in Flow for the New Architecture
|
|
8
|
-
- [] Implent the new Native Code on iOS
|
|
9
|
-
- [] Implent the new Native Code on Android
|
|
10
|
-
- [] Test on OldArch app (iOS)
|
|
11
|
-
- [] Test on OldArch app (Android)
|
|
12
|
-
- [] Test on NewArch app (iOS)
|
|
13
|
-
- [] Test on NewArch app (Android)
|
|
14
|
-
- [] Open PR
|
|
15
|
-
|
|
16
|
-
## Done
|
|
17
|
-
|
|
18
|
-
### Setup
|
|
19
|
-
1. Forked and cloned the repo
|
|
20
|
-
1. Checked the list of APIs to migrate.
|
|
21
|
-
1. Created an `OldArch` app (0.70) configured for the Old Architecture.
|
|
22
|
-
1. Run the app to make sure that it works properly.
|
|
23
|
-
1. Created a `NewArch` app (0.70) configured for the New Architecture.
|
|
24
|
-
1. Switched the flags for iOS and Android to have the new arch enabled by default
|
|
25
|
-
1. Run the app to make sure that it works properly.
|
|
26
|
-
1. Moved the apps in the `examples` folder
|
|
27
|
-
|
|
28
|
-
### Installing blob-utils
|
|
29
|
-
1. Move to `OldArch`
|
|
30
|
-
1. Run `yarn add ../..` to install the blob utils.
|
|
31
|
-
1. `cd ios`
|
|
32
|
-
1. `bundle install && bundle exec pod install`
|
|
33
|
-
1. `cd ..`
|
|
34
|
-
1. `npx react-native run-ios`
|
|
35
|
-
1. Copy the app JS code from `examples/ReactNativeBlobUtil/App.js` to `examples/OldArch/App.js`
|
|
36
|
-
1. Fixed various JS issues
|
|
37
|
-
1. The app depends on the `Picker`. *Note:* It does not support the New Arch, we need to figure out another way to choose.
|
|
38
|
-
1. run `yarn add @react-native-picker/picker`
|
|
39
|
-
1. run `bundle exec pod install` from the iOS folder
|
|
40
|
-
1. re-run the app
|
|
41
|
-
1. Repeat the above steps for `NewArch`
|
|
1
|
+
# Migration to the New Architecture
|
|
2
|
+
|
|
3
|
+
This file is a tracker for what has been done to work on the migration of this library and to keep also track of the various todo:
|
|
4
|
+
|
|
5
|
+
## TODO
|
|
6
|
+
|
|
7
|
+
- [] Write JS spec in Flow for the New Architecture
|
|
8
|
+
- [] Implent the new Native Code on iOS
|
|
9
|
+
- [] Implent the new Native Code on Android
|
|
10
|
+
- [] Test on OldArch app (iOS)
|
|
11
|
+
- [] Test on OldArch app (Android)
|
|
12
|
+
- [] Test on NewArch app (iOS)
|
|
13
|
+
- [] Test on NewArch app (Android)
|
|
14
|
+
- [] Open PR
|
|
15
|
+
|
|
16
|
+
## Done
|
|
17
|
+
|
|
18
|
+
### Setup
|
|
19
|
+
1. Forked and cloned the repo
|
|
20
|
+
1. Checked the list of APIs to migrate.
|
|
21
|
+
1. Created an `OldArch` app (0.70) configured for the Old Architecture.
|
|
22
|
+
1. Run the app to make sure that it works properly.
|
|
23
|
+
1. Created a `NewArch` app (0.70) configured for the New Architecture.
|
|
24
|
+
1. Switched the flags for iOS and Android to have the new arch enabled by default
|
|
25
|
+
1. Run the app to make sure that it works properly.
|
|
26
|
+
1. Moved the apps in the `examples` folder
|
|
27
|
+
|
|
28
|
+
### Installing blob-utils
|
|
29
|
+
1. Move to `OldArch`
|
|
30
|
+
1. Run `yarn add ../..` to install the blob utils.
|
|
31
|
+
1. `cd ios`
|
|
32
|
+
1. `bundle install && bundle exec pod install`
|
|
33
|
+
1. `cd ..`
|
|
34
|
+
1. `npx react-native run-ios`
|
|
35
|
+
1. Copy the app JS code from `examples/ReactNativeBlobUtil/App.js` to `examples/OldArch/App.js`
|
|
36
|
+
1. Fixed various JS issues
|
|
37
|
+
1. The app depends on the `Picker`. *Note:* It does not support the New Arch, we need to figure out another way to choose.
|
|
38
|
+
1. run `yarn add @react-native-picker/picker`
|
|
39
|
+
1. run `bundle exec pod install` from the iOS folder
|
|
40
|
+
1. re-run the app
|
|
41
|
+
1. Repeat the above steps for `NewArch`
|
package/NuGet.config
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<configuration>
|
|
3
|
-
<packageSources>
|
|
4
|
-
<clear />
|
|
5
|
-
<add key="react-native" value="https://pkgs.dev.azure.com/ms/react-native/_packaging/react-native-public/nuget/v3/index.json" />
|
|
6
|
-
<add key="Nuget.org" value="https://api.nuget.org/v3/index.json" />
|
|
7
|
-
</packageSources>
|
|
8
|
-
<disabledPackageSources>
|
|
9
|
-
<clear />
|
|
10
|
-
</disabledPackageSources>
|
|
11
|
-
</configuration>
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<configuration>
|
|
3
|
+
<packageSources>
|
|
4
|
+
<clear />
|
|
5
|
+
<add key="react-native" value="https://pkgs.dev.azure.com/ms/react-native/_packaging/react-native-public/nuget/v3/index.json" />
|
|
6
|
+
<add key="Nuget.org" value="https://api.nuget.org/v3/index.json" />
|
|
7
|
+
</packageSources>
|
|
8
|
+
<disabledPackageSources>
|
|
9
|
+
<clear />
|
|
10
|
+
</disabledPackageSources>
|
|
11
|
+
</configuration>
|