update turbo-mailer (#6809)

This commit is contained in:
Elias Nahum
2022-12-01 16:45:08 +02:00
committed by GitHub
parent e6af1e116b
commit 330fd42212
5 changed files with 24 additions and 17 deletions

View File

@@ -0,0 +1,8 @@
<?xml version='1.0' encoding='utf-8'?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<files-path name="files" path="." />
<external-files-path name="external_files" path="." />
<external-path name="external" path="." />
<cache-path name="cache" path="." />
<root-path name="root" path="." />
</paths>

View File

@@ -29,14 +29,13 @@ const ReportProblem = ({buildNumber, currentTeamId, currentUserId, siteName, sup
const appBuild = DeviceInfo.getBuildNumber();
const deviceId = DeviceInfo.getDeviceId();
const logPaths = await TurboLogger.getLogPaths();
const attachments = logPaths.map((path) => ({
path,
mimeType: 'message/rfc822',
}));
try {
const logPaths = await TurboLogger.getLogPaths();
const attachments = logPaths.map((path) => ({
path,
mimeType: 'message/rfc822',
}));
await TurboMailer.sendMail({
subject: `Problem with ${siteName} React Native app`,
recipients: [supportEmail],

View File

@@ -367,7 +367,7 @@ PODS:
- RCTTypeSafety
- React-Core
- ReactCommon/turbomodule/core
- react-native-turbo-mailer (0.1.0):
- react-native-turbo-mailer (0.2.0):
- React-Core
- react-native-user-agent (2.3.1):
- React
@@ -929,7 +929,7 @@ SPEC CHECKSUMS:
react-native-notifications: 83b4fd4a127a6c918fc846cae90da60f84819e44
react-native-paste-input: 183ad7dc224e192719616f4258dde5b548627d08
react-native-safe-area-context: 99b24a0c5acd0d5dcac2b1a7f18c49ea317be99a
react-native-turbo-mailer: c709786e47b70c535a356cd7ee6fe1c185ed7c53
react-native-turbo-mailer: 226fc3533d16500fb4ad08cf8ab2cfc7bb1ef593
react-native-user-agent: a90a1e839b99801baad67a73dd6f361a52aa3cf1
react-native-video: c26780b224543c62d5e1b2a7244a5cd1b50e8253
react-native-webrtc: 86d841823e66d68cc1f86712db1c2956056bf0c2

14
package-lock.json generated
View File

@@ -21,7 +21,7 @@
"@mattermost/react-native-network-client": "1.0.0",
"@mattermost/react-native-paste-input": "0.5.1",
"@mattermost/react-native-turbo-log": "0.2.0",
"@mattermost/react-native-turbo-mailer": "0.1.0",
"@mattermost/react-native-turbo-mailer": "0.2.0",
"@msgpack/msgpack": "2.8.0",
"@nozbe/watermelondb": "0.24.0",
"@nozbe/with-observables": "1.4.1",
@@ -3227,9 +3227,9 @@
}
},
"node_modules/@mattermost/react-native-turbo-mailer": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/@mattermost/react-native-turbo-mailer/-/react-native-turbo-mailer-0.1.0.tgz",
"integrity": "sha512-Q6GY5sxdokJRuS/3DeAeqfmzWRboI9xDip2pEdw7K6CZCBdNXMNoPhqhq+KEV+/sJzfmx6qFGVipMyj5uGIyYA==",
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/@mattermost/react-native-turbo-mailer/-/react-native-turbo-mailer-0.2.0.tgz",
"integrity": "sha512-KMrEkMa30zjFv8ofvQsE1c1ln+8ntGDKJWDjScK02jvN3rtD8jMz1derz1py8tbDU9uU2nQPqWu4lP4b3g27Tw==",
"engines": {
"node": ">= 16.0.0"
},
@@ -24108,9 +24108,9 @@
"requires": {}
},
"@mattermost/react-native-turbo-mailer": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/@mattermost/react-native-turbo-mailer/-/react-native-turbo-mailer-0.1.0.tgz",
"integrity": "sha512-Q6GY5sxdokJRuS/3DeAeqfmzWRboI9xDip2pEdw7K6CZCBdNXMNoPhqhq+KEV+/sJzfmx6qFGVipMyj5uGIyYA==",
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/@mattermost/react-native-turbo-mailer/-/react-native-turbo-mailer-0.2.0.tgz",
"integrity": "sha512-KMrEkMa30zjFv8ofvQsE1c1ln+8ntGDKJWDjScK02jvN3rtD8jMz1derz1py8tbDU9uU2nQPqWu4lP4b3g27Tw==",
"requires": {}
},
"@msgpack/msgpack": {

View File

@@ -18,7 +18,7 @@
"@mattermost/react-native-network-client": "1.0.0",
"@mattermost/react-native-paste-input": "0.5.1",
"@mattermost/react-native-turbo-log": "0.2.0",
"@mattermost/react-native-turbo-mailer": "0.1.0",
"@mattermost/react-native-turbo-mailer": "0.2.0",
"@msgpack/msgpack": "2.8.0",
"@nozbe/watermelondb": "0.24.0",
"@nozbe/with-observables": "1.4.1",