@react-native-clipboard/clipboard 1.8.1 → 1.8.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/README.md +34 -0
- package/android/.classpath +1 -1
- package/android/.project +12 -1
- package/android/.settings/org.eclipse.buildship.core.prefs +3 -3
- package/android/build.gradle +1 -2
- package/android/src/main/java/com/reactnativecommunity/clipboard/ClipboardModule.java +66 -1
- package/dist/Clipboard.d.ts +37 -0
- package/dist/Clipboard.js +66 -3
- package/dist/NativeClipboard.js +16 -1
- package/dist/index.js +1 -0
- package/dist/useClipboard.js +5 -4
- package/ios/RNCClipboard.m +60 -0
- package/jest/clipboard-mock.js +26 -0
- package/package.json +9 -7
- package/windows/.gitignore +0 -362
package/README.md
CHANGED
|
@@ -200,6 +200,28 @@ static hasURL()
|
|
|
200
200
|
Returns whether the clipboard has a URL content.
|
|
201
201
|
Can check if there is a URL content in clipboard without triggering PasteBoard notification for iOS 14+
|
|
202
202
|
|
|
203
|
+
#### `hasNumber()`
|
|
204
|
+
|
|
205
|
+
```jsx
|
|
206
|
+
static hasNumber()
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
(iOS 14+ only)
|
|
210
|
+
Returns whether the clipboard has a Number(UIPasteboardDetectionPatternNumber) content.
|
|
211
|
+
Can check if there is a Number content in clipboard without triggering PasteBoard notification for iOS 14+
|
|
212
|
+
|
|
213
|
+
#### `hasWebURL()`
|
|
214
|
+
|
|
215
|
+
```jsx
|
|
216
|
+
static hasWebURL()
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
(iOS 14+ only)
|
|
220
|
+
Returns whether the clipboard has a WebURL(UIPasteboardDetectionPatternProbableWebURL) content.
|
|
221
|
+
Can check if there is a WebURL content in clipboard without triggering PasteBoard notification for iOS 14+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
203
225
|
### useClipboard
|
|
204
226
|
|
|
205
227
|
`useClipboard` is a utility hooks for the `Clipboard` module. `data` contains the content stored in the clipboard.
|
|
@@ -220,6 +242,18 @@ export const HooksSample = () => {
|
|
|
220
242
|
};
|
|
221
243
|
```
|
|
222
244
|
|
|
245
|
+
## Mocking Clipboard
|
|
246
|
+
|
|
247
|
+
If you're using `jest` as a test runner, you will need to setup a mock for clipboard, as NativeModules will be undefined when testing with Jest.
|
|
248
|
+
|
|
249
|
+
Create a `jest.setup.js` in your project root,and set up the following to have Clipboard mocked:
|
|
250
|
+
|
|
251
|
+
```js
|
|
252
|
+
import mockClipboard from '@react-native-clipboard/clipboard/jest/clipboard-mock.js';
|
|
253
|
+
|
|
254
|
+
jest.mock('@react-native-clipboard/clipboard', () => mockClipboard);
|
|
255
|
+
```
|
|
256
|
+
|
|
223
257
|
## Maintainers
|
|
224
258
|
|
|
225
259
|
- [M.Haris Baig](https://github.com/harisbaig100)
|
package/android/.classpath
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<classpath>
|
|
3
|
-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-
|
|
3
|
+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-14/"/>
|
|
4
4
|
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
|
|
5
5
|
<classpathentry kind="output" path="bin/default"/>
|
|
6
6
|
</classpath>
|
package/android/.project
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<projectDescription>
|
|
3
|
-
<name
|
|
3
|
+
<name>@react-native-community_clipboard</name>
|
|
4
4
|
<comment>Project android created by Buildship.</comment>
|
|
5
5
|
<projects>
|
|
6
6
|
</projects>
|
|
@@ -20,4 +20,15 @@
|
|
|
20
20
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
21
21
|
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
|
22
22
|
</natures>
|
|
23
|
+
<filteredResources>
|
|
24
|
+
<filter>
|
|
25
|
+
<id>0</id>
|
|
26
|
+
<name></name>
|
|
27
|
+
<type>30</type>
|
|
28
|
+
<matcher>
|
|
29
|
+
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
|
30
|
+
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
|
31
|
+
</matcher>
|
|
32
|
+
</filter>
|
|
33
|
+
</filteredResources>
|
|
23
34
|
</projectDescription>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
arguments=
|
|
2
2
|
auto.sync=false
|
|
3
3
|
build.scans.enabled=false
|
|
4
|
-
connection.gradle.distribution=GRADLE_DISTRIBUTION(VERSION(
|
|
5
|
-
connection.project.dir
|
|
4
|
+
connection.gradle.distribution=GRADLE_DISTRIBUTION(VERSION(7.0-rc-1))
|
|
5
|
+
connection.project.dir=../example/android
|
|
6
6
|
eclipse.preferences.version=1
|
|
7
7
|
gradle.user.home=
|
|
8
|
-
java.home=/Library/Java/JavaVirtualMachines/
|
|
8
|
+
java.home=/Library/Java/JavaVirtualMachines/jdk-14.0.2.jdk/Contents/Home
|
|
9
9
|
jvm.arguments=
|
|
10
10
|
offline.mode=false
|
|
11
11
|
override.workspace.settings=true
|
package/android/build.gradle
CHANGED
|
@@ -7,9 +7,16 @@
|
|
|
7
7
|
|
|
8
8
|
package com.reactnativecommunity.clipboard;
|
|
9
9
|
|
|
10
|
+
import android.content.ClipDescription;
|
|
10
11
|
import android.content.ClipboardManager;
|
|
11
12
|
import android.content.ClipData;
|
|
13
|
+
import android.content.ContentResolver;
|
|
12
14
|
import android.content.Context;
|
|
15
|
+
import android.graphics.Bitmap;
|
|
16
|
+
import android.net.Uri;
|
|
17
|
+
import android.provider.MediaStore;
|
|
18
|
+
import android.util.Base64;
|
|
19
|
+
import android.util.Log;
|
|
13
20
|
|
|
14
21
|
import com.facebook.react.bridge.ReactApplicationContext;
|
|
15
22
|
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
|
@@ -19,6 +26,9 @@ import com.facebook.react.bridge.Promise;
|
|
|
19
26
|
import com.facebook.react.module.annotations.ReactModule;
|
|
20
27
|
import com.facebook.react.modules.core.DeviceEventManagerModule;
|
|
21
28
|
|
|
29
|
+
import java.io.ByteArrayOutputStream;
|
|
30
|
+
import java.io.IOException;
|
|
31
|
+
|
|
22
32
|
/**
|
|
23
33
|
* A module that allows JS to get/set clipboard contents.
|
|
24
34
|
*/
|
|
@@ -83,6 +93,51 @@ public class ClipboardModule extends ContextBaseJavaModule {
|
|
|
83
93
|
}
|
|
84
94
|
}
|
|
85
95
|
|
|
96
|
+
@ReactMethod
|
|
97
|
+
public void getImage(Promise promise){
|
|
98
|
+
ClipboardManager clipboardManager = getClipboardService();
|
|
99
|
+
if (!(clipboardManager.hasPrimaryClip())){
|
|
100
|
+
promise.resolve("");
|
|
101
|
+
}
|
|
102
|
+
else if (clipboardManager.getPrimaryClipDescription().hasMimeType(ClipDescription.MIMETYPE_TEXT_PLAIN)){
|
|
103
|
+
promise.resolve("");
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
ClipData clipData = clipboardManager.getPrimaryClip();
|
|
107
|
+
if(clipData != null){
|
|
108
|
+
ClipData.Item item = clipData.getItemAt(0);
|
|
109
|
+
Uri pasteUri = item.getUri();
|
|
110
|
+
if (pasteUri != null){
|
|
111
|
+
ContentResolver cr = reactContext.getContentResolver();
|
|
112
|
+
String mimeType = cr.getType(pasteUri);
|
|
113
|
+
if (mimeType != null){
|
|
114
|
+
if (mimeType.equals("image/jpeg") || mimeType.equals("image/png") || mimeType.equals("image/jpg")){
|
|
115
|
+
String imgPath = pasteUri.getPath();
|
|
116
|
+
try {
|
|
117
|
+
Bitmap bitmap = MediaStore.Images.Media.getBitmap(cr, pasteUri);
|
|
118
|
+
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
|
119
|
+
if (mimeType.equals("image/jpeg") || mimeType.equals("image/jpg")){
|
|
120
|
+
bitmap.compress(Bitmap.CompressFormat.JPEG, 100, outputStream);
|
|
121
|
+
}
|
|
122
|
+
if (mimeType.equals("image/png")){
|
|
123
|
+
bitmap.compress(Bitmap.CompressFormat.PNG, 100, outputStream);
|
|
124
|
+
}
|
|
125
|
+
byte[] byteArray = outputStream.toByteArray();
|
|
126
|
+
String encodedString = Base64.encodeToString(byteArray, Base64.DEFAULT);
|
|
127
|
+
StringBuilder builder = new StringBuilder("data:" + mimeType + ";base64,").append(encodedString);
|
|
128
|
+
promise.resolve(builder.toString());
|
|
129
|
+
} catch (IOException e) {
|
|
130
|
+
promise.reject(e);
|
|
131
|
+
e.printStackTrace();
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
promise.resolve("");
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
86
141
|
@ReactMethod
|
|
87
142
|
public void setListener() {
|
|
88
143
|
try {
|
|
@@ -102,7 +157,7 @@ public class ClipboardModule extends ContextBaseJavaModule {
|
|
|
102
157
|
}
|
|
103
158
|
|
|
104
159
|
@ReactMethod
|
|
105
|
-
void removeListener() {
|
|
160
|
+
public void removeListener() {
|
|
106
161
|
if(listener != null){
|
|
107
162
|
try{
|
|
108
163
|
ClipboardManager clipboard = getClipboardService();
|
|
@@ -112,4 +167,14 @@ public class ClipboardModule extends ContextBaseJavaModule {
|
|
|
112
167
|
}
|
|
113
168
|
}
|
|
114
169
|
}
|
|
170
|
+
|
|
171
|
+
@ReactMethod
|
|
172
|
+
public void addListener(String eventName) {
|
|
173
|
+
// Keep: Required for RN built in Event Emitter Calls.
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
@ReactMethod
|
|
177
|
+
public void removeListeners(Integer count) {
|
|
178
|
+
// Keep: Required for RN built in Event Emitter Calls.
|
|
179
|
+
}
|
|
115
180
|
}
|
package/dist/Clipboard.d.ts
CHANGED
|
@@ -30,6 +30,19 @@ export declare const Clipboard: {
|
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
32
|
getImageJPG(): Promise<string>;
|
|
33
|
+
/**
|
|
34
|
+
* Set content of base64 image type. You can use following code to set clipboard content
|
|
35
|
+
* ```javascript
|
|
36
|
+
* _setContent() {
|
|
37
|
+
* Clipboard.setImage(...);
|
|
38
|
+
* }
|
|
39
|
+
*
|
|
40
|
+
* iOS only
|
|
41
|
+
* ```
|
|
42
|
+
* @param the content to be stored in the clipboard.
|
|
43
|
+
*/
|
|
44
|
+
setImage(content: string): void;
|
|
45
|
+
getImage(): Promise<string>;
|
|
33
46
|
/**
|
|
34
47
|
* Set content of string type. You can use following code to set clipboard content
|
|
35
48
|
* ```javascript
|
|
@@ -72,6 +85,30 @@ export declare const Clipboard: {
|
|
|
72
85
|
* ```
|
|
73
86
|
*/
|
|
74
87
|
hasURL(): any;
|
|
88
|
+
/**
|
|
89
|
+
* (IOS 14+ Only)
|
|
90
|
+
* Returns whether the clipboard has a Number(UIPasteboardDetectionPatternNumber) content. Can check
|
|
91
|
+
* if there is a Number content in clipboard without triggering PasteBoard notification for iOS 14+
|
|
92
|
+
* This method returns a `Promise`, so you can use following code to check for Number content in clipboard.
|
|
93
|
+
* ```javascript
|
|
94
|
+
* async _hasNumber() {
|
|
95
|
+
* var hasNumber = await Clipboard.hasNumber();
|
|
96
|
+
* }
|
|
97
|
+
* ```
|
|
98
|
+
*/
|
|
99
|
+
hasNumber(): any;
|
|
100
|
+
/**
|
|
101
|
+
* (IOS 14+ Only)
|
|
102
|
+
* Returns whether the clipboard has a WebURL(UIPasteboardDetectionPatternProbableWebURL) content. Can check
|
|
103
|
+
* if there is a WebURL content in clipboard without triggering PasteBoard notification for iOS 14+
|
|
104
|
+
* This method returns a `Promise`, so you can use following code to check for WebURL content in clipboard.
|
|
105
|
+
* ```javascript
|
|
106
|
+
* async _hasWebURL() {
|
|
107
|
+
* var hasWebURL = await Clipboard.hasWebURL();
|
|
108
|
+
* }
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
111
|
+
hasWebURL(): any;
|
|
75
112
|
/**
|
|
76
113
|
* (iOS and Android Only)
|
|
77
114
|
* Adds a listener to get notifications when the clipboard has changed.
|
package/dist/Clipboard.js
CHANGED
|
@@ -14,7 +14,7 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
14
14
|
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
15
|
if (mod && mod.__esModule) return mod;
|
|
16
16
|
var result = {};
|
|
17
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
18
|
__setModuleDefault(result, mod);
|
|
19
19
|
return result;
|
|
20
20
|
};
|
|
@@ -59,6 +59,35 @@ exports.Clipboard = {
|
|
|
59
59
|
getImageJPG: function () {
|
|
60
60
|
return NativeClipboard_1.default.getImageJPG();
|
|
61
61
|
},
|
|
62
|
+
/**
|
|
63
|
+
* Set content of base64 image type. You can use following code to set clipboard content
|
|
64
|
+
* ```javascript
|
|
65
|
+
* _setContent() {
|
|
66
|
+
* Clipboard.setImage(...);
|
|
67
|
+
* }
|
|
68
|
+
*
|
|
69
|
+
* iOS only
|
|
70
|
+
* ```
|
|
71
|
+
* @param the content to be stored in the clipboard.
|
|
72
|
+
*/
|
|
73
|
+
setImage: function (content) {
|
|
74
|
+
if (react_native_1.Platform.OS !== 'ios') {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
NativeClipboard_1.default.setImage(content);
|
|
78
|
+
},
|
|
79
|
+
/*
|
|
80
|
+
* (Android Only)
|
|
81
|
+
* Get clipboard image in base64, this method returns a `Promise`, so you can use following code to get clipboard content
|
|
82
|
+
* ```javascript
|
|
83
|
+
* async _getContent() {
|
|
84
|
+
* var content = await Clipboard.getImage();
|
|
85
|
+
* }
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
getImage: function () {
|
|
89
|
+
return NativeClipboard_1.default.getImage();
|
|
90
|
+
},
|
|
62
91
|
/**
|
|
63
92
|
* Set content of string type. You can use following code to set clipboard content
|
|
64
93
|
* ```javascript
|
|
@@ -112,6 +141,40 @@ exports.Clipboard = {
|
|
|
112
141
|
}
|
|
113
142
|
return NativeClipboard_1.default.hasURL();
|
|
114
143
|
},
|
|
144
|
+
/**
|
|
145
|
+
* (IOS 14+ Only)
|
|
146
|
+
* Returns whether the clipboard has a Number(UIPasteboardDetectionPatternNumber) content. Can check
|
|
147
|
+
* if there is a Number content in clipboard without triggering PasteBoard notification for iOS 14+
|
|
148
|
+
* This method returns a `Promise`, so you can use following code to check for Number content in clipboard.
|
|
149
|
+
* ```javascript
|
|
150
|
+
* async _hasNumber() {
|
|
151
|
+
* var hasNumber = await Clipboard.hasNumber();
|
|
152
|
+
* }
|
|
153
|
+
* ```
|
|
154
|
+
*/
|
|
155
|
+
hasNumber: function () {
|
|
156
|
+
if (react_native_1.Platform.OS !== 'ios') {
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
159
|
+
return NativeClipboard_1.default.hasNumber();
|
|
160
|
+
},
|
|
161
|
+
/**
|
|
162
|
+
* (IOS 14+ Only)
|
|
163
|
+
* Returns whether the clipboard has a WebURL(UIPasteboardDetectionPatternProbableWebURL) content. Can check
|
|
164
|
+
* if there is a WebURL content in clipboard without triggering PasteBoard notification for iOS 14+
|
|
165
|
+
* This method returns a `Promise`, so you can use following code to check for WebURL content in clipboard.
|
|
166
|
+
* ```javascript
|
|
167
|
+
* async _hasWebURL() {
|
|
168
|
+
* var hasWebURL = await Clipboard.hasWebURL();
|
|
169
|
+
* }
|
|
170
|
+
* ```
|
|
171
|
+
*/
|
|
172
|
+
hasWebURL: function () {
|
|
173
|
+
if (react_native_1.Platform.OS !== 'ios') {
|
|
174
|
+
return;
|
|
175
|
+
}
|
|
176
|
+
return NativeClipboard_1.default.hasWebURL();
|
|
177
|
+
},
|
|
115
178
|
/**
|
|
116
179
|
* (iOS and Android Only)
|
|
117
180
|
* Adds a listener to get notifications when the clipboard has changed.
|
|
@@ -123,7 +186,7 @@ exports.Clipboard = {
|
|
|
123
186
|
* ```
|
|
124
187
|
*/
|
|
125
188
|
addListener: function (callback) {
|
|
126
|
-
return NativeClipboard_1.addListener(callback);
|
|
189
|
+
return (0, NativeClipboard_1.addListener)(callback);
|
|
127
190
|
},
|
|
128
191
|
/**
|
|
129
192
|
* (iOS and Android Only)
|
|
@@ -133,6 +196,6 @@ exports.Clipboard = {
|
|
|
133
196
|
* ```
|
|
134
197
|
*/
|
|
135
198
|
removeAllListeners: function () {
|
|
136
|
-
NativeClipboard_1.removeAllListeners();
|
|
199
|
+
(0, NativeClipboard_1.removeAllListeners)();
|
|
137
200
|
},
|
|
138
201
|
};
|
package/dist/NativeClipboard.js
CHANGED
|
@@ -22,11 +22,26 @@ if (!listenerCount) {
|
|
|
22
22
|
return eventEmitter.listeners(eventType).length;
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
+
else {
|
|
26
|
+
listenerCount = eventEmitter.listenerCount.bind(eventEmitter);
|
|
27
|
+
}
|
|
25
28
|
var addListener = function (callback) {
|
|
26
29
|
if (listenerCount(EVENT_NAME) === 0) {
|
|
27
30
|
react_native_1.NativeModules.RNCClipboard.setListener();
|
|
28
31
|
}
|
|
29
|
-
|
|
32
|
+
var res = eventEmitter.addListener(EVENT_NAME, callback);
|
|
33
|
+
// Path the remove call to also remove the native listener
|
|
34
|
+
// if we no longer have listeners
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
res._remove = res.remove;
|
|
37
|
+
res.remove = function () {
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
this._remove();
|
|
40
|
+
if (listenerCount(EVENT_NAME) === 0) {
|
|
41
|
+
react_native_1.NativeModules.RNCClipboard.removeListener();
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
return res;
|
|
30
45
|
};
|
|
31
46
|
exports.addListener = addListener;
|
|
32
47
|
var removeAllListeners = function () {
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useClipboard = void 0;
|
|
3
4
|
var Clipboard_1 = require("./Clipboard");
|
|
4
5
|
var useClipboard_1 = require("./useClipboard");
|
|
5
6
|
Object.defineProperty(exports, "useClipboard", { enumerable: true, get: function () { return useClipboard_1.useClipboard; } });
|
package/dist/useClipboard.js
CHANGED
|
@@ -14,12 +14,12 @@ function setString(content) {
|
|
|
14
14
|
Clipboard_1.Clipboard.setString(content);
|
|
15
15
|
listeners.forEach(function (listener) { return listener(content); });
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
var _a = react_1.useState(''), data = _a[0], updateClipboardData = _a[1];
|
|
19
|
-
react_1.useEffect(function () {
|
|
17
|
+
var useClipboard = function () {
|
|
18
|
+
var _a = (0, react_1.useState)(''), data = _a[0], updateClipboardData = _a[1];
|
|
19
|
+
(0, react_1.useEffect)(function () {
|
|
20
20
|
Clipboard_1.Clipboard.getString().then(updateClipboardData);
|
|
21
21
|
}, []);
|
|
22
|
-
react_1.useEffect(function () {
|
|
22
|
+
(0, react_1.useEffect)(function () {
|
|
23
23
|
listeners.add(updateClipboardData);
|
|
24
24
|
return function () {
|
|
25
25
|
listeners.delete(updateClipboardData);
|
|
@@ -27,3 +27,4 @@ exports.useClipboard = function () {
|
|
|
27
27
|
}, []);
|
|
28
28
|
return [data, setString];
|
|
29
29
|
};
|
|
30
|
+
exports.useClipboard = useClipboard;
|
package/ios/RNCClipboard.m
CHANGED
|
@@ -73,6 +73,22 @@ RCT_EXPORT_METHOD(getString:(RCTPromiseResolveBlock)resolve
|
|
|
73
73
|
resolve((clipboard.string ? : @""));
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
+
RCT_EXPORT_METHOD(setImage:(NSString *)content
|
|
77
|
+
resolve:(RCTPromiseResolveBlock) resolve
|
|
78
|
+
reject:(RCTPromiseRejectBlock) reject
|
|
79
|
+
) {
|
|
80
|
+
@try {
|
|
81
|
+
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
|
|
82
|
+
NSData *imageData = [[NSData alloc]initWithBase64EncodedString:content options:NSDataBase64DecodingIgnoreUnknownCharacters];
|
|
83
|
+
[pasteboard setImage:[UIImage imageWithData:imageData]];
|
|
84
|
+
resolve(nil);
|
|
85
|
+
}
|
|
86
|
+
@catch (NSException *exception) {
|
|
87
|
+
reject(@"Clipboard:setImage", exception.reason, nil);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
|
|
76
92
|
RCT_EXPORT_METHOD(getImagePNG:(RCTPromiseResolveBlock)resolve
|
|
77
93
|
reject:(__unused RCTPromiseRejectBlock)reject)
|
|
78
94
|
{
|
|
@@ -143,4 +159,48 @@ RCT_EXPORT_METHOD(hasURL:(RCTPromiseResolveBlock)resolve
|
|
|
143
159
|
resolve([NSNumber numberWithBool: urlPresent]);
|
|
144
160
|
}
|
|
145
161
|
|
|
162
|
+
RCT_EXPORT_METHOD(hasNumber:(RCTPromiseResolveBlock)resolve
|
|
163
|
+
reject:(__unused RCTPromiseRejectBlock)reject)
|
|
164
|
+
{
|
|
165
|
+
if (@available(iOS 14, *)) {
|
|
166
|
+
UIPasteboard *board = [UIPasteboard generalPasteboard];
|
|
167
|
+
[board detectPatternsForPatterns:[NSSet setWithObjects:UIPasteboardDetectionPatternProbableWebURL, UIPasteboardDetectionPatternNumber, UIPasteboardDetectionPatternProbableWebSearch, nil]
|
|
168
|
+
completionHandler:^(NSSet<UIPasteboardDetectionPattern> * _Nullable set, NSError * _Nullable error) {
|
|
169
|
+
BOOL numberPresent = NO;
|
|
170
|
+
for (NSString *type in set) {
|
|
171
|
+
if ([type isEqualToString:UIPasteboardDetectionPatternNumber]) {
|
|
172
|
+
numberPresent = YES;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
resolve([NSNumber numberWithBool: numberPresent]);
|
|
176
|
+
}];
|
|
177
|
+
} else {
|
|
178
|
+
resolve([NSNumber numberWithBool: NO]);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
RCT_EXPORT_METHOD(hasWebURL:(RCTPromiseResolveBlock)resolve
|
|
183
|
+
reject:(__unused RCTPromiseRejectBlock)reject)
|
|
184
|
+
{
|
|
185
|
+
if (@available(iOS 14, *)) {
|
|
186
|
+
UIPasteboard *board = [UIPasteboard generalPasteboard];
|
|
187
|
+
[board detectPatternsForPatterns:[NSSet setWithObjects:UIPasteboardDetectionPatternProbableWebURL, UIPasteboardDetectionPatternNumber, UIPasteboardDetectionPatternProbableWebSearch, nil]
|
|
188
|
+
completionHandler:^(NSSet<UIPasteboardDetectionPattern> * _Nullable set, NSError * _Nullable error) {
|
|
189
|
+
BOOL webURLPresent = NO;
|
|
190
|
+
for (NSString *type in set) {
|
|
191
|
+
if ([type isEqualToString:UIPasteboardDetectionPatternProbableWebURL]) {
|
|
192
|
+
webURLPresent = YES;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
resolve([NSNumber numberWithBool: webURLPresent]);
|
|
196
|
+
}];
|
|
197
|
+
} else {
|
|
198
|
+
resolve([NSNumber numberWithBool: NO]);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
146
206
|
@end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @format
|
|
3
|
+
*/
|
|
4
|
+
/* eslint-env jest */
|
|
5
|
+
|
|
6
|
+
const ClipboardMock = {
|
|
7
|
+
getString: jest.fn().mockResolvedValue('mockString'),
|
|
8
|
+
getImagePNG: jest.fn(),
|
|
9
|
+
getImageJPG: jest.fn(),
|
|
10
|
+
setImage: jest.fn(),
|
|
11
|
+
setString: jest.fn(),
|
|
12
|
+
hasString: jest.fn().mockResolvedValue(true),
|
|
13
|
+
hasImage: jest.fn().mockResolvedValue(true),
|
|
14
|
+
hasURL: jest.fn().mockResolvedValue(true),
|
|
15
|
+
addListener: jest.fn(),
|
|
16
|
+
removeAllListeners: jest.fn(),
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const useClipboard = jest.fn(() => ['mockString', jest.fn()]);
|
|
20
|
+
|
|
21
|
+
const RNCClipboardMock = {
|
|
22
|
+
...ClipboardMock,
|
|
23
|
+
useClipboard,
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
module.exports = RNCClipboardMock;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-clipboard/clipboard",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.5",
|
|
4
4
|
"description": "React Native Clipboard API for macOS, iOS, Android, and Windows",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Clipboard",
|
|
@@ -26,7 +26,9 @@
|
|
|
26
26
|
"ios",
|
|
27
27
|
"macos",
|
|
28
28
|
"android",
|
|
29
|
-
"windows"
|
|
29
|
+
"windows",
|
|
30
|
+
"jest",
|
|
31
|
+
"!android/**/build/*"
|
|
30
32
|
],
|
|
31
33
|
"scripts": {
|
|
32
34
|
"ios": "react-native run-ios --project-path \"./example/ios\"",
|
|
@@ -35,8 +37,8 @@
|
|
|
35
37
|
"start": "react-native start",
|
|
36
38
|
"build": "tsc",
|
|
37
39
|
"lint": "eslint src --ext .ts,.tsx --cache",
|
|
38
|
-
"prepare": "
|
|
39
|
-
"test": "
|
|
40
|
+
"prepare": "npm run build",
|
|
41
|
+
"test": "jest",
|
|
40
42
|
"type-check": "tsc --noEmit"
|
|
41
43
|
},
|
|
42
44
|
"jest": {
|
|
@@ -47,16 +49,16 @@
|
|
|
47
49
|
"@react-native-community/eslint-config": "^2.0.0",
|
|
48
50
|
"@types/react-native": "^0.64.8",
|
|
49
51
|
"babel-jest": "^26.1.0",
|
|
50
|
-
"eslint": "^
|
|
52
|
+
"eslint": "^7.32.0",
|
|
51
53
|
"eslint-plugin-prettier": "^3.1.2",
|
|
52
54
|
"jest": "^26.1.0",
|
|
53
55
|
"metro-react-native-babel-preset": "^0.64.0",
|
|
54
|
-
"prettier": "^2.
|
|
56
|
+
"prettier": "^2.4.1",
|
|
55
57
|
"react": "17.0.1",
|
|
56
58
|
"react-native": "0.64.1",
|
|
57
59
|
"react-native-macos": "^0.62.0-0",
|
|
58
60
|
"react-test-renderer": "16.9.0",
|
|
59
|
-
"typescript": "^
|
|
61
|
+
"typescript": "^4.4.3"
|
|
60
62
|
},
|
|
61
63
|
"peerDependencies": {
|
|
62
64
|
"react": ">=16.0",
|
package/windows/.gitignore
DELETED
|
@@ -1,362 +0,0 @@
|
|
|
1
|
-
## Ignore Visual Studio temporary files, build results, and
|
|
2
|
-
## files generated by popular Visual Studio add-ons.
|
|
3
|
-
##
|
|
4
|
-
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
|
|
5
|
-
|
|
6
|
-
# User-specific files
|
|
7
|
-
*.rsuser
|
|
8
|
-
*.suo
|
|
9
|
-
*.user
|
|
10
|
-
*.userosscache
|
|
11
|
-
*.sln.docstates
|
|
12
|
-
|
|
13
|
-
# User-specific files (MonoDevelop/Xamarin Studio)
|
|
14
|
-
*.userprefs
|
|
15
|
-
|
|
16
|
-
# Mono auto generated files
|
|
17
|
-
mono_crash.*
|
|
18
|
-
|
|
19
|
-
# Build results
|
|
20
|
-
[Dd]ebug/
|
|
21
|
-
[Dd]ebugPublic/
|
|
22
|
-
[Rr]elease/
|
|
23
|
-
[Rr]eleases/
|
|
24
|
-
x64/
|
|
25
|
-
x86/
|
|
26
|
-
[Ww][Ii][Nn]32/
|
|
27
|
-
[Aa][Rr][Mm]/
|
|
28
|
-
[Aa][Rr][Mm]64/
|
|
29
|
-
bld/
|
|
30
|
-
[Bb]in/
|
|
31
|
-
[Oo]bj/
|
|
32
|
-
[Ll]og/
|
|
33
|
-
[Ll]ogs/
|
|
34
|
-
|
|
35
|
-
# Visual Studio 2015/2017 cache/options directory
|
|
36
|
-
.vs/
|
|
37
|
-
# Uncomment if you have tasks that create the project's static files in wwwroot
|
|
38
|
-
#wwwroot/
|
|
39
|
-
|
|
40
|
-
# Visual Studio 2017 auto generated files
|
|
41
|
-
Generated\ Files/
|
|
42
|
-
|
|
43
|
-
# MSTest test Results
|
|
44
|
-
[Tt]est[Rr]esult*/
|
|
45
|
-
[Bb]uild[Ll]og.*
|
|
46
|
-
|
|
47
|
-
# NUnit
|
|
48
|
-
*.VisualState.xml
|
|
49
|
-
TestResult.xml
|
|
50
|
-
nunit-*.xml
|
|
51
|
-
|
|
52
|
-
# Build Results of an ATL Project
|
|
53
|
-
[Dd]ebugPS/
|
|
54
|
-
[Rr]eleasePS/
|
|
55
|
-
dlldata.c
|
|
56
|
-
|
|
57
|
-
# Benchmark Results
|
|
58
|
-
BenchmarkDotNet.Artifacts/
|
|
59
|
-
|
|
60
|
-
# .NET Core
|
|
61
|
-
project.lock.json
|
|
62
|
-
project.fragment.lock.json
|
|
63
|
-
artifacts/
|
|
64
|
-
|
|
65
|
-
# ASP.NET Scaffolding
|
|
66
|
-
ScaffoldingReadMe.txt
|
|
67
|
-
|
|
68
|
-
# StyleCop
|
|
69
|
-
StyleCopReport.xml
|
|
70
|
-
|
|
71
|
-
# Files built by Visual Studio
|
|
72
|
-
*_i.c
|
|
73
|
-
*_p.c
|
|
74
|
-
*_h.h
|
|
75
|
-
*.ilk
|
|
76
|
-
*.meta
|
|
77
|
-
*.obj
|
|
78
|
-
*.iobj
|
|
79
|
-
*.pch
|
|
80
|
-
*.pdb
|
|
81
|
-
*.ipdb
|
|
82
|
-
*.pgc
|
|
83
|
-
*.pgd
|
|
84
|
-
*.rsp
|
|
85
|
-
*.sbr
|
|
86
|
-
*.tlb
|
|
87
|
-
*.tli
|
|
88
|
-
*.tlh
|
|
89
|
-
*.tmp
|
|
90
|
-
*.tmp_proj
|
|
91
|
-
*_wpftmp.csproj
|
|
92
|
-
*.log
|
|
93
|
-
*.vspscc
|
|
94
|
-
*.vssscc
|
|
95
|
-
.builds
|
|
96
|
-
*.pidb
|
|
97
|
-
*.svclog
|
|
98
|
-
*.scc
|
|
99
|
-
|
|
100
|
-
# Chutzpah Test files
|
|
101
|
-
_Chutzpah*
|
|
102
|
-
|
|
103
|
-
# Visual C++ cache files
|
|
104
|
-
ipch/
|
|
105
|
-
*.aps
|
|
106
|
-
*.ncb
|
|
107
|
-
*.opendb
|
|
108
|
-
*.opensdf
|
|
109
|
-
*.sdf
|
|
110
|
-
*.cachefile
|
|
111
|
-
*.VC.db
|
|
112
|
-
*.VC.VC.opendb
|
|
113
|
-
|
|
114
|
-
# Visual Studio profiler
|
|
115
|
-
*.psess
|
|
116
|
-
*.vsp
|
|
117
|
-
*.vspx
|
|
118
|
-
*.sap
|
|
119
|
-
|
|
120
|
-
# Visual Studio Trace Files
|
|
121
|
-
*.e2e
|
|
122
|
-
|
|
123
|
-
# TFS 2012 Local Workspace
|
|
124
|
-
$tf/
|
|
125
|
-
|
|
126
|
-
# Guidance Automation Toolkit
|
|
127
|
-
*.gpState
|
|
128
|
-
|
|
129
|
-
# ReSharper is a .NET coding add-in
|
|
130
|
-
_ReSharper*/
|
|
131
|
-
*.[Rr]e[Ss]harper
|
|
132
|
-
*.DotSettings.user
|
|
133
|
-
|
|
134
|
-
# TeamCity is a build add-in
|
|
135
|
-
_TeamCity*
|
|
136
|
-
|
|
137
|
-
# DotCover is a Code Coverage Tool
|
|
138
|
-
*.dotCover
|
|
139
|
-
|
|
140
|
-
# AxoCover is a Code Coverage Tool
|
|
141
|
-
.axoCover/*
|
|
142
|
-
!.axoCover/settings.json
|
|
143
|
-
|
|
144
|
-
# Coverlet is a free, cross platform Code Coverage Tool
|
|
145
|
-
coverage*.json
|
|
146
|
-
coverage*.xml
|
|
147
|
-
coverage*.info
|
|
148
|
-
|
|
149
|
-
# Visual Studio code coverage results
|
|
150
|
-
*.coverage
|
|
151
|
-
*.coveragexml
|
|
152
|
-
|
|
153
|
-
# NCrunch
|
|
154
|
-
_NCrunch_*
|
|
155
|
-
.*crunch*.local.xml
|
|
156
|
-
nCrunchTemp_*
|
|
157
|
-
|
|
158
|
-
# MightyMoose
|
|
159
|
-
*.mm.*
|
|
160
|
-
AutoTest.Net/
|
|
161
|
-
|
|
162
|
-
# Web workbench (sass)
|
|
163
|
-
.sass-cache/
|
|
164
|
-
|
|
165
|
-
# Installshield output folder
|
|
166
|
-
[Ee]xpress/
|
|
167
|
-
|
|
168
|
-
# DocProject is a documentation generator add-in
|
|
169
|
-
DocProject/buildhelp/
|
|
170
|
-
DocProject/Help/*.HxT
|
|
171
|
-
DocProject/Help/*.HxC
|
|
172
|
-
DocProject/Help/*.hhc
|
|
173
|
-
DocProject/Help/*.hhk
|
|
174
|
-
DocProject/Help/*.hhp
|
|
175
|
-
DocProject/Help/Html2
|
|
176
|
-
DocProject/Help/html
|
|
177
|
-
|
|
178
|
-
# Click-Once directory
|
|
179
|
-
publish/
|
|
180
|
-
|
|
181
|
-
# Publish Web Output
|
|
182
|
-
*.[Pp]ublish.xml
|
|
183
|
-
*.azurePubxml
|
|
184
|
-
# Note: Comment the next line if you want to checkin your web deploy settings,
|
|
185
|
-
# but database connection strings (with potential passwords) will be unencrypted
|
|
186
|
-
*.pubxml
|
|
187
|
-
*.publishproj
|
|
188
|
-
|
|
189
|
-
# Microsoft Azure Web App publish settings. Comment the next line if you want to
|
|
190
|
-
# checkin your Azure Web App publish settings, but sensitive information contained
|
|
191
|
-
# in these scripts will be unencrypted
|
|
192
|
-
PublishScripts/
|
|
193
|
-
|
|
194
|
-
# NuGet Packages
|
|
195
|
-
*.nupkg
|
|
196
|
-
# NuGet Symbol Packages
|
|
197
|
-
*.snupkg
|
|
198
|
-
# The packages folder can be ignored because of Package Restore
|
|
199
|
-
**/[Pp]ackages/*
|
|
200
|
-
# except build/, which is used as an MSBuild target.
|
|
201
|
-
!**/[Pp]ackages/build/
|
|
202
|
-
# Uncomment if necessary however generally it will be regenerated when needed
|
|
203
|
-
#!**/[Pp]ackages/repositories.config
|
|
204
|
-
# NuGet v3's project.json files produces more ignorable files
|
|
205
|
-
*.nuget.props
|
|
206
|
-
*.nuget.targets
|
|
207
|
-
|
|
208
|
-
# Microsoft Azure Build Output
|
|
209
|
-
csx/
|
|
210
|
-
*.build.csdef
|
|
211
|
-
|
|
212
|
-
# Microsoft Azure Emulator
|
|
213
|
-
ecf/
|
|
214
|
-
rcf/
|
|
215
|
-
|
|
216
|
-
# Windows Store app package directories and files
|
|
217
|
-
AppPackages/
|
|
218
|
-
BundleArtifacts/
|
|
219
|
-
Package.StoreAssociation.xml
|
|
220
|
-
_pkginfo.txt
|
|
221
|
-
*.appx
|
|
222
|
-
*.appxbundle
|
|
223
|
-
*.appxupload
|
|
224
|
-
|
|
225
|
-
# Visual Studio cache files
|
|
226
|
-
# files ending in .cache can be ignored
|
|
227
|
-
*.[Cc]ache
|
|
228
|
-
# but keep track of directories ending in .cache
|
|
229
|
-
!?*.[Cc]ache/
|
|
230
|
-
|
|
231
|
-
# Others
|
|
232
|
-
ClientBin/
|
|
233
|
-
~$*
|
|
234
|
-
*~
|
|
235
|
-
*.dbmdl
|
|
236
|
-
*.dbproj.schemaview
|
|
237
|
-
*.jfm
|
|
238
|
-
*.pfx
|
|
239
|
-
*.publishsettings
|
|
240
|
-
orleans.codegen.cs
|
|
241
|
-
|
|
242
|
-
# Including strong name files can present a security risk
|
|
243
|
-
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
|
|
244
|
-
#*.snk
|
|
245
|
-
|
|
246
|
-
# Since there are multiple workflows, uncomment next line to ignore bower_components
|
|
247
|
-
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
|
|
248
|
-
#bower_components/
|
|
249
|
-
|
|
250
|
-
# RIA/Silverlight projects
|
|
251
|
-
Generated_Code/
|
|
252
|
-
|
|
253
|
-
# Backup & report files from converting an old project file
|
|
254
|
-
# to a newer Visual Studio version. Backup files are not needed,
|
|
255
|
-
# because we have git ;-)
|
|
256
|
-
_UpgradeReport_Files/
|
|
257
|
-
Backup*/
|
|
258
|
-
UpgradeLog*.XML
|
|
259
|
-
UpgradeLog*.htm
|
|
260
|
-
ServiceFabricBackup/
|
|
261
|
-
*.rptproj.bak
|
|
262
|
-
|
|
263
|
-
# SQL Server files
|
|
264
|
-
*.mdf
|
|
265
|
-
*.ldf
|
|
266
|
-
*.ndf
|
|
267
|
-
|
|
268
|
-
# Business Intelligence projects
|
|
269
|
-
*.rdl.data
|
|
270
|
-
*.bim.layout
|
|
271
|
-
*.bim_*.settings
|
|
272
|
-
*.rptproj.rsuser
|
|
273
|
-
*- [Bb]ackup.rdl
|
|
274
|
-
*- [Bb]ackup ([0-9]).rdl
|
|
275
|
-
*- [Bb]ackup ([0-9][0-9]).rdl
|
|
276
|
-
|
|
277
|
-
# Microsoft Fakes
|
|
278
|
-
FakesAssemblies/
|
|
279
|
-
|
|
280
|
-
# GhostDoc plugin setting file
|
|
281
|
-
*.GhostDoc.xml
|
|
282
|
-
|
|
283
|
-
# Node.js Tools for Visual Studio
|
|
284
|
-
.ntvs_analysis.dat
|
|
285
|
-
node_modules/
|
|
286
|
-
|
|
287
|
-
# Visual Studio 6 build log
|
|
288
|
-
*.plg
|
|
289
|
-
|
|
290
|
-
# Visual Studio 6 workspace options file
|
|
291
|
-
*.opt
|
|
292
|
-
|
|
293
|
-
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
|
|
294
|
-
*.vbw
|
|
295
|
-
|
|
296
|
-
# Visual Studio LightSwitch build output
|
|
297
|
-
**/*.HTMLClient/GeneratedArtifacts
|
|
298
|
-
**/*.DesktopClient/GeneratedArtifacts
|
|
299
|
-
**/*.DesktopClient/ModelManifest.xml
|
|
300
|
-
**/*.Server/GeneratedArtifacts
|
|
301
|
-
**/*.Server/ModelManifest.xml
|
|
302
|
-
_Pvt_Extensions
|
|
303
|
-
|
|
304
|
-
# Paket dependency manager
|
|
305
|
-
.paket/paket.exe
|
|
306
|
-
paket-files/
|
|
307
|
-
|
|
308
|
-
# FAKE - F# Make
|
|
309
|
-
.fake/
|
|
310
|
-
|
|
311
|
-
# CodeRush personal settings
|
|
312
|
-
.cr/personal
|
|
313
|
-
|
|
314
|
-
# Python Tools for Visual Studio (PTVS)
|
|
315
|
-
__pycache__/
|
|
316
|
-
*.pyc
|
|
317
|
-
|
|
318
|
-
# Cake - Uncomment if you are using it
|
|
319
|
-
# tools/**
|
|
320
|
-
# !tools/packages.config
|
|
321
|
-
|
|
322
|
-
# Tabs Studio
|
|
323
|
-
*.tss
|
|
324
|
-
|
|
325
|
-
# Telerik's JustMock configuration file
|
|
326
|
-
*.jmconfig
|
|
327
|
-
|
|
328
|
-
# BizTalk build output
|
|
329
|
-
*.btp.cs
|
|
330
|
-
*.btm.cs
|
|
331
|
-
*.odx.cs
|
|
332
|
-
*.xsd.cs
|
|
333
|
-
|
|
334
|
-
# OpenCover UI analysis results
|
|
335
|
-
OpenCover/
|
|
336
|
-
|
|
337
|
-
# Azure Stream Analytics local run output
|
|
338
|
-
ASALocalRun/
|
|
339
|
-
|
|
340
|
-
# MSBuild Binary and Structured Log
|
|
341
|
-
*.binlog
|
|
342
|
-
|
|
343
|
-
# NVidia Nsight GPU debugger configuration file
|
|
344
|
-
*.nvuser
|
|
345
|
-
|
|
346
|
-
# MFractors (Xamarin productivity tool) working folder
|
|
347
|
-
.mfractor/
|
|
348
|
-
|
|
349
|
-
# Local History for Visual Studio
|
|
350
|
-
.localhistory/
|
|
351
|
-
|
|
352
|
-
# BeatPulse healthcheck temp database
|
|
353
|
-
healthchecksdb
|
|
354
|
-
|
|
355
|
-
# Backup folder for Package Reference Convert tool in Visual Studio 2017
|
|
356
|
-
MigrationBackup/
|
|
357
|
-
|
|
358
|
-
# Ionide (cross platform F# VS Code tools) working folder
|
|
359
|
-
.ionide/
|
|
360
|
-
|
|
361
|
-
# Fody - auto-generated XML schema
|
|
362
|
-
FodyWeavers.xsd
|