@tarojs/taro-rn 3.5.7-alpha.3 → 3.5.7-alpha.4
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Clipboard from '@react-native-
|
|
1
|
+
import Clipboard from '@react-native-clipboard/clipboard';
|
|
2
2
|
import { showToast } from '../showModal/toast';
|
|
3
3
|
import { successHandler, errorHandler } from '../../utils';
|
|
4
4
|
export function setClipboardData(opts) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/taro-rn",
|
|
3
|
-
"version": "3.5.7-alpha.
|
|
3
|
+
"version": "3.5.7-alpha.4",
|
|
4
4
|
"description": "Taro RN framework",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "types/index.d.ts",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@react-native-async-storage/async-storage": "~1.17.7",
|
|
25
25
|
"@react-native-camera-roll/camera-roll": "~5.0.4",
|
|
26
|
-
"@react-native-
|
|
26
|
+
"@react-native-clipboard/clipboard": "~1.11.1",
|
|
27
27
|
"@react-native-community/geolocation": "~3.0.2",
|
|
28
28
|
"@react-native-community/netinfo": "~9.3.0",
|
|
29
|
-
"@tarojs/runtime-rn": "3.5.7-alpha.
|
|
29
|
+
"@tarojs/runtime-rn": "3.5.7-alpha.4",
|
|
30
30
|
"babel-preset-expo": "~9.2.1",
|
|
31
31
|
"base64-js": "^1.3.0",
|
|
32
32
|
"deprecated-react-native-prop-types": "^2.3.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"@react-native-async-storage/async-storage": "~1.17.7",
|
|
69
69
|
"@react-native-camera-roll/camera-roll": "~5.0.4",
|
|
70
|
-
"@react-native-
|
|
70
|
+
"@react-native-clipboard/clipboard": "~1.11.1",
|
|
71
71
|
"@react-native-community/geolocation": "~3.0.2",
|
|
72
72
|
"@react-native-community/netinfo": "~9.3.0",
|
|
73
73
|
"expo-av": "~13.0.0",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Clipboard from '@react-native-
|
|
1
|
+
import Clipboard from '@react-native-clipboard/clipboard'
|
|
2
2
|
import { errorHandler } from '../../utils'
|
|
3
3
|
|
|
4
4
|
export function getClipboardData (opts: Taro.getClipboardData.Option = {}): Promise<Taro.getClipboardData.Promised> {
|