@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.
- package/LICENSE +21 -21
- package/README.md +190 -133
- package/android/.gradle/7.5.1/checksums/checksums.lock +0 -0
- package/android/.gradle/7.5.1/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/7.5.1/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/7.5.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.5.1/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/7.5.1/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/7.5.1/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/7.5.1/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.5.1/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/7.5.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.5.1/fileHashes/resourceHashesCache.bin +0 -0
- package/android/.gradle/7.5.1/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/.gradle/file-system.probe +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.idea/compiler.xml +5 -5
- package/android/.idea/gradle.xml +18 -17
- package/android/.idea/jarRepositories.xml +49 -44
- package/android/.idea/misc.xml +9 -9
- package/android/.idea/sonarlint/issuestore/index.pb +0 -0
- package/android/.idea/vcs.xml +5 -5
- package/android/build.gradle +69 -69
- package/android/gradle/wrapper/gradle-wrapper.properties +7 -7
- package/android/gradle.properties +1 -1
- package/android/gradlew +291 -375
- package/android/local.properties +8 -8
- package/android/src/main/AndroidManifest.xml +4 -4
- package/android/src/main/java/land/fx/fula/ConfigRef.java +7 -7
- package/android/src/main/java/land/fx/fula/Cryptography.java +47 -47
- package/android/src/main/java/land/fx/fula/FulaModule.java +1248 -701
- package/android/src/main/java/land/fx/fula/FulaPackage.java +2 -2
- package/android/src/main/java/land/fx/fula/SharedPreferenceHelper.java +65 -65
- package/android/src/main/java/land/fx/fula/StaticHelper.java +13 -13
- package/android/src/main/java/land/fx/fula/ThreadUtils.java +42 -42
- package/ios/FulaModule.h +10 -10
- package/ios/FulaModule.m +149 -149
- package/lib/commonjs/index.js +5 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/interfaces/api-lookup.js +1653 -0
- package/lib/commonjs/interfaces/api-lookup.js.map +1 -0
- package/lib/commonjs/interfaces/fulaNativeModule.js +1 -1
- package/lib/commonjs/interfaces/fulaNativeModule.js.map +1 -1
- package/lib/commonjs/protocols/blockchain.js +404 -0
- package/lib/commonjs/protocols/blockchain.js.map +1 -0
- package/lib/commonjs/protocols/chain-api.js +87 -0
- package/lib/commonjs/protocols/chain-api.js.map +1 -0
- package/lib/commonjs/protocols/fula.js +139 -82
- package/lib/commonjs/protocols/fula.js.map +1 -1
- package/lib/commonjs/types/blockchain.js +2 -0
- package/lib/commonjs/types/blockchain.js.map +1 -0
- package/lib/module/index.js +4 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/interfaces/api-lookup.js +1648 -0
- package/lib/module/interfaces/api-lookup.js.map +1 -0
- package/lib/module/interfaces/fulaNativeModule.js +1 -1
- package/lib/module/interfaces/fulaNativeModule.js.map +1 -1
- package/lib/module/protocols/blockchain.js +383 -0
- package/lib/module/protocols/blockchain.js.map +1 -0
- package/lib/module/protocols/chain-api.js +76 -0
- package/lib/module/protocols/chain-api.js.map +1 -0
- package/lib/module/protocols/fula.js +134 -81
- package/lib/module/protocols/fula.js.map +1 -1
- package/lib/module/types/blockchain.js +2 -0
- package/lib/module/types/blockchain.js.map +1 -0
- package/lib/typescript/index.d.ts +3 -1
- package/lib/typescript/interfaces/api-lookup.d.ts +1643 -0
- package/lib/typescript/interfaces/fulaNativeModule.d.ts +58 -28
- package/lib/typescript/protocols/blockchain.d.ts +17 -0
- package/lib/typescript/protocols/chain-api.d.ts +6 -0
- package/lib/typescript/protocols/fula.d.ts +127 -99
- package/lib/typescript/types/blockchain.d.ts +68 -0
- package/package.json +157 -149
- package/react-native-fula.podspec +19 -19
- package/src/index.tsx +3 -1
- package/src/interfaces/api-lookup.ts +1647 -0
- package/src/interfaces/fulaNativeModule.ts +86 -52
- package/src/protocols/blockchain.ts +460 -0
- package/src/protocols/chain-api.ts +80 -0
- package/src/protocols/fula.ts +285 -212
- 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
|
-
//
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
//
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
//
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
)
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
//
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
gradle.version=7.5.1
|
|
1
|
+
#Sat Dec 17 20:00:09 EST 2022
|
|
2
|
+
gradle.version=7.5.1
|
|
Binary file
|
|
Binary file
|
|
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>
|
package/android/.idea/gradle.xml
CHANGED
|
@@ -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="
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
|
23
|
-
</remote-repository>
|
|
24
|
-
<remote-repository>
|
|
25
|
-
<option name="id" value="
|
|
26
|
-
<option name="name" value="
|
|
27
|
-
<option name="url" value="
|
|
28
|
-
</remote-repository>
|
|
29
|
-
<remote-repository>
|
|
30
|
-
<option name="id" value="
|
|
31
|
-
<option name="name" value="
|
|
32
|
-
<option name="url" value="
|
|
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
|
-
|
|
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>
|
package/android/.idea/misc.xml
CHANGED
|
@@ -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
|
package/android/.idea/vcs.xml
CHANGED
|
@@ -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>
|