react-native-attachment-kit 1.0.10 → 1.0.11

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 (28) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/android/src/main/libs/rnattachmentkit-release.aar +0 -0
  3. package/android/src/newarch/java/com/rnattachmentkit/RNAttachmentKitModule.kt +12 -1
  4. package/android/src/oldarch/java/com/rnattachmentkit/RNAttachmentKitModule.kt +12 -1
  5. package/ios/RNAttachmentKit.swift +2 -0
  6. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Assets.car +0 -0
  7. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.abi.json +179 -83
  8. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.private.swiftinterface +1 -0
  9. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  10. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.swiftinterface +1 -0
  11. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/RNAttachmentKit +0 -0
  12. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/_CodeSignature/CodeDirectory +0 -0
  13. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/_CodeSignature/CodeResources +12 -12
  14. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/_CodeSignature/CodeSignature +0 -0
  15. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Assets.car +0 -0
  16. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.abi.json +179 -83
  17. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1 -0
  18. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  19. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1 -0
  20. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.abi.json +179 -83
  21. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1 -0
  22. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  23. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +1 -0
  24. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/RNAttachmentKit +0 -0
  25. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/_CodeSignature/CodeDirectory +0 -0
  26. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/_CodeSignature/CodeResources +22 -22
  27. package/package.json +1 -1
  28. package/src/types.ts +6 -0
@@ -432,6 +432,7 @@ public enum LicenseGate {
432
432
  @_Concurrency.MainActor @preconcurrency public var placeholderImages: [Swift.String]?
433
433
  @_Concurrency.MainActor @preconcurrency public var cacheFiles: [Swift.String]?
434
434
  @_Concurrency.MainActor @preconcurrency public var showActionButtons: Swift.Bool
435
+ @_Concurrency.MainActor @preconcurrency public var showDeleteButton: Swift.Bool
435
436
  @_Concurrency.MainActor @preconcurrency public var saveAllText: Swift.String?
436
437
  @_Concurrency.MainActor @preconcurrency public var saveOneText: Swift.String?
437
438
  @_Concurrency.MainActor @preconcurrency public var shareAllText: Swift.String?
@@ -432,6 +432,7 @@ public enum LicenseGate {
432
432
  @_Concurrency.MainActor @preconcurrency public var placeholderImages: [Swift.String]?
433
433
  @_Concurrency.MainActor @preconcurrency public var cacheFiles: [Swift.String]?
434
434
  @_Concurrency.MainActor @preconcurrency public var showActionButtons: Swift.Bool
435
+ @_Concurrency.MainActor @preconcurrency public var showDeleteButton: Swift.Bool
435
436
  @_Concurrency.MainActor @preconcurrency public var saveAllText: Swift.String?
436
437
  @_Concurrency.MainActor @preconcurrency public var saveOneText: Swift.String?
437
438
  @_Concurrency.MainActor @preconcurrency public var shareAllText: Swift.String?
@@ -6,7 +6,7 @@
6
6
  <dict>
7
7
  <key>Assets.car</key>
8
8
  <data>
9
- Q4WslrRyFGZTzQsyECtW25oGXkw=
9
+ MRss66st77g0KhHxCBbJQfKPil4=
10
10
  </data>
11
11
  <key>Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib</key>
12
12
  <data>
@@ -30,43 +30,43 @@
30
30
  </data>
31
31
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
32
32
  <data>
33
- BLIgJjDwzx6zDOS+DrYK3gRfGv8=
33
+ UQP//9GYNSlP+Win3Baai3W8ZNc=
34
34
  </data>
35
35
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
36
36
  <data>
37
- g6l2enKv1dyh0eRboORWKiGWCbA=
37
+ qb2DciOw5ubqZnpTEirCfcEbzIk=
38
38
  </data>
39
39
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
40
40
  <data>
41
- RcRMpG6AedlReIVIQJtTD1nwUAI=
41
+ 9LJQpjSBc5HCUrHilqL6LYTihaQ=
42
42
  </data>
43
43
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
44
44
  <data>
45
- g6l2enKv1dyh0eRboORWKiGWCbA=
45
+ qb2DciOw5ubqZnpTEirCfcEbzIk=
46
46
  </data>
47
47
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
48
48
  <data>
49
- ms7tv+VAGY+mvIE34bNdwb+r8Qs=
49
+ T4m98Ynhm160d9U7XEoXRKqHb20=
50
50
  </data>
51
51
  <key>Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
52
52
  <data>
53
- BLIgJjDwzx6zDOS+DrYK3gRfGv8=
53
+ UQP//9GYNSlP+Win3Baai3W8ZNc=
54
54
  </data>
55
55
  <key>Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
56
56
  <data>
57
- ccv5FkQs1uALtMkn1aAVPz7RDQY=
57
+ v7VYxOIHovwvVSqAYflrm3YtpH4=
58
58
  </data>
59
59
  <key>Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
60
60
  <data>
61
- vlvCOCbXyBLLMiP76IKT8kfD26Q=
61
+ kDCfROnVuNJGZPS4zohCxHmwcWs=
62
62
  </data>
63
63
  <key>Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
64
64
  <data>
65
- ccv5FkQs1uALtMkn1aAVPz7RDQY=
65
+ v7VYxOIHovwvVSqAYflrm3YtpH4=
66
66
  </data>
67
67
  <key>Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
68
68
  <data>
69
- /wKiW3Ac0Vn3HbDQJvdLgSlJseU=
69
+ tnUQ8x/DKfZWtOyE4U02uk2soPc=
70
70
  </data>
71
71
  <key>Modules/module.modulemap</key>
72
72
  <data>
@@ -227,7 +227,7 @@
227
227
  <dict>
228
228
  <key>hash2</key>
229
229
  <data>
230
- geng7yTEBfEgTf50zabLdmetI/prd9vrBgF8kV7XtOQ=
230
+ PN8SGeEYmroH8IKhC4cAPpqrFa8xoBCtF2CRXH0MgEA=
231
231
  </data>
232
232
  </dict>
233
233
  <key>Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib</key>
@@ -262,70 +262,70 @@
262
262
  <dict>
263
263
  <key>hash2</key>
264
264
  <data>
265
- 9w4w54/0fOCXqc6t1bpD9CbZMK5TZLtL1Thx1bgubNs=
265
+ nDdGtOInZTs6Py8XXpIdT/thwb4jQ+UVQHibONC3ubk=
266
266
  </data>
267
267
  </dict>
268
268
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
269
269
  <dict>
270
270
  <key>hash2</key>
271
271
  <data>
272
- WIkxYcgviEiCv2V7reTEHcQWPYUrg7k4pB/Q0oPG8MM=
272
+ DlsUyhqzCdQQAnpkEdjw5KtLqCSX1JftiAdiYLiPGiE=
273
273
  </data>
274
274
  </dict>
275
275
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
276
276
  <dict>
277
277
  <key>hash2</key>
278
278
  <data>
279
- u68u0TTXRiB7oN8Jflrsps4kN5OEwVMupe6IUvH5eqw=
279
+ +8hJwIgfUbGnN1QX2zvTGfWCrZj5EULWU5dBk2tyUmk=
280
280
  </data>
281
281
  </dict>
282
282
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
283
283
  <dict>
284
284
  <key>hash2</key>
285
285
  <data>
286
- WIkxYcgviEiCv2V7reTEHcQWPYUrg7k4pB/Q0oPG8MM=
286
+ DlsUyhqzCdQQAnpkEdjw5KtLqCSX1JftiAdiYLiPGiE=
287
287
  </data>
288
288
  </dict>
289
289
  <key>Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
290
290
  <dict>
291
291
  <key>hash2</key>
292
292
  <data>
293
- xHMw0DPkLmdBRO4FdJo7I7X5P4Pl4Gh+RzujREdkQ3Y=
293
+ 7ePchaMMtC9BGJEw5QnxFwn8RGur/kmu5JHugYwZbvU=
294
294
  </data>
295
295
  </dict>
296
296
  <key>Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
297
297
  <dict>
298
298
  <key>hash2</key>
299
299
  <data>
300
- 9w4w54/0fOCXqc6t1bpD9CbZMK5TZLtL1Thx1bgubNs=
300
+ nDdGtOInZTs6Py8XXpIdT/thwb4jQ+UVQHibONC3ubk=
301
301
  </data>
302
302
  </dict>
303
303
  <key>Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
304
304
  <dict>
305
305
  <key>hash2</key>
306
306
  <data>
307
- T9KyR08gS5Z4BdPO2QfnPYc4eEElG5ORNTLnzGejUV8=
307
+ tjtHI826hRQtBLXIrAxPNMaB8aIbRpdIXW31lACnm30=
308
308
  </data>
309
309
  </dict>
310
310
  <key>Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
311
311
  <dict>
312
312
  <key>hash2</key>
313
313
  <data>
314
- tLXcpDVSmYhV7qW8r+mkKTlxqC3+Jqzs6w5ZS5/k+Q8=
314
+ /4iEZEX59AptEja68ERpj5ASs3nTkpMpGURXUvGIGO4=
315
315
  </data>
316
316
  </dict>
317
317
  <key>Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
318
318
  <dict>
319
319
  <key>hash2</key>
320
320
  <data>
321
- T9KyR08gS5Z4BdPO2QfnPYc4eEElG5ORNTLnzGejUV8=
321
+ tjtHI826hRQtBLXIrAxPNMaB8aIbRpdIXW31lACnm30=
322
322
  </data>
323
323
  </dict>
324
324
  <key>Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
325
325
  <dict>
326
326
  <key>hash2</key>
327
327
  <data>
328
- qe0jBh6WukYWpNsf+rGvsekJ4I8kXyum1yBocJrnaH8=
328
+ LHDRX2YiRLT6OVCnWBSwtpu/tQzvX0h2qSkJzpnuoPw=
329
329
  </data>
330
330
  </dict>
331
331
  <key>Modules/module.modulemap</key>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-attachment-kit",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Native attachment kit for React Native — gallery picker, editor, image viewer and media gallery (Turbo Module)",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
package/src/types.ts CHANGED
@@ -449,6 +449,12 @@ export interface ViewerOptions {
449
449
  * 상단바에 저장/공유/삭제 아이콘 3개를 표시할지 여부. 기본값 true.
450
450
  */
451
451
  showActionButtons?: boolean
452
+ /**
453
+ * 상단바 삭제(휴지통) 아이콘만 따로 숨김. 기본값 true. onImageDeleted 로 실제 삭제를 처리하지 않는 화면
454
+ * (다른 사람 프로필 사진 등)에서는 false 로 — 눌러도 아무것도 지워지지 않는데 지울 수 있는 것처럼 보이지 않게.
455
+ * showActionButtons 가 false 면 이 값과 상관없이 숨김.
456
+ */
457
+ showDeleteButton?: boolean
452
458
  /** 여러 장(묶음사진)일 때 저장 액션시트에 쓰는 문구들 - 기본값은 한국어. */
453
459
  saveAllText?: string
454
460
  saveOneText?: string