@functionland/react-native-fula 1.0.0 → 1.1.5

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.
Files changed (84) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +190 -133
  3. package/android/.gradle/7.5.1/checksums/checksums.lock +0 -0
  4. package/android/.gradle/7.5.1/checksums/md5-checksums.bin +0 -0
  5. package/android/.gradle/7.5.1/checksums/sha1-checksums.bin +0 -0
  6. package/android/.gradle/7.5.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  7. package/android/.gradle/7.5.1/dependencies-accessors/gc.properties +0 -0
  8. package/android/.gradle/7.5.1/executionHistory/executionHistory.bin +0 -0
  9. package/android/.gradle/7.5.1/executionHistory/executionHistory.lock +0 -0
  10. package/android/.gradle/7.5.1/fileChanges/last-build.bin +0 -0
  11. package/android/.gradle/7.5.1/fileHashes/fileHashes.bin +0 -0
  12. package/android/.gradle/7.5.1/fileHashes/fileHashes.lock +0 -0
  13. package/android/.gradle/7.5.1/fileHashes/resourceHashesCache.bin +0 -0
  14. package/android/.gradle/7.5.1/gc.properties +0 -0
  15. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  16. package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
  17. package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  18. package/android/.gradle/file-system.probe +0 -0
  19. package/android/.gradle/vcs-1/gc.properties +0 -0
  20. package/android/.idea/compiler.xml +5 -5
  21. package/android/.idea/gradle.xml +18 -17
  22. package/android/.idea/jarRepositories.xml +49 -44
  23. package/android/.idea/misc.xml +9 -9
  24. package/android/.idea/sonarlint/issuestore/index.pb +0 -0
  25. package/android/.idea/vcs.xml +5 -5
  26. package/android/build.gradle +69 -69
  27. package/android/gradle/wrapper/gradle-wrapper.properties +7 -7
  28. package/android/gradle.properties +1 -1
  29. package/android/gradlew +291 -375
  30. package/android/local.properties +8 -8
  31. package/android/src/main/AndroidManifest.xml +4 -4
  32. package/android/src/main/java/land/fx/fula/ConfigRef.java +7 -7
  33. package/android/src/main/java/land/fx/fula/Cryptography.java +47 -47
  34. package/android/src/main/java/land/fx/fula/FulaModule.java +1248 -701
  35. package/android/src/main/java/land/fx/fula/FulaPackage.java +2 -2
  36. package/android/src/main/java/land/fx/fula/SharedPreferenceHelper.java +65 -65
  37. package/android/src/main/java/land/fx/fula/StaticHelper.java +13 -13
  38. package/android/src/main/java/land/fx/fula/ThreadUtils.java +42 -42
  39. package/ios/FulaModule.h +10 -10
  40. package/ios/FulaModule.m +149 -149
  41. package/lib/commonjs/index.js +5 -1
  42. package/lib/commonjs/index.js.map +1 -1
  43. package/lib/commonjs/interfaces/api-lookup.js +1653 -0
  44. package/lib/commonjs/interfaces/api-lookup.js.map +1 -0
  45. package/lib/commonjs/interfaces/fulaNativeModule.js +1 -1
  46. package/lib/commonjs/interfaces/fulaNativeModule.js.map +1 -1
  47. package/lib/commonjs/protocols/blockchain.js +404 -0
  48. package/lib/commonjs/protocols/blockchain.js.map +1 -0
  49. package/lib/commonjs/protocols/chain-api.js +87 -0
  50. package/lib/commonjs/protocols/chain-api.js.map +1 -0
  51. package/lib/commonjs/protocols/fula.js +139 -82
  52. package/lib/commonjs/protocols/fula.js.map +1 -1
  53. package/lib/commonjs/types/blockchain.js +2 -0
  54. package/lib/commonjs/types/blockchain.js.map +1 -0
  55. package/lib/module/index.js +4 -0
  56. package/lib/module/index.js.map +1 -1
  57. package/lib/module/interfaces/api-lookup.js +1648 -0
  58. package/lib/module/interfaces/api-lookup.js.map +1 -0
  59. package/lib/module/interfaces/fulaNativeModule.js +1 -1
  60. package/lib/module/interfaces/fulaNativeModule.js.map +1 -1
  61. package/lib/module/protocols/blockchain.js +383 -0
  62. package/lib/module/protocols/blockchain.js.map +1 -0
  63. package/lib/module/protocols/chain-api.js +76 -0
  64. package/lib/module/protocols/chain-api.js.map +1 -0
  65. package/lib/module/protocols/fula.js +134 -81
  66. package/lib/module/protocols/fula.js.map +1 -1
  67. package/lib/module/types/blockchain.js +2 -0
  68. package/lib/module/types/blockchain.js.map +1 -0
  69. package/lib/typescript/index.d.ts +3 -1
  70. package/lib/typescript/interfaces/api-lookup.d.ts +1643 -0
  71. package/lib/typescript/interfaces/fulaNativeModule.d.ts +58 -28
  72. package/lib/typescript/protocols/blockchain.d.ts +17 -0
  73. package/lib/typescript/protocols/chain-api.d.ts +6 -0
  74. package/lib/typescript/protocols/fula.d.ts +127 -99
  75. package/lib/typescript/types/blockchain.d.ts +68 -0
  76. package/package.json +157 -149
  77. package/react-native-fula.podspec +19 -19
  78. package/src/index.tsx +3 -1
  79. package/src/interfaces/api-lookup.ts +1647 -0
  80. package/src/interfaces/fulaNativeModule.ts +86 -52
  81. package/src/protocols/blockchain.ts +460 -0
  82. package/src/protocols/chain-api.ts +80 -0
  83. package/src/protocols/fula.ts +285 -212
  84. package/src/types/blockchain.ts +81 -0
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2021 Mahdi Ghorbani
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) 2021 Mahdi Ghorbani
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/README.md CHANGED
@@ -1,133 +1,190 @@
1
- # react-native-fula
2
-
3
- This package is a bridge to use the Fula protocols in the react-native. It uses WNFS to create the Merkle dag from files and folders and transfer the DAG using Graphsync to the nodes.
4
-
5
- ## Installation
6
-
7
- ```sh
8
- npm install react-native-fula
9
- ```
10
-
11
- ## Usage
12
-
13
- ```js
14
- import { fula } from 'react-native-fula'; // Until the library becomes stable, we suggest importing from github directly
15
- ```
16
-
17
- ```js
18
- //Initialize the fula client, which creates the libp2p connection. Note that input is not an object e.g. init('','','','noop')
19
- [
20
- peerId, //returns peerId of the created libp2p instance in form of a string of bytes
21
- cid, //return the root cid of the WNFS merkle DAG in form of a string
22
- private_ref //return the keys needed to decode hte encrypted WNFS tree in form of a string of object
23
- ]
24
- =
25
- await fula.init(
26
- identity: string, //bytes of the privateKey of did identity in string format
27
- storePath: string, // leave empty to use the default temp one
28
- bloxAddr: string, //leave empty for testing without a backend node
29
- exchange: 'noop'|'' //add noop for testing without a backend
30
- );
31
- ```
32
-
33
- ```js
34
- //Creates a Folder
35
- const cid //returns the cid of the new root. Note that on every write action the root cid changes.
36
- =
37
- await fula.mkdir(
38
- path: string // This is the Fula path to create a folder and always starts with "root/" and should not start or end with a slash e.g "root/pictures"
39
- );
40
- ```
41
-
42
- ```js
43
- //Write a local file on the device to the Fula tree (upload). It keeps the original file modification date.
44
- const cid //returns the cid of the new root. Note that on every write action the root cid changes.
45
- =
46
- await fula.writeFile(
47
- fulaTargetFilename: string, //path to the file on the tree. It should include the filename and extension and start from the "root/". e.g. "root/pictures/cat.jpg"
48
- localFilename: string //path to the local file. e.g the file that needs to be uploaded
49
- );
50
- //// TODO: This needs to be improved by using stream to not overload the memory for large files
51
- ```
52
-
53
- ```js
54
- //reads a file on fula tree to a local file on the device (download)
55
- const localFilePath //returns the path to the local file and includes the filename
56
- =
57
- await fula.readFile(
58
- fulaTargetFilename: string, //path to the file on the tree. It should include the filename and extension and start from the "root/". e.g. "root/pictures/cat.jpg"
59
- localFilename: string //path to the local file. It should include the filename and extension. e.g. "/temp/cat.jpg"
60
- );
61
- //// TODO: This needs to be improved by using stream to not overload the memory for large files
62
- ```
63
-
64
- ```js
65
- //shows all files and folders under the specified path on Fula
66
- const fileList //returns all the files and folders in a string separated by \n
67
- =
68
- await fula.ls(
69
- path: string, //path to the folder on the tree. It always starts from the "root". e.g. "root" or "root/pictures"
70
- );
71
- //// TODO: This needs to be improved by returning an array of files and folders and in chunks to not overload hte memory for large folders
72
- ```
73
-
74
- ```js
75
- //removes all files and folders at the specified path on Fula
76
- const cid //returns the cid of the new root. Note that on every write action the root cid changes.
77
- =
78
- await fula.rm(
79
- path: string, //path to the file or folder on the tree. It always starts from the "root". e.g. "root/pictures" or "root/pictures/cat.jpg"
80
- );
81
-
82
- ```
83
-
84
- ```js
85
- //copies the specified file or folder at sourcePath to the filename at targetPath. the path itself(apart from filename) must exist
86
- const cid //returns the cid of the new root. Note that on every write action the root cid changes.
87
- =
88
- await fula.cp(
89
- sourcePath: string, //path to the file or folder on the tree. It always starts from the "root". e.g. "root/pictures" or "root/pictures/cat.jpg"
90
- targetPath: string, //path to the file or folder on the tree. It always starts from the "root". e.g. "root/pictures2" or "root/pictures2/cat.jpg"
91
- );
92
-
93
- ```
94
-
95
- ```js
96
- //moves the specified file or folder at sourcePath to the filename at targetPath. the path itself(apart from filename) must exist
97
- const cid //returns the cid of the new root. Note that on every write action the root cid changes.
98
- =
99
- await fula.mv(
100
- sourcePath: string, //path to the file or folder on the tree. It always starts from the "root". e.g. "root/pictures" or "root/pictures/cat.jpg"
101
- targetPath: string, //path to the file or folder on the tree. It always starts from the "root". e.g. "root/pictures2" or "root/pictures2/cat.jpg"
102
- );
103
-
104
- ```
105
-
106
- ```js
107
- //removes all Fula related data and information (Except the encrypted filesystem) at the specified storage local path
108
- const result //returns true if succesful and false if fails
109
- =
110
- await fula.logout(
111
- identity: string, //bytes of the privateKey of did identity in string format
112
- storePath: string, // leave empty to use the default temp one
113
- );
114
-
115
- ```
116
-
117
- ## Roadmap
118
-
119
- Please note the following might not be done in order:
120
-
121
- - [x] Initial version with all functions included
122
- - [x] Add WNFS tree encryption key generation from an input (deterministically)
123
- - [x] Improve ead function to use a stream. ( :100: v1 Release here )
124
- - [ ] Connect to Blockchain codes using APIs
125
- - [ ] Connect to backend
126
-
127
- ## Contributing
128
-
129
- See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
130
-
131
- ## License
132
-
133
- MIT
1
+ # react-native-fula
2
+
3
+ This package is a bridge to use the [Fula protocols](https://github.com/functionland/go-fula) in the react-native. It uses [WNFS](https://github.com/wnfs-wg/rs-wnfs) to create the Merkle dag from files and folders and transfer the DAG using Graphsync to the nodes.
4
+
5
+ ## Installation
6
+
7
+ ```sh
8
+ npm install react-native-fula
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```js
14
+ import { fula } from 'react-native-fula'; // Until the library becomes stable, we suggest importing from github directly
15
+ ```
16
+
17
+ ```js
18
+ // Creates a new client without creating a filesystem. It is better to call this instead of directly calling init
19
+ const peerId //returns peerId as string
20
+ = newClient(
21
+ identity: string, //privateKey of did identity
22
+ storePath: string, // leave empty to use the default temp one
23
+ bloxAddr: string, //leave empty for testing without a backend node
24
+ exchange: 'noop'|'', //add noop for testing without a backend
25
+ autoFlush: boolean, //Default to false. Always set to false unless you know what you are doing. explicitly write data to disk after each operation if set to true
26
+ useRelay: boolean //default to true. If true it forces the connection through relay
27
+ )
28
+ ```
29
+
30
+ ```js
31
+ //Initialize the fula client, which creates the libp2p connection if newClient is not called before, and creates filesystem. Note that input is not an object e.g. init('','','','noop', false)
32
+ [
33
+ peerId, //returns peerId of the created libp2p instance in form of a string of bytes
34
+ cid, //return the root cid of the WNFS merkle DAG in form of a string
35
+ private_ref //return the keys needed to decode hte encrypted WNFS tree in form of a string of object
36
+ ]
37
+ =
38
+ await fula.init(
39
+ identity: string, //bytes of the privateKey of did identity in string format
40
+ storePath: string, // leave empty to use the default temp one
41
+ bloxAddr: string, //leave empty for testing without a backend node
42
+ exchange: 'noop'|'', //add noop for testing without a backend
43
+ autoFlush: boolean, //Default to false. Always set to false unless you know what you are doing. explicitly write data to disk after each operation if set to true
44
+ useRelay: boolean, //default to true. If true it forces the connection through relay
45
+ refresh: boolean //forces the fula object to be recreated. default is false
46
+ );
47
+ ```
48
+
49
+ ```js
50
+ //Creates a Folder
51
+ const cid //returns the cid of the new root. Note that on every write action the root cid changes.
52
+ =
53
+ await fula.mkdir(
54
+ path: string // This is the Fula path to create a folder and always starts with "root/" and should not start or end with a slash e.g "root/pictures"
55
+ );
56
+ ```
57
+
58
+ ```js
59
+ //Write a local file on the device to the Fula tree (upload). It keeps the original file modification date.
60
+ const cid //returns the cid of the new root. Note that on every write action the root cid changes.
61
+ =
62
+ await fula.writeFile(
63
+ fulaTargetFilename: string, //path to the file on the tree. It should include the filename and extension and start from the "root/". e.g. "root/pictures/cat.jpg"
64
+ localFilename: string //path to the local file. e.g the file that needs to be uploaded
65
+ );
66
+ //// TODO: This needs to be improved by using stream to not overload the memory for large files
67
+ ```
68
+
69
+ ```js
70
+ //reads a file on fula tree to a local file on the device (download). It is stream so does not affect memory for large files.
71
+ const localFilePath //returns the path to the local file and includes the filename
72
+ =
73
+ await fula.readFile(
74
+ fulaTargetFilename: string, //path to the file on the tree. It should include the filename and extension and start from the "root/". e.g. "root/pictures/cat.jpg"
75
+ localFilename: string //path to the local file. It should include the filename and extension. e.g. "/temp/cat.jpg"
76
+ );
77
+ ```
78
+
79
+ ```js
80
+ //shows all files and folders under the specified path on Fula
81
+ const fileList //returns all the files and folders in a string separated by \n
82
+ =
83
+ await fula.ls(
84
+ path: string, //path to the folder on the tree. It always starts from the "root". e.g. "root" or "root/pictures"
85
+ );
86
+ //// TODO: This needs to be improved by returning an array of files and folders and in chunks to not overload hte memory for large folders
87
+ ```
88
+
89
+ ```js
90
+ //removes all files and folders at the specified path on Fula
91
+ const cid //returns the cid of the new root. Note that on every write action the root cid changes.
92
+ =
93
+ await fula.rm(
94
+ path: string, //path to the file or folder on the tree. It always starts from the "root". e.g. "root/pictures" or "root/pictures/cat.jpg"
95
+ );
96
+
97
+ ```
98
+
99
+ ```js
100
+ //copies the specified file or folder at sourcePath to the filename at targetPath. the path itself(apart from filename) must exist
101
+ const cid //returns the cid of the new root. Note that on every write action the root cid changes.
102
+ =
103
+ await fula.cp(
104
+ sourcePath: string, //path to the file or folder on the tree. It always starts from the "root". e.g. "root/pictures" or "root/pictures/cat.jpg"
105
+ targetPath: string, //path to the file or folder on the tree. It always starts from the "root". e.g. "root/pictures2" or "root/pictures2/cat.jpg"
106
+ );
107
+
108
+ ```
109
+
110
+ ```js
111
+ //moves the specified file or folder at sourcePath to the filename at targetPath. the path itself(apart from filename) must exist
112
+ const cid //returns the cid of the new root. Note that on every write action the root cid changes.
113
+ =
114
+ await fula.mv(
115
+ sourcePath: string, //path to the file or folder on the tree. It always starts from the "root". e.g. "root/pictures" or "root/pictures/cat.jpg"
116
+ targetPath: string, //path to the file or folder on the tree. It always starts from the "root". e.g. "root/pictures2" or "root/pictures2/cat.jpg"
117
+ );
118
+
119
+ ```
120
+
121
+ ```js
122
+ //checks if fula is ready (initialized through newClient or init)
123
+ const result //returns true if succesful and false if fails
124
+ =
125
+ await fula.isReady(
126
+ filesystemCheck: boolean //Default is true. If true it checks if both WNFS and Fula are ready. If false it only checks fula
127
+ );
128
+
129
+ ```
130
+
131
+ ```js
132
+ //checks if client can reach server
133
+ const result //returns true if it can, and false if it cannot
134
+ =
135
+ await fula.checkConnection();
136
+
137
+ ```
138
+
139
+ ```js
140
+ //checks if there are any un-synced actions on the client
141
+ const result //returns true if there are, and false if everything is synced with server
142
+ =
143
+ await fula.checkFailedActions(
144
+ retry: boolean //if true, it tries to sync device with server, if not, it only checks
145
+ );
146
+ ```
147
+
148
+ ```js
149
+ //shuts down the fula libp2p and datastore
150
+ await fula.shutdown();
151
+ ```
152
+
153
+ ```js
154
+ //removes all Fula related data and information (Except the encrypted filesystem) at the specified storage local path
155
+ const result //returns true if succesful and false if fails
156
+ =
157
+ await fula.logout(
158
+ identity: string, //bytes of the privateKey of did identity in string format
159
+ storePath: string, // leave empty to use the default temp one
160
+ );
161
+
162
+ ```
163
+
164
+ ## Roadmap
165
+
166
+ Please note the following might not be done in order:
167
+
168
+ - [x] Initial version with all functions included
169
+ - [x] Add WNFS tree encryption key generation from an input (deterministically)
170
+ - [x] Improve ead function to use a stream. ( :100: v1 Release here )
171
+ - [x] Connect to backend
172
+ - [ ] Connect to Blockchain codes using APIs
173
+
174
+ ## Other related libraries
175
+
176
+ | Name | Description |
177
+ | --- | --- |
178
+ | [WNFS for Android](https://github.com/functionland/wnfs-android) | Android build for WNFS rust version |
179
+ | [WNFS for iOS](https://github.com/functionland/wnfs-ios) | iOS build for WNFS rust version |
180
+ | [WNFS Build](https://github.com/functionland/wnfs-build-aar) | Android .aar for WNFS |
181
+ | [Fula Build](https://github.com/functionland/fula-build-aar) | android .aar file for Fula |
182
+ | [Fx Fotos](https://github.com/functionland/fx-fotos) | Fx Fotos dApp using react-native-fula |
183
+
184
+ ## Contributing
185
+
186
+ See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
187
+
188
+ ## License
189
+
190
+ MIT
File without changes
File without changes
@@ -1,2 +1,2 @@
1
- #Sun Dec 11 21:25:25 EST 2022
2
- gradle.version=7.5.1
1
+ #Sat Dec 17 20:00:09 EST 2022
2
+ gradle.version=7.5.1
File without changes
@@ -1,6 +1,6 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="CompilerConfiguration">
4
- <bytecodeTargetLevel target="11" />
5
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="CompilerConfiguration">
4
+ <bytecodeTargetLevel target="11" />
5
+ </component>
6
6
  </project>
@@ -1,18 +1,19 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="GradleMigrationSettings" migrationVersion="1" />
4
- <component name="GradleSettings">
5
- <option name="linkedExternalProjectsSettings">
6
- <GradleProjectSettings>
7
- <option name="testRunner" value="GRADLE" />
8
- <option name="distributionType" value="DEFAULT_WRAPPED" />
9
- <option name="externalProjectPath" value="$PROJECT_DIR$" />
10
- <option name="modules">
11
- <set>
12
- <option value="$PROJECT_DIR$" />
13
- </set>
14
- </option>
15
- </GradleProjectSettings>
16
- </option>
17
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="GradleMigrationSettings" migrationVersion="1" />
4
+ <component name="GradleSettings">
5
+ <option name="linkedExternalProjectsSettings">
6
+ <GradleProjectSettings>
7
+ <option name="testRunner" value="GRADLE" />
8
+ <option name="distributionType" value="DEFAULT_WRAPPED" />
9
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
10
+ <option name="gradleHome" value="$PROJECT_DIR$/../../../../../../Gradle/gradle-7.6" />
11
+ <option name="modules">
12
+ <set>
13
+ <option value="$PROJECT_DIR$" />
14
+ </set>
15
+ </option>
16
+ </GradleProjectSettings>
17
+ </option>
18
+ </component>
18
19
  </project>
@@ -1,45 +1,50 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="RemoteRepositoriesConfiguration">
4
- <remote-repository>
5
- <option name="id" value="central" />
6
- <option name="name" value="Maven Central repository" />
7
- <option name="url" value="https://repo1.maven.org/maven2" />
8
- </remote-repository>
9
- <remote-repository>
10
- <option name="id" value="jboss.community" />
11
- <option name="name" value="JBoss Community repository" />
12
- <option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
13
- </remote-repository>
14
- <remote-repository>
15
- <option name="id" value="MavenRepo" />
16
- <option name="name" value="MavenRepo" />
17
- <option name="url" value="https://repo.maven.apache.org/maven2/" />
18
- </remote-repository>
19
- <remote-repository>
20
- <option name="id" value="maven" />
21
- <option name="name" value="maven" />
22
- <option name="url" value="file:$PROJECT_DIR$/../node_modules/react-native/android/" />
23
- </remote-repository>
24
- <remote-repository>
25
- <option name="id" value="BintrayJCenter" />
26
- <option name="name" value="BintrayJCenter" />
27
- <option name="url" value="https://jcenter.bintray.com/" />
28
- </remote-repository>
29
- <remote-repository>
30
- <option name="id" value="MavenLocal" />
31
- <option name="name" value="MavenLocal" />
32
- <option name="url" value="file:$USER_HOME$/.m2/repository/" />
33
- </remote-repository>
34
- <remote-repository>
35
- <option name="id" value="Google" />
36
- <option name="name" value="Google" />
37
- <option name="url" value="https://dl.google.com/dl/android/maven2/" />
38
- </remote-repository>
39
- <remote-repository>
40
- <option name="id" value="maven2" />
41
- <option name="name" value="maven2" />
42
- <option name="url" value="https://jitpack.io" />
43
- </remote-repository>
44
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="RemoteRepositoriesConfiguration">
4
+ <remote-repository>
5
+ <option name="id" value="central" />
6
+ <option name="name" value="Maven Central repository" />
7
+ <option name="url" value="https://repo1.maven.org/maven2" />
8
+ </remote-repository>
9
+ <remote-repository>
10
+ <option name="id" value="jboss.community" />
11
+ <option name="name" value="JBoss Community repository" />
12
+ <option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
13
+ </remote-repository>
14
+ <remote-repository>
15
+ <option name="id" value="MavenRepo" />
16
+ <option name="name" value="MavenRepo" />
17
+ <option name="url" value="https://repo.maven.apache.org/maven2/" />
18
+ </remote-repository>
19
+ <remote-repository>
20
+ <option name="id" value="maven" />
21
+ <option name="name" value="maven" />
22
+ <option name="url" value="file:/$PROJECT_DIR$/../node_modules/react-native/android" />
23
+ </remote-repository>
24
+ <remote-repository>
25
+ <option name="id" value="MavenLocal" />
26
+ <option name="name" value="MavenLocal" />
27
+ <option name="url" value="file:/$USER_HOME$/.m2/repository/" />
28
+ </remote-repository>
29
+ <remote-repository>
30
+ <option name="id" value="BintrayJCenter" />
31
+ <option name="name" value="BintrayJCenter" />
32
+ <option name="url" value="https://jcenter.bintray.com/" />
33
+ </remote-repository>
34
+ <remote-repository>
35
+ <option name="id" value="Google" />
36
+ <option name="name" value="Google" />
37
+ <option name="url" value="https://dl.google.com/dl/android/maven2/" />
38
+ </remote-repository>
39
+ <remote-repository>
40
+ <option name="id" value="maven2" />
41
+ <option name="name" value="maven2" />
42
+ <option name="url" value="https://jitpack.io" />
43
+ </remote-repository>
44
+ <remote-repository>
45
+ <option name="id" value="maven" />
46
+ <option name="name" value="maven" />
47
+ <option name="url" value="file:/$PROJECT_DIR$/../node_modules/react-native/android/" />
48
+ </remote-repository>
49
+ </component>
45
50
  </project>
@@ -1,10 +1,10 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ExternalStorageConfigurationManager" enabled="true" />
4
- <component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="Android Studio default JDK" project-jdk-type="JavaSDK">
5
- <output url="file://$PROJECT_DIR$/build/classes" />
6
- </component>
7
- <component name="ProjectType">
8
- <option name="id" value="Android" />
9
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ExternalStorageConfigurationManager" enabled="true" />
4
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="Android Studio default JDK" project-jdk-type="JavaSDK">
5
+ <output url="file://$PROJECT_DIR$/build/classes" />
6
+ </component>
7
+ <component name="ProjectType">
8
+ <option name="id" value="Android" />
9
+ </component>
10
10
  </project>
File without changes
@@ -1,6 +1,6 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
5
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
5
+ </component>
6
6
  </project>