react-native-attachment-kit 1.0.8 → 1.0.9
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/README.md +40 -2
- package/android/CMakeLists.txt +3 -0
- package/android/build.gradle +11 -2
- package/android/src/main/libs/rnattachmentkit-release.aar +0 -0
- package/android/src/newarch/java/com/rnattachmentkit/RNAttachmentKitModule.kt +48 -2
- package/android/src/oldarch/java/com/rnattachmentkit/RNAttachmentKitModule.kt +48 -2
- package/ios/RNAttachmentKit.swift +133 -4
- package/ios/RNAttachmentKit.xcframework/Info.plist +5 -5
- package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Assets.car +0 -0
- package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.abi.json +727 -415
- package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.private.swiftinterface +12 -1
- package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.swiftinterface +12 -1
- package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/RNAttachmentKit +0 -0
- package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/_CodeSignature/CodeResources +12 -12
- package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/_CodeSignature/CodeSignature +0 -0
- package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.abi.json +727 -415
- package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +12 -1
- package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +12 -1
- package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.abi.json +727 -415
- package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +12 -1
- package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +12 -1
- package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/RNAttachmentKit +0 -0
- package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/_CodeSignature/CodeResources +20 -20
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/types.ts +34 -1
|
@@ -47,9 +47,13 @@ import _SwiftConcurrencyShims
|
|
|
47
47
|
}
|
|
48
48
|
@_Concurrency.MainActor @preconcurrency public var onLocationSelected: ((RNAttachmentKit.AttachLocationResult) -> Swift.Void)?
|
|
49
49
|
@_Concurrency.MainActor @preconcurrency public var capturesLocationImage: Swift.Bool
|
|
50
|
-
@_Concurrency.MainActor @preconcurrency public var mediaType: Swift.String
|
|
50
|
+
@_Concurrency.MainActor @preconcurrency public var mediaType: Swift.String {
|
|
51
|
+
get
|
|
52
|
+
set
|
|
53
|
+
}
|
|
51
54
|
@_Concurrency.MainActor @preconcurrency public var maxVideoDurationSec: Swift.Double
|
|
52
55
|
@_Concurrency.MainActor @preconcurrency public var videoExportOptions: RNAttachmentKit.VideoExportOptions
|
|
56
|
+
@_Concurrency.MainActor @preconcurrency public var videoLockedByLicense: Swift.Bool
|
|
53
57
|
@_Concurrency.MainActor @preconcurrency public func releaseAfterReturn(discardPreparedVideos: Swift.Bool = true)
|
|
54
58
|
@_Concurrency.MainActor @preconcurrency public var onFilesSelected: (([RNAttachmentKit.AttachFileResult]) -> Swift.Void)?
|
|
55
59
|
@_Concurrency.MainActor @preconcurrency public var onFilesSelectedWithFailures: (([RNAttachmentKit.AttachFileResult], [RNAttachmentKit.AttachFileFailure]) -> Swift.Void)?
|
|
@@ -392,6 +396,13 @@ extension RNAttachmentKit.GalleryBaseViewController : UIKit.UIAdaptivePresentati
|
|
|
392
396
|
public func isValidLicense() -> Swift.Bool
|
|
393
397
|
@objc deinit
|
|
394
398
|
}
|
|
399
|
+
public enum LicenseGate {
|
|
400
|
+
public static var isLicensed: Swift.Bool {
|
|
401
|
+
get
|
|
402
|
+
}
|
|
403
|
+
public static let errorCode: Swift.String
|
|
404
|
+
public static let errorMessage: Swift.String
|
|
405
|
+
}
|
|
395
406
|
@_hasMissingDesignatedInitializers public class ViewerImageCache {
|
|
396
407
|
public static let shared: RNAttachmentKit.ViewerImageCache
|
|
397
408
|
public func hasCache(for url: Swift.String) -> Swift.Bool
|
|
Binary file
|
|
@@ -47,9 +47,13 @@ import _SwiftConcurrencyShims
|
|
|
47
47
|
}
|
|
48
48
|
@_Concurrency.MainActor @preconcurrency public var onLocationSelected: ((RNAttachmentKit.AttachLocationResult) -> Swift.Void)?
|
|
49
49
|
@_Concurrency.MainActor @preconcurrency public var capturesLocationImage: Swift.Bool
|
|
50
|
-
@_Concurrency.MainActor @preconcurrency public var mediaType: Swift.String
|
|
50
|
+
@_Concurrency.MainActor @preconcurrency public var mediaType: Swift.String {
|
|
51
|
+
get
|
|
52
|
+
set
|
|
53
|
+
}
|
|
51
54
|
@_Concurrency.MainActor @preconcurrency public var maxVideoDurationSec: Swift.Double
|
|
52
55
|
@_Concurrency.MainActor @preconcurrency public var videoExportOptions: RNAttachmentKit.VideoExportOptions
|
|
56
|
+
@_Concurrency.MainActor @preconcurrency public var videoLockedByLicense: Swift.Bool
|
|
53
57
|
@_Concurrency.MainActor @preconcurrency public func releaseAfterReturn(discardPreparedVideos: Swift.Bool = true)
|
|
54
58
|
@_Concurrency.MainActor @preconcurrency public var onFilesSelected: (([RNAttachmentKit.AttachFileResult]) -> Swift.Void)?
|
|
55
59
|
@_Concurrency.MainActor @preconcurrency public var onFilesSelectedWithFailures: (([RNAttachmentKit.AttachFileResult], [RNAttachmentKit.AttachFileFailure]) -> Swift.Void)?
|
|
@@ -392,6 +396,13 @@ extension RNAttachmentKit.GalleryBaseViewController : UIKit.UIAdaptivePresentati
|
|
|
392
396
|
public func isValidLicense() -> Swift.Bool
|
|
393
397
|
@objc deinit
|
|
394
398
|
}
|
|
399
|
+
public enum LicenseGate {
|
|
400
|
+
public static var isLicensed: Swift.Bool {
|
|
401
|
+
get
|
|
402
|
+
}
|
|
403
|
+
public static let errorCode: Swift.String
|
|
404
|
+
public static let errorMessage: Swift.String
|
|
405
|
+
}
|
|
395
406
|
@_hasMissingDesignatedInitializers public class ViewerImageCache {
|
|
396
407
|
public static let shared: RNAttachmentKit.ViewerImageCache
|
|
397
408
|
public func hasCache(for url: Swift.String) -> Swift.Bool
|