@react-native-ohos/react-native-mail 6.1.2-rc.2 → 6.1.2-rc.3
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/harmony/mail/oh-package.json5 +1 -1
- package/harmony/mail.har +0 -0
- package/index.js +2 -2
- package/package.json +2 -2
package/harmony/mail.har
CHANGED
|
Binary file
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NativeModules, Platform } from 'react-native';
|
|
2
|
-
import NativeRNMailHarmony from './src/NativeRNMail.harmonys'
|
|
2
|
+
import NativeRNMailHarmony from './src/NativeRNMail.harmonys';
|
|
3
3
|
|
|
4
|
-
export default Platform.OS
|
|
4
|
+
export default Platform.OS === 'harmony' ? NativeRNMailHarmony : NativeModules.RNMail;
|
|
5
5
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-ohos/react-native-mail",
|
|
3
|
-
"version": "6.1.2-rc.
|
|
3
|
+
"version": "6.1.2-rc.3",
|
|
4
4
|
"description": "A wrapper on top of MFMailComposeViewController from iOS and Mail Intent on android and e-mail on harmony",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Chirag Jain",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "https://
|
|
16
|
+
"url": "https://gitcode.com/OpenHarmony-RN/rntpc_react-native-mail.git"
|
|
17
17
|
},
|
|
18
18
|
"publishConfig": {
|
|
19
19
|
"registry": "https://registry.npmjs.org/",
|