react-native-attachment-kit 1.0.0

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 (166) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +327 -0
  3. package/android/CMakeLists.txt +31 -0
  4. package/android/build.gradle +121 -0
  5. package/android/src/main/AndroidManifest.xml +2 -0
  6. package/android/src/main/libs/rnattachmentkit-release.aar +0 -0
  7. package/android/src/newarch/java/com/rnattachmentkit/RNAttachmentKitModule.kt +1159 -0
  8. package/android/src/newarch/java/com/rnattachmentkit/RNAttachmentKitPackage.kt +37 -0
  9. package/android/src/oldarch/java/com/rnattachmentkit/NativeRNAttachmentKitSpec.kt +19 -0
  10. package/android/src/oldarch/java/com/rnattachmentkit/RNAttachmentKitModule.kt +1142 -0
  11. package/android/src/oldarch/java/com/rnattachmentkit/RNAttachmentKitPackage.kt +19 -0
  12. package/ios/README.md +213 -0
  13. package/ios/RNAttachmentKit.m +132 -0
  14. package/ios/RNAttachmentKit.swift +1787 -0
  15. package/ios/RNAttachmentKit.xcframework/Info.plist +44 -0
  16. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Assets.car +0 -0
  17. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib +0 -0
  18. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Base.lproj/LaunchScreen.storyboardc/Info.plist +0 -0
  19. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib +0 -0
  20. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Headers/RNAttachmentKit-Swift.h +581 -0
  21. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Info.plist +0 -0
  22. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.abi.json +34376 -0
  23. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.private.swiftinterface +517 -0
  24. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  25. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios.swiftinterface +517 -0
  26. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Modules/module.modulemap +3 -0
  27. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/Pretendard-SemiBold.otf +0 -0
  28. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/RNAttachmentKit +0 -0
  29. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_crop_reflect~dark.webp +0 -0
  30. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_crop_reflect~light.webp +0 -0
  31. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_crop_rotate~dark.webp +0 -0
  32. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_crop_rotate~light.webp +0 -0
  33. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_delete~dark.webp +0 -0
  34. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_delete~light.webp +0 -0
  35. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_forward~dark.webp +0 -0
  36. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_forward~light.webp +0 -0
  37. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_reward~dark.webp +0 -0
  38. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_reward~light.webp +0 -0
  39. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_crop~dark.webp +0 -0
  40. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_crop~light.webp +0 -0
  41. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_drawing~dark.webp +0 -0
  42. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_drawing~light.webp +0 -0
  43. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_effect~dark.webp +0 -0
  44. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_effect~light.webp +0 -0
  45. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_emoji~dark.webp +0 -0
  46. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_emoji~light.webp +0 -0
  47. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_eraser~dark.webp +0 -0
  48. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_eraser~light.webp +0 -0
  49. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_mosaic~dark.webp +0 -0
  50. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_mosaic~light.webp +0 -0
  51. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_text~dark.webp +0 -0
  52. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/ToolbarIcons/ic_editor_text~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/CodeRequirements +0 -0
  55. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/_CodeSignature/CodeResources +498 -0
  56. package/ios/RNAttachmentKit.xcframework/ios-arm64/RNAttachmentKit.framework/_CodeSignature/CodeSignature +0 -0
  57. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Assets.car +0 -0
  58. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib +0 -0
  59. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Base.lproj/LaunchScreen.storyboardc/Info.plist +0 -0
  60. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib +0 -0
  61. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Headers/RNAttachmentKit-Swift.h +1158 -0
  62. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Info.plist +0 -0
  63. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.abi.json +34376 -0
  64. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +517 -0
  65. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  66. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +517 -0
  67. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.abi.json +34376 -0
  68. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +517 -0
  69. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  70. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/RNAttachmentKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +517 -0
  71. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Modules/module.modulemap +3 -0
  72. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/Pretendard-SemiBold.otf +0 -0
  73. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/RNAttachmentKit +0 -0
  74. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_crop_reflect~dark.webp +0 -0
  75. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_crop_reflect~light.webp +0 -0
  76. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_crop_rotate~dark.webp +0 -0
  77. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_crop_rotate~light.webp +0 -0
  78. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_delete~dark.webp +0 -0
  79. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_delete~light.webp +0 -0
  80. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_forward~dark.webp +0 -0
  81. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_forward~light.webp +0 -0
  82. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_reward~dark.webp +0 -0
  83. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_drawing_reward~light.webp +0 -0
  84. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_crop~dark.webp +0 -0
  85. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_crop~light.webp +0 -0
  86. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_drawing~dark.webp +0 -0
  87. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_drawing~light.webp +0 -0
  88. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_effect~dark.webp +0 -0
  89. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_effect~light.webp +0 -0
  90. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_emoji~dark.webp +0 -0
  91. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_emoji~light.webp +0 -0
  92. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_eraser~dark.webp +0 -0
  93. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_eraser~light.webp +0 -0
  94. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_mosaic~dark.webp +0 -0
  95. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_mosaic~light.webp +0 -0
  96. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_text~dark.webp +0 -0
  97. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/ToolbarIcons/ic_editor_text~light.webp +0 -0
  98. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/_CodeSignature/CodeDirectory +0 -0
  99. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/_CodeSignature/CodeRequirements +0 -0
  100. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/_CodeSignature/CodeResources +553 -0
  101. package/ios/RNAttachmentKit.xcframework/ios-arm64_x86_64-simulator/RNAttachmentKit.framework/_CodeSignature/CodeSignature +0 -0
  102. package/ios/RNAttachmentKitAssets/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
  103. package/ios/RNAttachmentKitAssets/Assets.xcassets/AppIcon.appiconset/Contents.json +13 -0
  104. package/ios/RNAttachmentKitAssets/Assets.xcassets/Contents.json +6 -0
  105. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_back.imageset/Contents.json +24 -0
  106. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_back.imageset/ic_back_dark.png +0 -0
  107. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_back.imageset/ic_back_normal.png +0 -0
  108. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_drawing_delete.imageset/Contents.json +56 -0
  109. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_drawing_delete.imageset/delete_dark.webp +0 -0
  110. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_drawing_delete.imageset/delete_normal.webp +0 -0
  111. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_drawing_forward.imageset/Contents.json +56 -0
  112. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_drawing_forward.imageset/forward_dark.webp +0 -0
  113. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_drawing_forward.imageset/forward_normal.webp +0 -0
  114. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_drawing_reward.imageset/Contents.json +56 -0
  115. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_drawing_reward.imageset/reward_dark.webp +0 -0
  116. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_drawing_reward.imageset/reward_normal.webp +0 -0
  117. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_editor_crop.imageset/Contents.json +52 -0
  118. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_editor_crop.imageset/crop_dark.webp +0 -0
  119. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_editor_crop.imageset/crop_normal.webp +0 -0
  120. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_editor_drawing.imageset/Contents.json +52 -0
  121. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_editor_drawing.imageset/drawing_dark.webp +0 -0
  122. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_editor_drawing.imageset/drawing_normal.webp +0 -0
  123. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_editor_effect.imageset/Contents.json +52 -0
  124. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_editor_effect.imageset/effect_dark.webp +0 -0
  125. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_editor_effect.imageset/effect_normal.webp +0 -0
  126. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_editor_emoji.imageset/Contents.json +52 -0
  127. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_editor_emoji.imageset/emoji_dark.webp +0 -0
  128. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_editor_emoji.imageset/emoji_normal.webp +0 -0
  129. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_editor_text.imageset/Contents.json +52 -0
  130. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_editor_text.imageset/text_dark.webp +0 -0
  131. package/ios/RNAttachmentKitAssets/Assets.xcassets/ic_editor_text.imageset/text_norml.webp +0 -0
  132. package/ios/RNAttachmentKitAssets/Assets.xcassets/rotate_icon.imageset/Contents.json +32 -0
  133. package/ios/RNAttachmentKitAssets/Assets.xcassets/rotate_icon.imageset/rotate_dark.png +0 -0
  134. package/ios/RNAttachmentKitAssets/Assets.xcassets/rotate_icon.imageset/rotate_normal.png +0 -0
  135. package/ios/RNAttachmentKitAssets/Fonts/Pretendard-SemiBold.otf +0 -0
  136. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_crop_reflect~dark.webp +0 -0
  137. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_crop_reflect~light.webp +0 -0
  138. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_crop_rotate~dark.webp +0 -0
  139. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_crop_rotate~light.webp +0 -0
  140. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_drawing_delete~dark.webp +0 -0
  141. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_drawing_delete~light.webp +0 -0
  142. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_drawing_forward~dark.webp +0 -0
  143. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_drawing_forward~light.webp +0 -0
  144. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_drawing_reward~dark.webp +0 -0
  145. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_drawing_reward~light.webp +0 -0
  146. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_crop~dark.webp +0 -0
  147. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_crop~light.webp +0 -0
  148. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_drawing~dark.webp +0 -0
  149. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_drawing~light.webp +0 -0
  150. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_effect~dark.webp +0 -0
  151. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_effect~light.webp +0 -0
  152. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_emoji~dark.webp +0 -0
  153. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_emoji~light.webp +0 -0
  154. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_eraser~dark.webp +0 -0
  155. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_eraser~light.webp +0 -0
  156. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_mosaic~dark.webp +0 -0
  157. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_mosaic~light.webp +0 -0
  158. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_text~dark.webp +0 -0
  159. package/ios/RNAttachmentKitAssets/ToolbarIcons/ic_editor_text~light.webp +0 -0
  160. package/package.json +68 -0
  161. package/react-native-attachment-kit.podspec +51 -0
  162. package/react-native.config.js +14 -0
  163. package/src/NativeAttachmentKit.ts +26 -0
  164. package/src/index.d.ts +56 -0
  165. package/src/index.ts +359 -0
  166. package/src/types.ts +317 -0
@@ -0,0 +1,56 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "filename" : "forward_normal.webp",
5
+ "idiom" : "universal",
6
+ "scale" : "1x"
7
+ },
8
+ {
9
+ "appearances" : [
10
+ {
11
+ "appearance" : "luminosity",
12
+ "value" : "dark"
13
+ }
14
+ ],
15
+ "filename" : "forward_dark.webp",
16
+ "idiom" : "universal",
17
+ "scale" : "1x"
18
+ },
19
+ {
20
+ "filename" : "forward_normal.webp",
21
+ "idiom" : "universal",
22
+ "scale" : "2x"
23
+ },
24
+ {
25
+ "appearances" : [
26
+ {
27
+ "appearance" : "luminosity",
28
+ "value" : "dark"
29
+ }
30
+ ],
31
+ "filename" : "forward_dark.webp",
32
+ "idiom" : "universal",
33
+ "scale" : "2x"
34
+ },
35
+ {
36
+ "filename" : "forward_normal.webp",
37
+ "idiom" : "universal",
38
+ "scale" : "3x"
39
+ },
40
+ {
41
+ "appearances" : [
42
+ {
43
+ "appearance" : "luminosity",
44
+ "value" : "dark"
45
+ }
46
+ ],
47
+ "filename" : "forward_dark.webp",
48
+ "idiom" : "universal",
49
+ "scale" : "3x"
50
+ }
51
+ ],
52
+ "info" : {
53
+ "author" : "xcode",
54
+ "version" : 1
55
+ }
56
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "filename" : "reward_normal.webp",
5
+ "idiom" : "universal",
6
+ "scale" : "1x"
7
+ },
8
+ {
9
+ "appearances" : [
10
+ {
11
+ "appearance" : "luminosity",
12
+ "value" : "dark"
13
+ }
14
+ ],
15
+ "filename" : "reward_dark.webp",
16
+ "idiom" : "universal",
17
+ "scale" : "1x"
18
+ },
19
+ {
20
+ "filename" : "reward_normal.webp",
21
+ "idiom" : "universal",
22
+ "scale" : "2x"
23
+ },
24
+ {
25
+ "appearances" : [
26
+ {
27
+ "appearance" : "luminosity",
28
+ "value" : "dark"
29
+ }
30
+ ],
31
+ "filename" : "reward_dark.webp",
32
+ "idiom" : "universal",
33
+ "scale" : "2x"
34
+ },
35
+ {
36
+ "filename" : "reward_normal.webp",
37
+ "idiom" : "universal",
38
+ "scale" : "3x"
39
+ },
40
+ {
41
+ "appearances" : [
42
+ {
43
+ "appearance" : "luminosity",
44
+ "value" : "dark"
45
+ }
46
+ ],
47
+ "filename" : "reward_dark.webp",
48
+ "idiom" : "universal",
49
+ "scale" : "3x"
50
+ }
51
+ ],
52
+ "info" : {
53
+ "author" : "xcode",
54
+ "version" : 1
55
+ }
56
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "idiom" : "universal",
5
+ "scale" : "1x"
6
+ },
7
+ {
8
+ "appearances" : [
9
+ {
10
+ "appearance" : "luminosity",
11
+ "value" : "dark"
12
+ }
13
+ ],
14
+ "idiom" : "universal",
15
+ "scale" : "1x"
16
+ },
17
+ {
18
+ "idiom" : "universal",
19
+ "scale" : "2x"
20
+ },
21
+ {
22
+ "appearances" : [
23
+ {
24
+ "appearance" : "luminosity",
25
+ "value" : "dark"
26
+ }
27
+ ],
28
+ "idiom" : "universal",
29
+ "scale" : "2x"
30
+ },
31
+ {
32
+ "filename" : "crop_normal.webp",
33
+ "idiom" : "universal",
34
+ "scale" : "3x"
35
+ },
36
+ {
37
+ "appearances" : [
38
+ {
39
+ "appearance" : "luminosity",
40
+ "value" : "dark"
41
+ }
42
+ ],
43
+ "filename" : "crop_dark.webp",
44
+ "idiom" : "universal",
45
+ "scale" : "3x"
46
+ }
47
+ ],
48
+ "info" : {
49
+ "author" : "xcode",
50
+ "version" : 1
51
+ }
52
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "idiom" : "universal",
5
+ "scale" : "1x"
6
+ },
7
+ {
8
+ "appearances" : [
9
+ {
10
+ "appearance" : "luminosity",
11
+ "value" : "dark"
12
+ }
13
+ ],
14
+ "idiom" : "universal",
15
+ "scale" : "1x"
16
+ },
17
+ {
18
+ "idiom" : "universal",
19
+ "scale" : "2x"
20
+ },
21
+ {
22
+ "appearances" : [
23
+ {
24
+ "appearance" : "luminosity",
25
+ "value" : "dark"
26
+ }
27
+ ],
28
+ "idiom" : "universal",
29
+ "scale" : "2x"
30
+ },
31
+ {
32
+ "filename" : "drawing_normal.webp",
33
+ "idiom" : "universal",
34
+ "scale" : "3x"
35
+ },
36
+ {
37
+ "appearances" : [
38
+ {
39
+ "appearance" : "luminosity",
40
+ "value" : "dark"
41
+ }
42
+ ],
43
+ "filename" : "drawing_dark.webp",
44
+ "idiom" : "universal",
45
+ "scale" : "3x"
46
+ }
47
+ ],
48
+ "info" : {
49
+ "author" : "xcode",
50
+ "version" : 1
51
+ }
52
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "idiom" : "universal",
5
+ "scale" : "1x"
6
+ },
7
+ {
8
+ "appearances" : [
9
+ {
10
+ "appearance" : "luminosity",
11
+ "value" : "dark"
12
+ }
13
+ ],
14
+ "idiom" : "universal",
15
+ "scale" : "1x"
16
+ },
17
+ {
18
+ "idiom" : "universal",
19
+ "scale" : "2x"
20
+ },
21
+ {
22
+ "appearances" : [
23
+ {
24
+ "appearance" : "luminosity",
25
+ "value" : "dark"
26
+ }
27
+ ],
28
+ "idiom" : "universal",
29
+ "scale" : "2x"
30
+ },
31
+ {
32
+ "filename" : "effect_normal.webp",
33
+ "idiom" : "universal",
34
+ "scale" : "3x"
35
+ },
36
+ {
37
+ "appearances" : [
38
+ {
39
+ "appearance" : "luminosity",
40
+ "value" : "dark"
41
+ }
42
+ ],
43
+ "filename" : "effect_dark.webp",
44
+ "idiom" : "universal",
45
+ "scale" : "3x"
46
+ }
47
+ ],
48
+ "info" : {
49
+ "author" : "xcode",
50
+ "version" : 1
51
+ }
52
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "idiom" : "universal",
5
+ "scale" : "1x"
6
+ },
7
+ {
8
+ "appearances" : [
9
+ {
10
+ "appearance" : "luminosity",
11
+ "value" : "dark"
12
+ }
13
+ ],
14
+ "idiom" : "universal",
15
+ "scale" : "1x"
16
+ },
17
+ {
18
+ "idiom" : "universal",
19
+ "scale" : "2x"
20
+ },
21
+ {
22
+ "appearances" : [
23
+ {
24
+ "appearance" : "luminosity",
25
+ "value" : "dark"
26
+ }
27
+ ],
28
+ "idiom" : "universal",
29
+ "scale" : "2x"
30
+ },
31
+ {
32
+ "filename" : "emoji_normal.webp",
33
+ "idiom" : "universal",
34
+ "scale" : "3x"
35
+ },
36
+ {
37
+ "appearances" : [
38
+ {
39
+ "appearance" : "luminosity",
40
+ "value" : "dark"
41
+ }
42
+ ],
43
+ "filename" : "emoji_dark.webp",
44
+ "idiom" : "universal",
45
+ "scale" : "3x"
46
+ }
47
+ ],
48
+ "info" : {
49
+ "author" : "xcode",
50
+ "version" : 1
51
+ }
52
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "idiom" : "universal",
5
+ "scale" : "1x"
6
+ },
7
+ {
8
+ "appearances" : [
9
+ {
10
+ "appearance" : "luminosity",
11
+ "value" : "dark"
12
+ }
13
+ ],
14
+ "idiom" : "universal",
15
+ "scale" : "1x"
16
+ },
17
+ {
18
+ "idiom" : "universal",
19
+ "scale" : "2x"
20
+ },
21
+ {
22
+ "appearances" : [
23
+ {
24
+ "appearance" : "luminosity",
25
+ "value" : "dark"
26
+ }
27
+ ],
28
+ "idiom" : "universal",
29
+ "scale" : "2x"
30
+ },
31
+ {
32
+ "filename" : "text_norml.webp",
33
+ "idiom" : "universal",
34
+ "scale" : "3x"
35
+ },
36
+ {
37
+ "appearances" : [
38
+ {
39
+ "appearance" : "luminosity",
40
+ "value" : "dark"
41
+ }
42
+ ],
43
+ "filename" : "text_dark.webp",
44
+ "idiom" : "universal",
45
+ "scale" : "3x"
46
+ }
47
+ ],
48
+ "info" : {
49
+ "author" : "xcode",
50
+ "version" : 1
51
+ }
52
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "idiom" : "universal",
5
+ "filename" : "rotate_normal.png",
6
+ "appearances" : [
7
+ {
8
+ "appearance" : "luminosity",
9
+ "value" : "light"
10
+ }
11
+ ]
12
+ },
13
+ {
14
+ "idiom" : "universal",
15
+ "filename" : "rotate_dark.png",
16
+ "appearances" : [
17
+ {
18
+ "appearance" : "luminosity",
19
+ "value" : "dark"
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "idiom" : "universal",
25
+ "filename" : "rotate_normal.png"
26
+ }
27
+ ],
28
+ "info" : {
29
+ "version" : 1,
30
+ "author" : "xcode"
31
+ }
32
+ }
package/package.json ADDED
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "react-native-attachment-kit",
3
+ "version": "1.0.0",
4
+ "description": "Native attachment kit for React Native — gallery picker, editor, image viewer and media gallery (Turbo Module)",
5
+ "main": "src/index.ts",
6
+ "types": "src/index.ts",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1",
9
+ "typescript": "tsc --noEmit",
10
+ "lint": "eslint \"**/*.{js,ts,tsx}\"",
11
+ "example": "yarn --cwd ../RNAttachmentKitApp"
12
+ },
13
+ "keywords": [
14
+ "react-native",
15
+ "ios",
16
+ "android",
17
+ "attachment",
18
+ "image-picker",
19
+ "gallery",
20
+ "photo-picker",
21
+ "media-gallery",
22
+ "image-viewer",
23
+ "image-editor",
24
+ "turbo-module",
25
+ "new-architecture"
26
+ ],
27
+ "homepage": "https://github.com/Usomnia/react-native-attachment-kit",
28
+ "author": "Mike",
29
+ "license": "MIT",
30
+ "peerDependencies": {
31
+ "react": "*",
32
+ "react-native": "*"
33
+ },
34
+ "devDependencies": {
35
+ "@types/react": "^18.0.0",
36
+ "@types/react-native": "^0.72.0",
37
+ "react": "19.2.3",
38
+ "react-native": "0.84.1",
39
+ "typescript": "^5.0.0"
40
+ },
41
+ "files": [
42
+ "src",
43
+ "ios/RNAttachmentKit.xcframework",
44
+ "ios/RNAttachmentKit.m",
45
+ "ios/RNAttachmentKit.swift",
46
+ "ios/RNAttachmentKitAssets",
47
+ "android/src",
48
+ "android/build.gradle",
49
+ "android/CMakeLists.txt",
50
+ "android/proguard-rules.pro",
51
+ "react-native-attachment-kit.podspec",
52
+ "README.md",
53
+ "CHANGELOG.md",
54
+ "react-native.config.js"
55
+ ],
56
+ "codegenConfig": {
57
+ "name": "RNAttachmentKitSpec",
58
+ "type": "modules",
59
+ "jsSrcsDir": "src",
60
+ "android": {
61
+ "javaPackageName": "com.rnattachmentkit"
62
+ }
63
+ },
64
+ "repository": {
65
+ "type": "git",
66
+ "url": "https://github.com/Usomnia/react-native-attachment-kit.git"
67
+ }
68
+ }
@@ -0,0 +1,51 @@
1
+ require "json"
2
+
3
+ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
+
5
+ Pod::Spec.new do |s|
6
+ s.name = "react-native-attachment-kit"
7
+ s.version = package["version"]
8
+ s.summary = package["description"]
9
+ s.homepage = package["homepage"] || package["repository"]["url"] || "https://github.com/Usomnia/react-native-attachment-kit"
10
+ s.license = package["license"]
11
+ s.authors = package["author"]
12
+
13
+ s.platforms = { :ios => "15.1" }
14
+ s.source = { :git => package["repository"]["url"], :tag => "v#{s.version}" }
15
+
16
+ s.source_files = "ios/*.{h,m,mm,swift}"
17
+ s.swift_version = "5.0"
18
+
19
+ # Assets bundle
20
+ s.resource_bundles = {
21
+ 'RNAttachmentKitAssets' => [
22
+ 'ios/RNAttachmentKitAssets/Assets.xcassets',
23
+ 'ios/RNAttachmentKitAssets/ToolbarIcons/*',
24
+ 'ios/RNAttachmentKitAssets/Fonts/*'
25
+ ]
26
+ }
27
+
28
+ s.vendored_frameworks = "ios/RNAttachmentKit.xcframework"
29
+ s.frameworks = "MapKit", "CoreLocation", "UniformTypeIdentifiers" # 첨부 메뉴 > 위치·파일 탭
30
+
31
+ # s.dependency "SDWebImageWebPCoder"
32
+
33
+ if respond_to?(:install_modules_dependencies, true)
34
+ install_modules_dependencies(s)
35
+ else
36
+ s.dependency "React-Core"
37
+ # New Architecture (Fabric) 지원
38
+ if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
39
+ s.compiler_flags = "-DRCT_NEW_ARCH_ENABLED=1"
40
+ s.pod_target_xcconfig = {
41
+ "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
42
+ "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
43
+ }
44
+ s.dependency "React-Codegen"
45
+ s.dependency "RCT-Folly"
46
+ s.dependency "RCTRequired"
47
+ s.dependency "RCTTypeSafety"
48
+ s.dependency "ReactCommon/turbomodule/core"
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,14 @@
1
+ module.exports = {
2
+ dependency: {
3
+ platforms: {
4
+ android: {
5
+ sourceDir: './android',
6
+ packageImportPath: 'import com.rnattachmentkit.RNAttachmentKitPackage;',
7
+ packageInstance: 'new RNAttachmentKitPackage()',
8
+ cmakeListsPath: 'build/generated/source/codegen/jni/CMakeLists.txt',
9
+ libraryName: 'RNAttachmentKitSpec',
10
+ },
11
+ ios: {},
12
+ },
13
+ },
14
+ };