react-native-attachment-kit 1.0.1 → 1.0.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.
Files changed (145) hide show
  1. package/CHANGELOG.md +116 -0
  2. package/README.md +356 -213
  3. package/android/build.gradle +3 -0
  4. package/android/src/main/libs/rnattachmentkit-release.aar +0 -0
  5. package/android/src/newarch/java/com/rnattachmentkit/RNAttachmentKitModule.kt +308 -10
  6. package/android/src/oldarch/java/com/rnattachmentkit/RNAttachmentKitModule.kt +311 -9
  7. package/ios/RNAttachmentKit.m +44 -0
  8. package/ios/RNAttachmentKit.swift +307 -23
  9. package/ios/RNAttachmentKit.xcframework/Info.plist +5 -5
  10. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Assets.car +0 -0
  11. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Headers/RNAttachmentKit-Swift.h +30 -0
  12. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.abi.json +20349 -13021
  13. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.private.swiftinterface +118 -1
  14. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  15. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.swiftinterface +118 -1
  16. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/RNAttachmentKit +0 -0
  17. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_crop_reflect~dark.webp +0 -0
  18. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_crop_reflect~light.webp +0 -0
  19. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_crop_rotate~dark.webp +0 -0
  20. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_crop_rotate~light.webp +0 -0
  21. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_delete~dark.webp +0 -0
  22. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_delete~light.webp +0 -0
  23. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_forward~dark.webp +0 -0
  24. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_forward~light.webp +0 -0
  25. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_reward~dark.webp +0 -0
  26. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_reward~light.webp +0 -0
  27. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_back~dark.webp +0 -0
  28. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_back~light.webp +0 -0
  29. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_blur~dark.webp +0 -0
  30. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_blur~light.webp +0 -0
  31. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_check_small~dark.webp +0 -0
  32. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_check_small~light.webp +0 -0
  33. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_check~dark.webp +0 -0
  34. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_check~light.webp +0 -0
  35. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_close~dark.webp +0 -0
  36. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_close~light.webp +0 -0
  37. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_crop~dark.webp +0 -0
  38. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_crop~light.webp +0 -0
  39. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_drawing~dark.webp +0 -0
  40. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_drawing~light.webp +0 -0
  41. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_effect~dark.webp +0 -0
  42. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_effect~light.webp +0 -0
  43. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_emoji~dark.webp +0 -0
  44. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_emoji~light.webp +0 -0
  45. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_eraser~dark.webp +0 -0
  46. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_eraser~light.webp +0 -0
  47. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_mosaic~dark.webp +0 -0
  48. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_mosaic~light.webp +0 -0
  49. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_text~dark.webp +0 -0
  50. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_text~light.webp +0 -0
  51. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_text_add~dark.webp +0 -0
  52. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_text_add~light.webp +0 -0
  53. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/_CodeSignature/CodeDirectory +0 -0
  54. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/_CodeSignature/CodeResources +194 -62
  55. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/_CodeSignature/CodeSignature +0 -0
  56. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Assets.car +0 -0
  57. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Headers/RNAttachmentKit-Swift.h +60 -0
  58. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.abi.json +20349 -13021
  59. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +118 -1
  60. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  61. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +118 -1
  62. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.abi.json +20349 -13021
  63. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +118 -1
  64. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  65. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +118 -1
  66. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/RNAttachmentKit +0 -0
  67. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_crop_reflect~dark.webp +0 -0
  68. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_crop_reflect~light.webp +0 -0
  69. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_crop_rotate~dark.webp +0 -0
  70. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_crop_rotate~light.webp +0 -0
  71. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_delete~dark.webp +0 -0
  72. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_delete~light.webp +0 -0
  73. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_forward~dark.webp +0 -0
  74. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_forward~light.webp +0 -0
  75. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_reward~dark.webp +0 -0
  76. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_reward~light.webp +0 -0
  77. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_back~dark.webp +0 -0
  78. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_back~light.webp +0 -0
  79. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_blur~dark.webp +0 -0
  80. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_blur~light.webp +0 -0
  81. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_check_small~dark.webp +0 -0
  82. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_check_small~light.webp +0 -0
  83. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_check~dark.webp +0 -0
  84. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_check~light.webp +0 -0
  85. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_close~dark.webp +0 -0
  86. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_close~light.webp +0 -0
  87. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_crop~dark.webp +0 -0
  88. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_crop~light.webp +0 -0
  89. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_drawing~dark.webp +0 -0
  90. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_drawing~light.webp +0 -0
  91. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_effect~dark.webp +0 -0
  92. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_effect~light.webp +0 -0
  93. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_emoji~dark.webp +0 -0
  94. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_emoji~light.webp +0 -0
  95. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_eraser~dark.webp +0 -0
  96. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_eraser~light.webp +0 -0
  97. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_mosaic~dark.webp +0 -0
  98. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_mosaic~light.webp +0 -0
  99. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_text~dark.webp +0 -0
  100. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_text~light.webp +0 -0
  101. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_text_add~dark.webp +0 -0
  102. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_text_add~light.webp +0 -0
  103. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/_CodeSignature/CodeDirectory +0 -0
  104. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/_CodeSignature/CodeResources +204 -72
  105. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_crop_reflect~dark.webp +0 -0
  106. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_crop_reflect~light.webp +0 -0
  107. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_crop_rotate~dark.webp +0 -0
  108. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_crop_rotate~light.webp +0 -0
  109. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_drawing_delete~dark.webp +0 -0
  110. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_drawing_delete~light.webp +0 -0
  111. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_drawing_forward~dark.webp +0 -0
  112. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_drawing_forward~light.webp +0 -0
  113. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_drawing_reward~dark.webp +0 -0
  114. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_drawing_reward~light.webp +0 -0
  115. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_back~dark.webp +0 -0
  116. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_back~light.webp +0 -0
  117. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_blur~dark.webp +0 -0
  118. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_blur~light.webp +0 -0
  119. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_check_small~dark.webp +0 -0
  120. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_check_small~light.webp +0 -0
  121. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_check~dark.webp +0 -0
  122. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_check~light.webp +0 -0
  123. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_close~dark.webp +0 -0
  124. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_close~light.webp +0 -0
  125. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_crop~dark.webp +0 -0
  126. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_crop~light.webp +0 -0
  127. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_drawing~dark.webp +0 -0
  128. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_drawing~light.webp +0 -0
  129. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_effect~dark.webp +0 -0
  130. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_effect~light.webp +0 -0
  131. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_emoji~dark.webp +0 -0
  132. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_emoji~light.webp +0 -0
  133. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_eraser~dark.webp +0 -0
  134. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_eraser~light.webp +0 -0
  135. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_mosaic~dark.webp +0 -0
  136. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_mosaic~light.webp +0 -0
  137. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_text~dark.webp +0 -0
  138. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_text~light.webp +0 -0
  139. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_text_add~dark.webp +0 -0
  140. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_text_add~light.webp +0 -0
  141. package/package.json +1 -1
  142. package/src/NativeAttachmentKit.ts +10 -0
  143. package/src/index.d.ts +5 -56
  144. package/src/index.ts +188 -35
  145. package/src/types.ts +207 -11
@@ -43,7 +43,10 @@ import _SwiftConcurrencyShims
43
43
  get
44
44
  }
45
45
  @_Concurrency.MainActor @preconcurrency public var onLocationSelected: ((RNAttachmentKit.AttachLocationResult) -> Swift.Void)?
46
+ @_Concurrency.MainActor @preconcurrency public var capturesLocationImage: Swift.Bool
47
+ @_Concurrency.MainActor @preconcurrency public func releaseAfterReturn()
46
48
  @_Concurrency.MainActor @preconcurrency public var onFilesSelected: (([RNAttachmentKit.AttachFileResult]) -> Swift.Void)?
49
+ @_Concurrency.MainActor @preconcurrency public var onFilesSelectedWithFailures: (([RNAttachmentKit.AttachFileResult], [RNAttachmentKit.AttachFileFailure]) -> Swift.Void)?
47
50
  @_Concurrency.MainActor @preconcurrency public var allowsMultipleFiles: Swift.Bool
48
51
  @_Concurrency.MainActor @preconcurrency @objc dynamic public init()
49
52
  @_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
@@ -184,6 +187,17 @@ public struct AttachLocationResult {
184
187
  public let title: Swift.String?
185
188
  public let address: Swift.String?
186
189
  public let isCurrentLocation: Swift.Bool
190
+ public var imageUri: Swift.String?
191
+ public var imagePath: Swift.String?
192
+ public var imageWidth: Swift.Int?
193
+ public var imageHeight: Swift.Int?
194
+ public var currentLatitude: Swift.Double?
195
+ public var currentLongitude: Swift.Double?
196
+ public var currentAccuracy: Swift.Double?
197
+ public var includesMyLocation: Swift.Bool
198
+ public var markerType: Swift.String
199
+ public var placeCategory: Swift.String?
200
+ public var imageSpanMeters: Swift.Double?
187
201
  public var dictionary: [Swift.String : Any] {
188
202
  get
189
203
  }
@@ -197,6 +211,16 @@ public struct AttachFileResult {
197
211
  get
198
212
  }
199
213
  }
214
+ public struct AttachFileFailure {
215
+ public let name: Swift.String
216
+ public let error: Swift.String
217
+ public var dictionary: [Swift.String : Any] {
218
+ get
219
+ }
220
+ }
221
+ public enum TempFileCleaner {
222
+ public static func cleanupStaleTempFiles(now: Foundation.Date = Date())
223
+ }
200
224
  public struct FilterState {
201
225
  public var filterId: Swift.String
202
226
  public var intensity: CoreFoundation.CGFloat
@@ -358,9 +382,9 @@ extension RNAttachmentKit.GalleryBaseViewController : UIKit.UIAdaptivePresentati
358
382
  public func hasCache(for url: Swift.String) -> Swift.Bool
359
383
  public func getMemoryImage(for url: Swift.String) -> UIKit.UIImage?
360
384
  public func getDiskImageSynchronously(for url: Swift.String) -> UIKit.UIImage?
385
+ @objc deinit
361
386
  public func setMemoryImage(_ image: UIKit.UIImage, for url: Swift.String)
362
387
  public func saveImage(_ image: UIKit.UIImage, for url: Swift.String)
363
- @objc deinit
364
388
  }
365
389
  @objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency public class RemoteImageViewerViewController : UIKit.UIViewController {
366
390
  @_Concurrency.MainActor @preconcurrency public var onPageChanged: ((Swift.Int) -> Swift.Void)?
@@ -625,6 +649,99 @@ extension RNAttachmentKit.MediaGalleryViewController : UIKit.UICollectionViewDat
625
649
  @_Concurrency.MainActor @preconcurrency @objc override dynamic public init()
626
650
  @objc deinit
627
651
  }
652
+ @objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency final public class MapViewerViewController : UIKit.UIViewController {
653
+ @_Concurrency.MainActor @preconcurrency final public let coordinate: _LocationEssentials.CLLocationCoordinate2D
654
+ @_Concurrency.MainActor @preconcurrency final public let placeTitle: Swift.String?
655
+ @_Concurrency.MainActor @preconcurrency final public var address: Swift.String? {
656
+ get
657
+ }
658
+ @_Concurrency.MainActor @preconcurrency final public let markerType: Swift.String?
659
+ @_Concurrency.MainActor @preconcurrency final public let placeCategory: Swift.String?
660
+ @_Concurrency.MainActor @preconcurrency final public let accentColor: UIKit.UIColor
661
+ @_Concurrency.MainActor @preconcurrency final public let languageCode: Swift.String
662
+ @_Concurrency.MainActor @preconcurrency final public var onClosed: (() -> Swift.Void)?
663
+ @_Concurrency.MainActor @preconcurrency final public var showsDirections: Swift.Bool
664
+ @_Concurrency.MainActor @preconcurrency final public var spanMeters: Swift.Double?
665
+ @_Concurrency.MainActor @preconcurrency final public var sourceRect: CoreFoundation.CGRect?
666
+ @_Concurrency.MainActor @preconcurrency final public var sourceImage: UIKit.UIImage?
667
+ @_Concurrency.MainActor @preconcurrency final public var sourceImageIsMarkerless: Swift.Bool
668
+ @_Concurrency.MainActor @preconcurrency final public var sourceCornerRadius: CoreFoundation.CGFloat
669
+ @_Concurrency.MainActor @preconcurrency final public var sourceRectProvider: (() -> CoreFoundation.CGRect?)?
670
+ @_Concurrency.MainActor @preconcurrency final public var addressLanguageCode: Swift.String?
671
+ @_Concurrency.MainActor @preconcurrency public init(latitude: Swift.Double, longitude: Swift.Double, title: Swift.String? = nil, address: Swift.String? = nil, markerType: Swift.String? = nil, placeCategory: Swift.String? = nil, accentColor: UIKit.UIColor = UIColor(red: 1, green: 0.42, blue: 0.21, alpha: 1), languageCode: Swift.String = "en")
672
+ @_Concurrency.MainActor @preconcurrency @objc override final public func viewDidLoad()
673
+ @_Concurrency.MainActor @preconcurrency @objc override final public func viewDidLayoutSubviews()
674
+ @_Concurrency.MainActor @preconcurrency @objc override final public var preferredStatusBarStyle: UIKit.UIStatusBarStyle {
675
+ @objc get
676
+ }
677
+ @_Concurrency.MainActor @preconcurrency @objc override final public func viewWillAppear(_ animated: Swift.Bool)
678
+ @_Concurrency.MainActor @preconcurrency @objc override final public func viewDidAppear(_ animated: Swift.Bool)
679
+ @objc deinit
680
+ }
681
+ extension RNAttachmentKit.MapViewerViewController : MapKit.MKMapViewDelegate {
682
+ @_Concurrency.MainActor @preconcurrency @objc final public func mapViewDidFinishRenderingMap(_ mapView: MapKit.MKMapView, fullyRendered: Swift.Bool)
683
+ @_Concurrency.MainActor @preconcurrency @objc final public func mapView(_ mapView: MapKit.MKMapView, viewFor annotation: any MapKit.MKAnnotation) -> MapKit.MKAnnotationView?
684
+ @_Concurrency.MainActor @preconcurrency @objc final public func mapView(_ mapView: MapKit.MKMapView, didSelect view: MapKit.MKAnnotationView)
685
+ }
686
+ extension RNAttachmentKit.MapViewerViewController : CoreLocation.CLLocationManagerDelegate {
687
+ @_Concurrency.MainActor @preconcurrency @objc final public func locationManagerDidChangeAuthorization(_ manager: CoreLocation.CLLocationManager)
688
+ @_Concurrency.MainActor @preconcurrency @objc final public func locationManager(_ manager: CoreLocation.CLLocationManager, didUpdateLocations locations: [_LocationEssentials.CLLocation])
689
+ @_Concurrency.MainActor @preconcurrency @objc final public func locationManager(_ manager: CoreLocation.CLLocationManager, didFailWithError error: any Swift.Error)
690
+ }
691
+ public struct LocationThumbnailRequest {
692
+ public var latitude: Swift.Double
693
+ public var longitude: Swift.Double
694
+ public var size: CoreFoundation.CGSize
695
+ public var scale: CoreFoundation.CGFloat
696
+ public var isDark: Swift.Bool
697
+ public var markerType: Swift.String?
698
+ public var placeCategory: Swift.String?
699
+ public var spanMeters: Swift.Double?
700
+ public var accentColor: UIKit.UIColor
701
+ public var myLocation: _LocationEssentials.CLLocationCoordinate2D?
702
+ public var maxPixelWidth: CoreFoundation.CGFloat
703
+ public var maxPixelHeight: CoreFoundation.CGFloat
704
+ public init(latitude: Swift.Double, longitude: Swift.Double, size: CoreFoundation.CGSize, scale: CoreFoundation.CGFloat, isDark: Swift.Bool, markerType: Swift.String?, placeCategory: Swift.String?, spanMeters: Swift.Double?, accentColor: UIKit.UIColor, myLocation: _LocationEssentials.CLLocationCoordinate2D?)
705
+ }
706
+ public enum LocationThumbnailError : Swift.Error {
707
+ case failed(Swift.String)
708
+ }
709
+ public enum LocationThumbnailRenderer {
710
+ public typealias Completion = (Swift.Result<[Swift.String : Any], any Swift.Error>) -> Swift.Void
711
+ public static let defaultMaxPixel: CoreFoundation.CGFloat
712
+ public static let markerWidthFraction: CoreFoundation.CGFloat
713
+ public static func markerlessFile(for path: Swift.String) -> Swift.String?
714
+ public static func render(_ req: RNAttachmentKit.LocationThumbnailRequest, completion: @escaping RNAttachmentKit.LocationThumbnailRenderer.Completion)
715
+ public static func height(forWidth w: CoreFoundation.CGFloat, aspect: Swift.String?) -> CoreFoundation.CGFloat?
716
+ public static func clearCache()
717
+ }
718
+ public struct ReverseGeocodeResult {
719
+ public let address: Swift.String?
720
+ public let shortAddress: Swift.String?
721
+ public let cached: Swift.Bool
722
+ public var dictionary: [Swift.String : Any] {
723
+ get
724
+ }
725
+ }
726
+ public struct ReverseGeocodeError : Swift.Error {
727
+ public let code: Swift.String
728
+ public let message: Swift.String
729
+ }
730
+ @_hasMissingDesignatedInitializers final public class ReverseGeocoder {
731
+ public static let shared: RNAttachmentKit.ReverseGeocoder
732
+ public static let maxEntries: Swift.Int
733
+ public static let trimTo: Swift.Int
734
+ public static let timeout: Swift.Double
735
+ public typealias Completion = (Swift.Result<RNAttachmentKit.ReverseGeocodeResult, RNAttachmentKit.ReverseGeocodeError>) -> Swift.Void
736
+ public static var cacheDirectory: Foundation.URL {
737
+ get
738
+ }
739
+ public static func cacheKey(latitude: Swift.Double, longitude: Swift.Double, languageCode: Swift.String) -> Swift.String
740
+ final public func reverseGeocode(latitude: Swift.Double, longitude: Swift.Double, languageCode: Swift.String, completion: @escaping RNAttachmentKit.ReverseGeocoder.Completion)
741
+ final public func address(latitude: Swift.Double, longitude: Swift.Double, languageCode: Swift.String, completion: @escaping (Swift.String?) -> Swift.Void)
742
+ final public func clearCache(completion: (() -> Swift.Void)? = nil)
743
+ @objc deinit
744
+ }
628
745
  extension RNAttachmentKit.AttachMenuTab : Swift.Equatable {}
629
746
  extension RNAttachmentKit.AttachMenuTab : Swift.Hashable {}
630
747
  extension RNAttachmentKit.AttachMenuTab : Swift.RawRepresentable {}
@@ -43,7 +43,10 @@ import _SwiftConcurrencyShims
43
43
  get
44
44
  }
45
45
  @_Concurrency.MainActor @preconcurrency public var onLocationSelected: ((RNAttachmentKit.AttachLocationResult) -> Swift.Void)?
46
+ @_Concurrency.MainActor @preconcurrency public var capturesLocationImage: Swift.Bool
47
+ @_Concurrency.MainActor @preconcurrency public func releaseAfterReturn()
46
48
  @_Concurrency.MainActor @preconcurrency public var onFilesSelected: (([RNAttachmentKit.AttachFileResult]) -> Swift.Void)?
49
+ @_Concurrency.MainActor @preconcurrency public var onFilesSelectedWithFailures: (([RNAttachmentKit.AttachFileResult], [RNAttachmentKit.AttachFileFailure]) -> Swift.Void)?
47
50
  @_Concurrency.MainActor @preconcurrency public var allowsMultipleFiles: Swift.Bool
48
51
  @_Concurrency.MainActor @preconcurrency @objc dynamic public init()
49
52
  @_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
@@ -184,6 +187,17 @@ public struct AttachLocationResult {
184
187
  public let title: Swift.String?
185
188
  public let address: Swift.String?
186
189
  public let isCurrentLocation: Swift.Bool
190
+ public var imageUri: Swift.String?
191
+ public var imagePath: Swift.String?
192
+ public var imageWidth: Swift.Int?
193
+ public var imageHeight: Swift.Int?
194
+ public var currentLatitude: Swift.Double?
195
+ public var currentLongitude: Swift.Double?
196
+ public var currentAccuracy: Swift.Double?
197
+ public var includesMyLocation: Swift.Bool
198
+ public var markerType: Swift.String
199
+ public var placeCategory: Swift.String?
200
+ public var imageSpanMeters: Swift.Double?
187
201
  public var dictionary: [Swift.String : Any] {
188
202
  get
189
203
  }
@@ -197,6 +211,16 @@ public struct AttachFileResult {
197
211
  get
198
212
  }
199
213
  }
214
+ public struct AttachFileFailure {
215
+ public let name: Swift.String
216
+ public let error: Swift.String
217
+ public var dictionary: [Swift.String : Any] {
218
+ get
219
+ }
220
+ }
221
+ public enum TempFileCleaner {
222
+ public static func cleanupStaleTempFiles(now: Foundation.Date = Date())
223
+ }
200
224
  public struct FilterState {
201
225
  public var filterId: Swift.String
202
226
  public var intensity: CoreFoundation.CGFloat
@@ -358,9 +382,9 @@ extension RNAttachmentKit.GalleryBaseViewController : UIKit.UIAdaptivePresentati
358
382
  public func hasCache(for url: Swift.String) -> Swift.Bool
359
383
  public func getMemoryImage(for url: Swift.String) -> UIKit.UIImage?
360
384
  public func getDiskImageSynchronously(for url: Swift.String) -> UIKit.UIImage?
385
+ @objc deinit
361
386
  public func setMemoryImage(_ image: UIKit.UIImage, for url: Swift.String)
362
387
  public func saveImage(_ image: UIKit.UIImage, for url: Swift.String)
363
- @objc deinit
364
388
  }
365
389
  @objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency public class RemoteImageViewerViewController : UIKit.UIViewController {
366
390
  @_Concurrency.MainActor @preconcurrency public var onPageChanged: ((Swift.Int) -> Swift.Void)?
@@ -625,6 +649,99 @@ extension RNAttachmentKit.MediaGalleryViewController : UIKit.UICollectionViewDat
625
649
  @_Concurrency.MainActor @preconcurrency @objc override dynamic public init()
626
650
  @objc deinit
627
651
  }
652
+ @objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency final public class MapViewerViewController : UIKit.UIViewController {
653
+ @_Concurrency.MainActor @preconcurrency final public let coordinate: _LocationEssentials.CLLocationCoordinate2D
654
+ @_Concurrency.MainActor @preconcurrency final public let placeTitle: Swift.String?
655
+ @_Concurrency.MainActor @preconcurrency final public var address: Swift.String? {
656
+ get
657
+ }
658
+ @_Concurrency.MainActor @preconcurrency final public let markerType: Swift.String?
659
+ @_Concurrency.MainActor @preconcurrency final public let placeCategory: Swift.String?
660
+ @_Concurrency.MainActor @preconcurrency final public let accentColor: UIKit.UIColor
661
+ @_Concurrency.MainActor @preconcurrency final public let languageCode: Swift.String
662
+ @_Concurrency.MainActor @preconcurrency final public var onClosed: (() -> Swift.Void)?
663
+ @_Concurrency.MainActor @preconcurrency final public var showsDirections: Swift.Bool
664
+ @_Concurrency.MainActor @preconcurrency final public var spanMeters: Swift.Double?
665
+ @_Concurrency.MainActor @preconcurrency final public var sourceRect: CoreFoundation.CGRect?
666
+ @_Concurrency.MainActor @preconcurrency final public var sourceImage: UIKit.UIImage?
667
+ @_Concurrency.MainActor @preconcurrency final public var sourceImageIsMarkerless: Swift.Bool
668
+ @_Concurrency.MainActor @preconcurrency final public var sourceCornerRadius: CoreFoundation.CGFloat
669
+ @_Concurrency.MainActor @preconcurrency final public var sourceRectProvider: (() -> CoreFoundation.CGRect?)?
670
+ @_Concurrency.MainActor @preconcurrency final public var addressLanguageCode: Swift.String?
671
+ @_Concurrency.MainActor @preconcurrency public init(latitude: Swift.Double, longitude: Swift.Double, title: Swift.String? = nil, address: Swift.String? = nil, markerType: Swift.String? = nil, placeCategory: Swift.String? = nil, accentColor: UIKit.UIColor = UIColor(red: 1, green: 0.42, blue: 0.21, alpha: 1), languageCode: Swift.String = "en")
672
+ @_Concurrency.MainActor @preconcurrency @objc override final public func viewDidLoad()
673
+ @_Concurrency.MainActor @preconcurrency @objc override final public func viewDidLayoutSubviews()
674
+ @_Concurrency.MainActor @preconcurrency @objc override final public var preferredStatusBarStyle: UIKit.UIStatusBarStyle {
675
+ @objc get
676
+ }
677
+ @_Concurrency.MainActor @preconcurrency @objc override final public func viewWillAppear(_ animated: Swift.Bool)
678
+ @_Concurrency.MainActor @preconcurrency @objc override final public func viewDidAppear(_ animated: Swift.Bool)
679
+ @objc deinit
680
+ }
681
+ extension RNAttachmentKit.MapViewerViewController : MapKit.MKMapViewDelegate {
682
+ @_Concurrency.MainActor @preconcurrency @objc final public func mapViewDidFinishRenderingMap(_ mapView: MapKit.MKMapView, fullyRendered: Swift.Bool)
683
+ @_Concurrency.MainActor @preconcurrency @objc final public func mapView(_ mapView: MapKit.MKMapView, viewFor annotation: any MapKit.MKAnnotation) -> MapKit.MKAnnotationView?
684
+ @_Concurrency.MainActor @preconcurrency @objc final public func mapView(_ mapView: MapKit.MKMapView, didSelect view: MapKit.MKAnnotationView)
685
+ }
686
+ extension RNAttachmentKit.MapViewerViewController : CoreLocation.CLLocationManagerDelegate {
687
+ @_Concurrency.MainActor @preconcurrency @objc final public func locationManagerDidChangeAuthorization(_ manager: CoreLocation.CLLocationManager)
688
+ @_Concurrency.MainActor @preconcurrency @objc final public func locationManager(_ manager: CoreLocation.CLLocationManager, didUpdateLocations locations: [_LocationEssentials.CLLocation])
689
+ @_Concurrency.MainActor @preconcurrency @objc final public func locationManager(_ manager: CoreLocation.CLLocationManager, didFailWithError error: any Swift.Error)
690
+ }
691
+ public struct LocationThumbnailRequest {
692
+ public var latitude: Swift.Double
693
+ public var longitude: Swift.Double
694
+ public var size: CoreFoundation.CGSize
695
+ public var scale: CoreFoundation.CGFloat
696
+ public var isDark: Swift.Bool
697
+ public var markerType: Swift.String?
698
+ public var placeCategory: Swift.String?
699
+ public var spanMeters: Swift.Double?
700
+ public var accentColor: UIKit.UIColor
701
+ public var myLocation: _LocationEssentials.CLLocationCoordinate2D?
702
+ public var maxPixelWidth: CoreFoundation.CGFloat
703
+ public var maxPixelHeight: CoreFoundation.CGFloat
704
+ public init(latitude: Swift.Double, longitude: Swift.Double, size: CoreFoundation.CGSize, scale: CoreFoundation.CGFloat, isDark: Swift.Bool, markerType: Swift.String?, placeCategory: Swift.String?, spanMeters: Swift.Double?, accentColor: UIKit.UIColor, myLocation: _LocationEssentials.CLLocationCoordinate2D?)
705
+ }
706
+ public enum LocationThumbnailError : Swift.Error {
707
+ case failed(Swift.String)
708
+ }
709
+ public enum LocationThumbnailRenderer {
710
+ public typealias Completion = (Swift.Result<[Swift.String : Any], any Swift.Error>) -> Swift.Void
711
+ public static let defaultMaxPixel: CoreFoundation.CGFloat
712
+ public static let markerWidthFraction: CoreFoundation.CGFloat
713
+ public static func markerlessFile(for path: Swift.String) -> Swift.String?
714
+ public static func render(_ req: RNAttachmentKit.LocationThumbnailRequest, completion: @escaping RNAttachmentKit.LocationThumbnailRenderer.Completion)
715
+ public static func height(forWidth w: CoreFoundation.CGFloat, aspect: Swift.String?) -> CoreFoundation.CGFloat?
716
+ public static func clearCache()
717
+ }
718
+ public struct ReverseGeocodeResult {
719
+ public let address: Swift.String?
720
+ public let shortAddress: Swift.String?
721
+ public let cached: Swift.Bool
722
+ public var dictionary: [Swift.String : Any] {
723
+ get
724
+ }
725
+ }
726
+ public struct ReverseGeocodeError : Swift.Error {
727
+ public let code: Swift.String
728
+ public let message: Swift.String
729
+ }
730
+ @_hasMissingDesignatedInitializers final public class ReverseGeocoder {
731
+ public static let shared: RNAttachmentKit.ReverseGeocoder
732
+ public static let maxEntries: Swift.Int
733
+ public static let trimTo: Swift.Int
734
+ public static let timeout: Swift.Double
735
+ public typealias Completion = (Swift.Result<RNAttachmentKit.ReverseGeocodeResult, RNAttachmentKit.ReverseGeocodeError>) -> Swift.Void
736
+ public static var cacheDirectory: Foundation.URL {
737
+ get
738
+ }
739
+ public static func cacheKey(latitude: Swift.Double, longitude: Swift.Double, languageCode: Swift.String) -> Swift.String
740
+ final public func reverseGeocode(latitude: Swift.Double, longitude: Swift.Double, languageCode: Swift.String, completion: @escaping RNAttachmentKit.ReverseGeocoder.Completion)
741
+ final public func address(latitude: Swift.Double, longitude: Swift.Double, languageCode: Swift.String, completion: @escaping (Swift.String?) -> Swift.Void)
742
+ final public func clearCache(completion: (() -> Swift.Void)? = nil)
743
+ @objc deinit
744
+ }
628
745
  extension RNAttachmentKit.AttachMenuTab : Swift.Equatable {}
629
746
  extension RNAttachmentKit.AttachMenuTab : Swift.Hashable {}
630
747
  extension RNAttachmentKit.AttachMenuTab : Swift.RawRepresentable {}