Home
last modified time | relevance | path

Searched refs:attachment (Results 1 – 25 of 68) sorted by relevance

123

/expo/packages/expo-sms/ios/
H A DExpoSMSModule.swift45 for attachment in options.attachments { in sendSMSAsync()
47 kUTTagClassMIMEType, attachment.mimeType as CFString, nil) in sendSMSAsync()
50 throw SMSMimeTypeException(attachment.mimeType) in sendSMSAsync()
53 guard let url = URL(string: attachment.uri) else { in sendSMSAsync()
54 throw SMSUriException(attachment.uri) in sendSMSAsync()
61 typeIdentifier: attachment.mimeType, in sendSMSAsync()
62 filename: attachment.filename) in sendSMSAsync()
64 throw SMSFileException(attachment.uri) in sendSMSAsync()
/expo/ios/versioned/sdk49/ExpoSMS/
H A DExpoSMSModule.swift45 for attachment in options.attachments { in sendSMSAsync()
47 kUTTagClassMIMEType, attachment.mimeType as CFString, nil) in sendSMSAsync()
50 throw SMSMimeTypeException(attachment.mimeType) in sendSMSAsync()
53 guard let url = URL(string: attachment.uri) else { in sendSMSAsync()
54 throw SMSUriException(attachment.uri) in sendSMSAsync()
61 typeIdentifier: attachment.mimeType, in sendSMSAsync()
62 filename: attachment.filename) in sendSMSAsync()
64 throw SMSFileException(attachment.uri) in sendSMSAsync()
/expo/ios/versioned/sdk49/ExpoMailComposer/
H A DMailComposingSession.swift33 for attachment in attachments { in compose()
34 guard fileSystem.permissions(forURI: attachment).contains(.read) else { in compose()
35 throw FileSystemReadPermissionException(attachment.path) in compose()
37 let mimeType = findMimeType(forAttachment: attachment) in compose()
38 let fileData = try Data(contentsOf: attachment) in compose()
39 …composeController.addAttachmentData(fileData, mimeType: mimeType, fileName: attachment.lastPathCom… in compose()
76 private func findMimeType(forAttachment attachment: URL) -> String { in findMimeType()
77 … = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, attachment.pathExtension as… in findMimeType()
/expo/ios/versioned/sdk48/ExpoSMS/
H A DExpoSMSModule.swift45 for attachment in options.attachments { in sendSMSAsync()
47 kUTTagClassMIMEType, attachment.mimeType as CFString, nil) in sendSMSAsync()
50 throw SMSMimeTypeException(attachment.mimeType) in sendSMSAsync()
53 guard let url = URL(string: attachment.uri) else { in sendSMSAsync()
54 throw SMSUriException(attachment.uri) in sendSMSAsync()
61 typeIdentifier: attachment.mimeType, in sendSMSAsync()
62 filename: attachment.filename) in sendSMSAsync()
64 throw SMSFileException(attachment.uri) in sendSMSAsync()
/expo/ios/versioned/sdk47/ExpoMailComposer/
H A DMailComposingSession.swift33 for attachment in attachments { in compose()
34 guard fileSystem.permissions(forURI: attachment).contains(.read) else { in compose()
35 throw FileSystemReadPermissionException(attachment.path) in compose()
37 let mimeType = findMimeType(forAttachment: attachment) in compose()
38 let fileData = try Data(contentsOf: attachment) in compose()
39 …composeController.addAttachmentData(fileData, mimeType: mimeType, fileName: attachment.lastPathCom… in compose()
76 private func findMimeType(forAttachment attachment: URL) -> String { in findMimeType()
77 … = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, attachment.pathExtension as… in findMimeType()
/expo/ios/versioned/sdk48/ExpoMailComposer/
H A DMailComposingSession.swift33 for attachment in attachments { in compose()
34 guard fileSystem.permissions(forURI: attachment).contains(.read) else { in compose()
35 throw FileSystemReadPermissionException(attachment.path) in compose()
37 let mimeType = findMimeType(forAttachment: attachment) in compose()
38 let fileData = try Data(contentsOf: attachment) in compose()
39 …composeController.addAttachmentData(fileData, mimeType: mimeType, fileName: attachment.lastPathCom… in compose()
76 private func findMimeType(forAttachment attachment: URL) -> String { in findMimeType()
77 … = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, attachment.pathExtension as… in findMimeType()
/expo/packages/expo-mail-composer/ios/
H A DMailComposingSession.swift33 for attachment in attachments { in compose()
34 guard fileSystem.permissions(forURI: attachment).contains(.read) else { in compose()
35 throw FileSystemReadPermissionException(attachment.path) in compose()
37 let mimeType = findMimeType(forAttachment: attachment) in compose()
38 let fileData = try Data(contentsOf: attachment) in compose()
39 …composeController.addAttachmentData(fileData, mimeType: mimeType, fileName: attachment.lastPathCom… in compose()
76 private func findMimeType(forAttachment attachment: URL) -> String { in findMimeType()
77 … = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, attachment.pathExtension as… in findMimeType()
/expo/packages/expo-sms/build/
H A DSMS.types.js.map1attachment that is included with a SMS message.\n */\nexport type SMSAttachment = {\n /**\n * T…
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/sms/
H A DSMSModule.kt43 private fun getAttachment(attachment: Map<String?, String?>?, key: String): String? { in getAttachment()
44 return attachment?.get(key) in getAttachment()
71 val attachment = attachments[0] as? Map<String?, String?> in sendSMSAsync() constant
72 putExtra(Intent.EXTRA_STREAM, Uri.parse(getAttachment(attachment, "uri"))) in sendSMSAsync()
73 type = getAttachment(attachment, "mimeType") in sendSMSAsync()
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/components/text/
H A DABI48_0_0ParagraphShadowNode.cpp68 for (auto const &attachment : content.attachments) { in getContentWithMeasuredAttachments() local
70 traitCast<LayoutableShadowNode const *>(attachment.shadowNode); in getContentWithMeasuredAttachments()
87 fragments[attachment.fragmentIndex].parentShadowView.layoutMetrics = in getContentWithMeasuredAttachments()
189 auto &attachment = content.attachments.at(i); in layout() local
191 if (traitCast<LayoutableShadowNode const *>(attachment.shadowNode) == in layout()
200 attachment.shadowNode->getFamily(), in layout()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/components/text/
H A DABI47_0_0ParagraphShadowNode.cpp69 for (auto const &attachment : content.attachments) { in getContentWithMeasuredAttachments() local
71 traitCast<LayoutableShadowNode const *>(attachment.shadowNode); in getContentWithMeasuredAttachments()
88 fragments[attachment.fragmentIndex].parentShadowView.layoutMetrics = in getContentWithMeasuredAttachments()
190 auto &attachment = content.attachments.at(i); in layout() local
192 if (!traitCast<LayoutableShadowNode const *>(attachment.shadowNode)) { in layout()
200 attachment.shadowNode->getFamily(), in layout()
/expo/packages/expo-notifications/ios/EXNotifications/Building/
H A DEXNotificationBuilder.m44 UNNotificationAttachment *attachment = [self attachmentFromRequest:obj];
45 if (attachment) {
46 [attachments addObject:attachment];
58 …UNNotificationAttachment *attachment = [UNNotificationAttachment attachmentWithIdentifier:identifi…
60 …EXLogWarn(@"[expo-notifications] Could not have created a notification attachment out of request: …
63 return attachment;
/expo/ios/versioned/sdk47/EXNotifications/EXNotifications/Building/
H A DABI47_0_0EXNotificationBuilder.m44 UNNotificationAttachment *attachment = [self attachmentFromRequest:obj];
45 if (attachment) {
46 [attachments addObject:attachment];
58 …UNNotificationAttachment *attachment = [UNNotificationAttachment attachmentWithIdentifier:identifi…
60 …ABI47_0_0EXLogWarn(@"[expo-notifications] Could not have created a notification attachment out of …
63 return attachment;
/expo/ios/versioned/sdk48/EXNotifications/EXNotifications/Building/
H A DABI48_0_0EXNotificationBuilder.m44 UNNotificationAttachment *attachment = [self attachmentFromRequest:obj];
45 if (attachment) {
46 [attachments addObject:attachment];
58 …UNNotificationAttachment *attachment = [UNNotificationAttachment attachmentWithIdentifier:identifi…
60 …ABI48_0_0EXLogWarn(@"[expo-notifications] Could not have created a notification attachment out of …
63 return attachment;
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/components/text/
H A DABI49_0_0ParagraphShadowNode.cpp69 for (auto const &attachment : content.attachments) { in getContentWithMeasuredAttachments() local
71 traitCast<LayoutableShadowNode const *>(attachment.shadowNode); in getContentWithMeasuredAttachments()
88 fragments[attachment.fragmentIndex].parentShadowView.layoutMetrics = in getContentWithMeasuredAttachments()
187 auto &attachment = content.attachments.at(i); in layout() local
189 if (traitCast<LayoutableShadowNode const *>(attachment.shadowNode) == in layout()
198 attachment.shadowNode->getFamily(), in layout()
/expo/ios/versioned/sdk49/EXNotifications/EXNotifications/Building/
H A DABI49_0_0EXNotificationBuilder.m44 UNNotificationAttachment *attachment = [self attachmentFromRequest:obj];
45 if (attachment) {
46 [attachments addObject:attachment];
58 …UNNotificationAttachment *attachment = [UNNotificationAttachment attachmentWithIdentifier:identifi…
60 …ABI49_0_0EXLogWarn(@"[expo-notifications] Could not have created a notification attachment out of …
63 return attachment;
/expo/packages/expo-sms/android/src/main/java/expo/modules/sms/
H A DSMSModule.kt56 val attachment = options.attachments[0] in <lambda>() constant
57 putExtra(Intent.EXTRA_STREAM, Uri.parse(attachment.uri)) in <lambda>()
58 type = attachment.mimeType in <lambda>()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/sms/
H A DSMSModule.kt56 val attachment = options.attachments[0] in <lambda>() constant
57 putExtra(Intent.EXTRA_STREAM, Uri.parse(attachment.uri)) in <lambda>()
58 type = attachment.mimeType in <lambda>()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/sms/
H A DSMSModule.kt56 val attachment = options.attachments[0] in <lambda>() constant
57 putExtra(Intent.EXTRA_STREAM, Uri.parse(attachment.uri)) in <lambda>()
58 type = attachment.mimeType in <lambda>()
/expo/ios/versioned/sdk47/EXSMS/EXSMS/
H A DABI47_0_0EXSMSModule.m71 for (NSDictionary* attachment in attachments) {
72 NSString *mimeType = attachment[@"mimeType"];
82 NSString *uri = attachment[@"uri"];
83 NSString *filename = attachment[@"filename"];
/expo/packages/expo-notifications/ios/EXNotifications/Notifications/
H A DEXNotificationSerializer.m100 for (UNNotificationAttachment *attachment in attachments) {
101 [serializedAttachments addObject:[self serializedNotificationAttachment:attachment]];
106 + (NSDictionary *)serializedNotificationAttachment:(UNNotificationAttachment *)attachment
109 serializedAttachment[@"identifier"] = attachment.identifier ?: [NSNull null];
110 serializedAttachment[@"url"] = attachment.URL.absoluteString ?: [NSNull null];
111 serializedAttachment[@"type"] = attachment.type ?: [NSNull null];
/expo/ios/versioned/sdk47/EXNotifications/EXNotifications/Notifications/
H A DABI47_0_0EXNotificationSerializer.m100 for (UNNotificationAttachment *attachment in attachments) {
101 [serializedAttachments addObject:[self serializedNotificationAttachment:attachment]];
106 + (NSDictionary *)serializedNotificationAttachment:(UNNotificationAttachment *)attachment
109 serializedAttachment[@"identifier"] = attachment.identifier ?: [NSNull null];
110 serializedAttachment[@"url"] = attachment.URL.absoluteString ?: [NSNull null];
111 serializedAttachment[@"type"] = attachment.type ?: [NSNull null];
/expo/ios/versioned/sdk48/EXNotifications/EXNotifications/Notifications/
H A DABI48_0_0EXNotificationSerializer.m100 for (UNNotificationAttachment *attachment in attachments) {
101 [serializedAttachments addObject:[self serializedNotificationAttachment:attachment]];
106 + (NSDictionary *)serializedNotificationAttachment:(UNNotificationAttachment *)attachment
109 serializedAttachment[@"identifier"] = attachment.identifier ?: [NSNull null];
110 serializedAttachment[@"url"] = attachment.URL.absoluteString ?: [NSNull null];
111 serializedAttachment[@"type"] = attachment.type ?: [NSNull null];
/expo/ios/versioned/sdk49/EXNotifications/EXNotifications/Notifications/
H A DABI49_0_0EXNotificationSerializer.m100 for (UNNotificationAttachment *attachment in attachments) {
101 [serializedAttachments addObject:[self serializedNotificationAttachment:attachment]];
106 + (NSDictionary *)serializedNotificationAttachment:(UNNotificationAttachment *)attachment
109 serializedAttachment[@"identifier"] = attachment.identifier ?: [NSNull null];
110 serializedAttachment[@"url"] = attachment.URL.absoluteString ?: [NSNull null];
111 serializedAttachment[@"type"] = attachment.type ?: [NSNull null];
/expo/packages/expo-file-system/ios/
H A DNetworkingHelpers.swift6 func findMimeType(forAttachment attachment: URL) -> String { in findMimeType()
7 … = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, attachment.pathExtension as… in findMimeType()

123