@shopify/react-native-skia 2.0.7 → 2.1.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 (283) hide show
  1. package/android/CMakeLists.txt +20 -1
  2. package/cpp/api/JsiSkApi.h +3 -0
  3. package/cpp/api/JsiSkImageFilterFactory.h +478 -39
  4. package/cpp/api/JsiSkSkottie.h +590 -0
  5. package/cpp/api/JsiSkottieFactory.h +65 -0
  6. package/cpp/api/recorder/Command.h +1 -0
  7. package/cpp/api/recorder/Convertor.h +16 -0
  8. package/cpp/api/recorder/Drawings.h +23 -0
  9. package/cpp/api/recorder/JsiRecorder.h +6 -0
  10. package/cpp/api/recorder/RNRecorder.h +9 -0
  11. package/cpp/api/third_party/SkottieUtils.cpp +333 -0
  12. package/cpp/api/third_party/SkottieUtils.h +172 -0
  13. package/cpp/skia/modules/jsonreader/SkJSONReader.cpp +980 -0
  14. package/cpp/skia/modules/jsonreader/SkJSONReader.h +389 -0
  15. package/cpp/skia/modules/skottie/include/ExternalLayer.h +56 -0
  16. package/cpp/skia/modules/skottie/include/Skottie.h +313 -0
  17. package/cpp/skia/modules/skottie/include/SkottieProperty.h +190 -0
  18. package/cpp/skia/modules/skottie/include/SlotManager.h +113 -0
  19. package/cpp/skia/modules/skottie/include/TextShaper.h +200 -0
  20. package/cpp/skia/modules/skottie/src/SkottieValue.h +56 -0
  21. package/cpp/skia/modules/skottie/src/animator/Animator.h +89 -0
  22. package/cpp/skia/modules/skottie/src/text/Font.h +82 -0
  23. package/cpp/skia/modules/skottie/src/text/TextAdapter.h +155 -0
  24. package/cpp/skia/modules/skottie/src/text/TextAnimator.h +121 -0
  25. package/cpp/skia/modules/skottie/src/text/TextValue.h +28 -0
  26. package/cpp/skia/modules/sksg/include/SkSGClipEffect.h +61 -0
  27. package/cpp/skia/modules/sksg/include/SkSGColorFilter.h +135 -0
  28. package/cpp/skia/modules/sksg/include/SkSGDraw.h +57 -0
  29. package/cpp/skia/modules/sksg/include/SkSGEffectNode.h +50 -0
  30. package/cpp/skia/modules/sksg/include/SkSGGeometryEffect.h +181 -0
  31. package/cpp/skia/modules/sksg/include/SkSGGeometryNode.h +54 -0
  32. package/cpp/skia/modules/sksg/include/SkSGGradient.h +108 -0
  33. package/cpp/skia/modules/sksg/include/SkSGGroup.h +65 -0
  34. package/cpp/skia/modules/sksg/include/SkSGImage.h +59 -0
  35. package/cpp/skia/modules/sksg/include/SkSGInvalidationController.h +46 -0
  36. package/cpp/skia/modules/sksg/include/SkSGMaskEffect.h +65 -0
  37. package/cpp/skia/modules/sksg/include/SkSGMerge.h +74 -0
  38. package/cpp/skia/modules/sksg/include/SkSGNode.h +128 -0
  39. package/cpp/skia/modules/sksg/include/SkSGOpacityEffect.h +54 -0
  40. package/cpp/skia/modules/sksg/include/SkSGPaint.h +112 -0
  41. package/cpp/skia/modules/sksg/include/SkSGPath.h +68 -0
  42. package/cpp/skia/modules/sksg/include/SkSGPlane.h +47 -0
  43. package/cpp/skia/modules/sksg/include/SkSGRect.h +122 -0
  44. package/cpp/skia/modules/sksg/include/SkSGRenderEffect.h +283 -0
  45. package/cpp/skia/modules/sksg/include/SkSGRenderNode.h +157 -0
  46. package/cpp/skia/modules/sksg/include/SkSGScene.h +47 -0
  47. package/cpp/skia/modules/sksg/include/SkSGText.h +82 -0
  48. package/cpp/skia/modules/sksg/include/SkSGTransform.h +127 -0
  49. package/cpp/skia/src/base/SkArenaAlloc.h +371 -0
  50. package/lib/commonjs/dom/nodes/datatypes/Gradient.d.ts +15 -15
  51. package/lib/commonjs/dom/types/Drawings.d.ts +5 -1
  52. package/lib/commonjs/dom/types/Drawings.js.map +1 -1
  53. package/lib/commonjs/dom/types/NodeType.d.ts +2 -1
  54. package/lib/commonjs/dom/types/NodeType.js +2 -0
  55. package/lib/commonjs/dom/types/NodeType.js.map +1 -1
  56. package/lib/commonjs/renderer/__tests__/e2e/AdvancedImageFilters.spec.d.ts +1 -0
  57. package/lib/commonjs/renderer/__tests__/e2e/Camera.spec.d.ts +21 -0
  58. package/lib/commonjs/renderer/__tests__/e2e/LightingImageFilters.spec.d.ts +1 -0
  59. package/lib/commonjs/renderer/__tests__/e2e/Skottie.spec.d.ts +1 -0
  60. package/lib/commonjs/renderer/__tests__/setup.d.ts +5 -0
  61. package/lib/commonjs/renderer/components/Skottie.d.ts +4 -0
  62. package/lib/commonjs/renderer/components/Skottie.js +13 -0
  63. package/lib/commonjs/renderer/components/Skottie.js.map +1 -0
  64. package/lib/commonjs/renderer/components/index.d.ts +1 -0
  65. package/lib/commonjs/renderer/components/index.js +11 -0
  66. package/lib/commonjs/renderer/components/index.js.map +1 -1
  67. package/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.d.ts +252 -15
  68. package/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.js.map +1 -1
  69. package/lib/commonjs/skia/types/Matrix4.d.ts +11 -2
  70. package/lib/commonjs/skia/types/Matrix4.js +42 -1
  71. package/lib/commonjs/skia/types/Matrix4.js.map +1 -1
  72. package/lib/commonjs/skia/types/Recorder.d.ts +2 -1
  73. package/lib/commonjs/skia/types/Recorder.js.map +1 -1
  74. package/lib/commonjs/skia/types/Skia.d.ts +2 -0
  75. package/lib/commonjs/skia/types/Skia.js.map +1 -1
  76. package/lib/commonjs/skia/types/Skottie.d.ts +223 -0
  77. package/lib/commonjs/skia/types/Skottie.js +73 -0
  78. package/lib/commonjs/skia/types/Skottie.js.map +1 -0
  79. package/lib/commonjs/skia/types/index.d.ts +1 -0
  80. package/lib/commonjs/skia/types/index.js +11 -0
  81. package/lib/commonjs/skia/types/index.js.map +1 -1
  82. package/lib/commonjs/skia/web/JsiSkImageFilterFactory.d.ts +29 -12
  83. package/lib/commonjs/skia/web/JsiSkImageFilterFactory.js +88 -19
  84. package/lib/commonjs/skia/web/JsiSkImageFilterFactory.js.map +1 -1
  85. package/lib/commonjs/skia/web/JsiSkia.js +2 -0
  86. package/lib/commonjs/skia/web/JsiSkia.js.map +1 -1
  87. package/lib/commonjs/skia/web/JsiSkottieAnimation.d.ts +59 -0
  88. package/lib/commonjs/skia/web/JsiSkottieAnimation.js +243 -0
  89. package/lib/commonjs/skia/web/JsiSkottieAnimation.js.map +1 -0
  90. package/lib/commonjs/skia/web/JsiSkottieFactory.d.ts +9 -0
  91. package/lib/commonjs/skia/web/JsiSkottieFactory.js +26 -0
  92. package/lib/commonjs/skia/web/JsiSkottieFactory.js.map +1 -0
  93. package/lib/commonjs/sksg/Elements.d.ts +2 -1
  94. package/lib/commonjs/sksg/Elements.js.map +1 -1
  95. package/lib/commonjs/sksg/Recorder/Core.d.ts +4 -2
  96. package/lib/commonjs/sksg/Recorder/Core.js +1 -0
  97. package/lib/commonjs/sksg/Recorder/Core.js.map +1 -1
  98. package/lib/commonjs/sksg/Recorder/Player.js +2 -0
  99. package/lib/commonjs/sksg/Recorder/Player.js.map +1 -1
  100. package/lib/commonjs/sksg/Recorder/ReanimatedRecorder.d.ts +2 -1
  101. package/lib/commonjs/sksg/Recorder/ReanimatedRecorder.js +4 -0
  102. package/lib/commonjs/sksg/Recorder/ReanimatedRecorder.js.map +1 -1
  103. package/lib/commonjs/sksg/Recorder/Recorder.d.ts +2 -1
  104. package/lib/commonjs/sksg/Recorder/Recorder.js +6 -0
  105. package/lib/commonjs/sksg/Recorder/Recorder.js.map +1 -1
  106. package/lib/commonjs/sksg/Recorder/Visitor.js +3 -0
  107. package/lib/commonjs/sksg/Recorder/Visitor.js.map +1 -1
  108. package/lib/commonjs/sksg/Recorder/commands/Drawing.d.ts +2 -2
  109. package/lib/commonjs/sksg/Recorder/commands/Drawing.js +11 -4
  110. package/lib/commonjs/sksg/Recorder/commands/Drawing.js.map +1 -1
  111. package/lib/commonjs/sksg/Recorder/commands/ImageFilters.js +1 -1
  112. package/lib/commonjs/sksg/Recorder/commands/ImageFilters.js.map +1 -1
  113. package/lib/module/dom/nodes/datatypes/Gradient.d.ts +15 -15
  114. package/lib/module/dom/types/Drawings.d.ts +5 -1
  115. package/lib/module/dom/types/Drawings.js.map +1 -1
  116. package/lib/module/dom/types/NodeType.d.ts +2 -1
  117. package/lib/module/dom/types/NodeType.js +2 -0
  118. package/lib/module/dom/types/NodeType.js.map +1 -1
  119. package/lib/module/renderer/__tests__/e2e/AdvancedImageFilters.spec.d.ts +1 -0
  120. package/lib/module/renderer/__tests__/e2e/Camera.spec.d.ts +21 -0
  121. package/lib/module/renderer/__tests__/e2e/LightingImageFilters.spec.d.ts +1 -0
  122. package/lib/module/renderer/__tests__/e2e/Skottie.spec.d.ts +1 -0
  123. package/lib/module/renderer/__tests__/setup.d.ts +5 -0
  124. package/lib/module/renderer/components/Skottie.d.ts +4 -0
  125. package/lib/module/renderer/components/Skottie.js +5 -0
  126. package/lib/module/renderer/components/Skottie.js.map +1 -0
  127. package/lib/module/renderer/components/index.d.ts +1 -0
  128. package/lib/module/renderer/components/index.js +1 -0
  129. package/lib/module/renderer/components/index.js.map +1 -1
  130. package/lib/module/skia/types/ImageFilter/ImageFilterFactory.d.ts +252 -15
  131. package/lib/module/skia/types/ImageFilter/ImageFilterFactory.js.map +1 -1
  132. package/lib/module/skia/types/Matrix4.d.ts +11 -2
  133. package/lib/module/skia/types/Matrix4.js +40 -0
  134. package/lib/module/skia/types/Matrix4.js.map +1 -1
  135. package/lib/module/skia/types/Recorder.d.ts +2 -1
  136. package/lib/module/skia/types/Recorder.js.map +1 -1
  137. package/lib/module/skia/types/Skia.d.ts +2 -0
  138. package/lib/module/skia/types/Skia.js.map +1 -1
  139. package/lib/module/skia/types/Skottie.d.ts +223 -0
  140. package/lib/module/skia/types/Skottie.js +74 -0
  141. package/lib/module/skia/types/Skottie.js.map +1 -0
  142. package/lib/module/skia/types/index.d.ts +1 -0
  143. package/lib/module/skia/types/index.js +1 -0
  144. package/lib/module/skia/types/index.js.map +1 -1
  145. package/lib/module/skia/web/JsiSkImageFilterFactory.d.ts +29 -12
  146. package/lib/module/skia/web/JsiSkImageFilterFactory.js +88 -19
  147. package/lib/module/skia/web/JsiSkImageFilterFactory.js.map +1 -1
  148. package/lib/module/skia/web/JsiSkia.js +2 -0
  149. package/lib/module/skia/web/JsiSkia.js.map +1 -1
  150. package/lib/module/skia/web/JsiSkottieAnimation.d.ts +59 -0
  151. package/lib/module/skia/web/JsiSkottieAnimation.js +236 -0
  152. package/lib/module/skia/web/JsiSkottieAnimation.js.map +1 -0
  153. package/lib/module/skia/web/JsiSkottieFactory.d.ts +9 -0
  154. package/lib/module/skia/web/JsiSkottieFactory.js +19 -0
  155. package/lib/module/skia/web/JsiSkottieFactory.js.map +1 -0
  156. package/lib/module/sksg/Elements.d.ts +2 -1
  157. package/lib/module/sksg/Elements.js.map +1 -1
  158. package/lib/module/sksg/Recorder/Core.d.ts +4 -2
  159. package/lib/module/sksg/Recorder/Core.js +1 -0
  160. package/lib/module/sksg/Recorder/Core.js.map +1 -1
  161. package/lib/module/sksg/Recorder/Player.js +3 -1
  162. package/lib/module/sksg/Recorder/Player.js.map +1 -1
  163. package/lib/module/sksg/Recorder/ReanimatedRecorder.d.ts +2 -1
  164. package/lib/module/sksg/Recorder/ReanimatedRecorder.js +4 -0
  165. package/lib/module/sksg/Recorder/ReanimatedRecorder.js.map +1 -1
  166. package/lib/module/sksg/Recorder/Recorder.d.ts +2 -1
  167. package/lib/module/sksg/Recorder/Recorder.js +6 -0
  168. package/lib/module/sksg/Recorder/Recorder.js.map +1 -1
  169. package/lib/module/sksg/Recorder/Visitor.js +3 -0
  170. package/lib/module/sksg/Recorder/Visitor.js.map +1 -1
  171. package/lib/module/sksg/Recorder/commands/Drawing.d.ts +2 -2
  172. package/lib/module/sksg/Recorder/commands/Drawing.js +9 -2
  173. package/lib/module/sksg/Recorder/commands/Drawing.js.map +1 -1
  174. package/lib/module/sksg/Recorder/commands/ImageFilters.js +1 -1
  175. package/lib/module/sksg/Recorder/commands/ImageFilters.js.map +1 -1
  176. package/lib/typescript/lib/commonjs/renderer/components/Skottie.d.ts +2 -0
  177. package/lib/typescript/lib/commonjs/skia/types/Matrix4.d.ts +1 -0
  178. package/lib/typescript/lib/commonjs/skia/types/Skottie.d.ts +6 -0
  179. package/lib/typescript/lib/commonjs/skia/web/JsiSkImageFilterFactory.d.ts +22 -5
  180. package/lib/typescript/lib/commonjs/skia/web/JsiSkia.d.ts +2 -0
  181. package/lib/typescript/lib/commonjs/skia/web/JsiSkottieAnimation.d.ts +48 -0
  182. package/lib/typescript/lib/commonjs/skia/web/JsiSkottieFactory.d.ts +6 -0
  183. package/lib/typescript/lib/commonjs/sksg/Recorder/ReanimatedRecorder.d.ts +1 -0
  184. package/lib/typescript/lib/commonjs/sksg/Recorder/Recorder.d.ts +1 -0
  185. package/lib/typescript/lib/commonjs/sksg/Recorder/commands/Drawing.d.ts +1 -1
  186. package/lib/typescript/lib/module/mock/index.d.ts +7 -0
  187. package/lib/typescript/lib/module/renderer/components/Skottie.d.ts +2 -0
  188. package/lib/typescript/lib/module/renderer/components/index.d.ts +1 -0
  189. package/lib/typescript/lib/module/skia/Skia.web.d.ts +1 -0
  190. package/lib/typescript/lib/module/skia/types/Matrix4.d.ts +1 -0
  191. package/lib/typescript/lib/module/skia/types/Skottie.d.ts +5 -0
  192. package/lib/typescript/lib/module/skia/types/index.d.ts +1 -0
  193. package/lib/typescript/lib/module/skia/web/JsiSkImageFilterFactory.d.ts +22 -5
  194. package/lib/typescript/lib/module/skia/web/JsiSkia.d.ts +2 -0
  195. package/lib/typescript/lib/module/skia/web/JsiSkottieAnimation.d.ts +47 -0
  196. package/lib/typescript/lib/module/skia/web/JsiSkottieFactory.d.ts +5 -0
  197. package/lib/typescript/lib/module/sksg/Recorder/ReanimatedRecorder.d.ts +1 -0
  198. package/lib/typescript/lib/module/sksg/Recorder/Recorder.d.ts +1 -0
  199. package/lib/typescript/lib/module/sksg/Recorder/commands/Drawing.d.ts +1 -1
  200. package/lib/typescript/src/dom/nodes/datatypes/Gradient.d.ts +15 -15
  201. package/lib/typescript/src/dom/types/Drawings.d.ts +5 -1
  202. package/lib/typescript/src/dom/types/NodeType.d.ts +2 -1
  203. package/lib/typescript/src/renderer/__tests__/e2e/AdvancedImageFilters.spec.d.ts +1 -0
  204. package/lib/typescript/src/renderer/__tests__/e2e/Camera.spec.d.ts +21 -0
  205. package/lib/typescript/src/renderer/__tests__/e2e/LightingImageFilters.spec.d.ts +1 -0
  206. package/lib/typescript/src/renderer/__tests__/e2e/Skottie.spec.d.ts +1 -0
  207. package/lib/typescript/src/renderer/__tests__/setup.d.ts +5 -0
  208. package/lib/typescript/src/renderer/components/Skottie.d.ts +4 -0
  209. package/lib/typescript/src/renderer/components/index.d.ts +1 -0
  210. package/lib/typescript/src/skia/types/ImageFilter/ImageFilterFactory.d.ts +252 -15
  211. package/lib/typescript/src/skia/types/Matrix4.d.ts +11 -2
  212. package/lib/typescript/src/skia/types/Recorder.d.ts +2 -1
  213. package/lib/typescript/src/skia/types/Skia.d.ts +2 -0
  214. package/lib/typescript/src/skia/types/Skottie.d.ts +223 -0
  215. package/lib/typescript/src/skia/types/index.d.ts +1 -0
  216. package/lib/typescript/src/skia/web/JsiSkImageFilterFactory.d.ts +29 -12
  217. package/lib/typescript/src/skia/web/JsiSkottieAnimation.d.ts +59 -0
  218. package/lib/typescript/src/skia/web/JsiSkottieFactory.d.ts +9 -0
  219. package/lib/typescript/src/sksg/Elements.d.ts +2 -1
  220. package/lib/typescript/src/sksg/Recorder/Core.d.ts +4 -2
  221. package/lib/typescript/src/sksg/Recorder/ReanimatedRecorder.d.ts +2 -1
  222. package/lib/typescript/src/sksg/Recorder/Recorder.d.ts +2 -1
  223. package/lib/typescript/src/sksg/Recorder/commands/Drawing.d.ts +2 -2
  224. package/libs/android/arm64-v8a/libjsonreader.a +0 -0
  225. package/libs/android/armeabi-v7a/libjsonreader.a +0 -0
  226. package/libs/android/x86/libjsonreader.a +0 -0
  227. package/libs/android/x86_64/libjsonreader.a +0 -0
  228. package/libs/apple/libpathops.xcframework/Info.plist +8 -8
  229. package/libs/apple/libskia.xcframework/Info.plist +14 -14
  230. package/libs/apple/libskottie.xcframework/Info.plist +14 -14
  231. package/libs/apple/libskparagraph.xcframework/Info.plist +16 -16
  232. package/libs/apple/libsksg.xcframework/Info.plist +5 -5
  233. package/libs/apple/libskshaper.xcframework/Info.plist +14 -14
  234. package/libs/apple/libskunicode_libgrapheme.xcframework/Info.plist +14 -14
  235. package/libs/apple/libsvg.xcframework/Info.plist +14 -14
  236. package/package.json +1 -1
  237. package/react-native-skia.podspec +4 -2
  238. package/src/__tests__/snapshots/matrix4/camera-corner.png +0 -0
  239. package/src/__tests__/snapshots/matrix4/camera-offset.png +0 -0
  240. package/src/__tests__/snapshots/matrix4/camera-top-left-center.png +0 -0
  241. package/src/__tests__/snapshots/matrix4/camera-zoom-out.png +0 -0
  242. package/src/__tests__/snapshots/matrix4/full-rect.png +0 -0
  243. package/src/__tests__/snapshots/matrix4/rect.png +0 -0
  244. package/src/__tests__/snapshots/matrix4/scaled-rect.png +0 -0
  245. package/src/__tests__/snapshots/matrix4/test-perspective.png +0 -0
  246. package/src/__tests__/snapshots/matrix4/test-perspective2.png +0 -0
  247. package/src/dom/types/Drawings.ts +6 -0
  248. package/src/dom/types/NodeType.ts +2 -0
  249. package/src/renderer/__tests__/e2e/AdvancedImageFilters.spec.tsx +492 -0
  250. package/src/renderer/__tests__/e2e/Camera.spec.tsx +475 -0
  251. package/src/renderer/__tests__/e2e/LightingImageFilters.spec.tsx +1478 -0
  252. package/src/renderer/__tests__/e2e/Skottie.spec.tsx +440 -0
  253. package/src/renderer/__tests__/e2e/setup/skottie/basic_slots.json +1118 -0
  254. package/src/renderer/__tests__/e2e/setup/skottie/color-props.json +1 -0
  255. package/src/renderer/__tests__/e2e/setup/skottie/confetti.json +5899 -0
  256. package/src/renderer/__tests__/e2e/setup/skottie/drinks.json +43857 -0
  257. package/src/renderer/__tests__/e2e/setup/skottie/fingerprint.json +1 -0
  258. package/src/renderer/__tests__/e2e/setup/skottie/lego_loader.json +29540 -0
  259. package/src/renderer/__tests__/e2e/setup/skottie/new-drop.json +1 -0
  260. package/src/renderer/__tests__/e2e/setup/skottie/onboarding.json +1 -0
  261. package/src/renderer/__tests__/e2e/setup/skottie/text-layer.json +1 -0
  262. package/src/renderer/__tests__/setup.tsx +23 -0
  263. package/src/renderer/components/Skottie.tsx +8 -0
  264. package/src/renderer/components/index.ts +1 -0
  265. package/src/skia/__tests__/assets/Avenir-Heavy.ttf +0 -0
  266. package/src/skia/types/ImageFilter/ImageFilterFactory.ts +391 -21
  267. package/src/skia/types/Matrix4.ts +108 -2
  268. package/src/skia/types/Recorder.ts +2 -0
  269. package/src/skia/types/Skia.ts +2 -0
  270. package/src/skia/types/Skottie.ts +266 -0
  271. package/src/skia/types/index.ts +1 -0
  272. package/src/skia/web/JsiSkImageFilterFactory.ts +266 -31
  273. package/src/skia/web/JsiSkia.ts +2 -0
  274. package/src/skia/web/JsiSkottieAnimation.ts +259 -0
  275. package/src/skia/web/JsiSkottieFactory.ts +25 -0
  276. package/src/sksg/Elements.tsx +2 -0
  277. package/src/sksg/Recorder/Core.ts +3 -0
  278. package/src/sksg/Recorder/Player.ts +3 -0
  279. package/src/sksg/Recorder/ReanimatedRecorder.ts +6 -0
  280. package/src/sksg/Recorder/Recorder.ts +5 -0
  281. package/src/sksg/Recorder/Visitor.ts +3 -0
  282. package/src/sksg/Recorder/commands/Drawing.ts +7 -3
  283. package/src/sksg/Recorder/commands/ImageFilters.ts +1 -1
@@ -1,19 +1,36 @@
1
1
  import type { CanvasKit } from "canvaskit-wasm";
2
- import type { ColorChannel, ImageFilterFactory, SkColor, SkColorFilter, SkImageFilter, BlendMode, SkRect, SkRuntimeShaderBuilder, SkShader, TileMode } from "../types";
2
+ import type { ColorChannel, ImageFilterFactory, SkColor, SkColorFilter, SkImageFilter, BlendMode, SkRect, SkRuntimeShaderBuilder, SkShader, TileMode, FilterMode, MipmapMode, SkImage, SkMatrix, SkPicture, SkPoint3 } from "../types";
3
3
  import { Host } from "./Host";
4
4
  import { JsiSkImageFilter } from "./JsiSkImageFilter";
5
5
  export declare class JsiSkImageFilterFactory extends Host implements ImageFilterFactory {
6
6
  constructor(CanvasKit: CanvasKit);
7
- MakeOffset(dx: number, dy: number, input: SkImageFilter | null): JsiSkImageFilter;
8
- MakeDisplacementMap(channelX: ColorChannel, channelY: ColorChannel, scale: number, in1: SkImageFilter, input: SkImageFilter | null): SkImageFilter;
9
- MakeShader(shader: SkShader, _input: SkImageFilter | null): SkImageFilter;
10
- MakeBlur(sigmaX: number, sigmaY: number, mode: TileMode, input: SkImageFilter | null): JsiSkImageFilter;
11
- MakeColorFilter(cf: SkColorFilter, input: SkImageFilter | null): JsiSkImageFilter;
7
+ MakeRuntimeShaderWithChildren(_builder: SkRuntimeShaderBuilder, _sampleRadius: number, _childShaderNames: string[], _inputs: Array<SkImageFilter | null>): SkImageFilter;
8
+ MakeArithmetic(_k1: number, _k2: number, _k3: number, _k4: number, _enforcePMColor: boolean, _background?: SkImageFilter | null, _foreground?: SkImageFilter | null, _cropRect?: SkRect | null): SkImageFilter;
9
+ MakeCrop(_rect: SkRect, _tileMode?: TileMode | null, _input?: SkImageFilter | null): SkImageFilter;
10
+ MakeEmpty(): SkImageFilter;
11
+ MakeImage(_image: SkImage, _srcRect?: SkRect | null, _dstRect?: SkRect | null, _filterMode?: FilterMode, _mipmap?: MipmapMode): SkImageFilter;
12
+ MakeMagnifier(_lensBounds: SkRect, _zoomAmount: number, _inset: number, _filterMode?: FilterMode, _mipmap?: MipmapMode, _input?: SkImageFilter | null, _cropRect?: SkRect | null): SkImageFilter;
13
+ MakeMatrixConvolution(_kernelSizeX: number, _kernelSizeY: number, _kernel: number[], _gain: number, _bias: number, _kernelOffsetX: number, _kernelOffsetY: number, _tileMode: TileMode, _convolveAlpha: boolean, _input?: SkImageFilter | null, _cropRect?: SkRect | null): SkImageFilter;
14
+ MakeMatrixTransform(_matrix: SkMatrix, _filterMode?: FilterMode, _mipmap?: MipmapMode, _input?: SkImageFilter | null): SkImageFilter;
15
+ MakeMerge(_filters: Array<SkImageFilter | null>, _cropRect?: SkRect | null): SkImageFilter;
16
+ MakePicture(_picture: SkPicture, _targetRect?: SkRect | null): SkImageFilter;
17
+ MakeTile(_src: SkRect, _dst: SkRect, _input?: SkImageFilter | null): SkImageFilter;
18
+ MakeDistantLitDiffuse(_direction: SkPoint3, _lightColor: SkColor, _surfaceScale: number, _kd: number, _input?: SkImageFilter | null, _cropRect?: SkRect | null): SkImageFilter;
19
+ MakePointLitDiffuse(_location: SkPoint3, _lightColor: SkColor, _surfaceScale: number, _kd: number, _input?: SkImageFilter | null, _cropRect?: SkRect | null): SkImageFilter;
20
+ MakeSpotLitDiffuse(_location: SkPoint3, _target: SkPoint3, _falloffExponent: number, _cutoffAngle: number, _lightColor: SkColor, _surfaceScale: number, _kd: number, _input?: SkImageFilter | null, _cropRect?: SkRect | null): SkImageFilter;
21
+ MakeDistantLitSpecular(_direction: SkPoint3, _lightColor: SkColor, _surfaceScale: number, _ks: number, _shininess: number, _input?: SkImageFilter | null, _cropRect?: SkRect | null): SkImageFilter;
22
+ MakePointLitSpecular(_location: SkPoint3, _lightColor: SkColor, _surfaceScale: number, _ks: number, _shininess: number, _input?: SkImageFilter | null, _cropRect?: SkRect | null): SkImageFilter;
23
+ MakeSpotLitSpecular(_location: SkPoint3, _target: SkPoint3, _falloffExponent: number, _cutoffAngle: number, _lightColor: SkColor, _surfaceScale: number, _ks: number, _shininess: number, _input?: SkImageFilter | null, _cropRect?: SkRect | null): SkImageFilter;
24
+ MakeOffset(dx: number, dy: number, input?: SkImageFilter | null, cropRect?: SkRect | null): JsiSkImageFilter;
25
+ MakeDisplacementMap(channelX: ColorChannel, channelY: ColorChannel, scale: number, in1: SkImageFilter, input?: SkImageFilter | null, cropRect?: SkRect | null): SkImageFilter;
26
+ MakeShader(shader: SkShader, dither?: boolean, cropRect?: SkRect | null): SkImageFilter;
27
+ MakeBlur(sigmaX: number, sigmaY: number, mode: TileMode, input?: SkImageFilter | null, cropRect?: SkRect | null): JsiSkImageFilter;
28
+ MakeColorFilter(colorFilter: SkColorFilter, input?: SkImageFilter | null, cropRect?: SkRect | null): JsiSkImageFilter;
12
29
  MakeCompose(outer: SkImageFilter | null, inner: SkImageFilter | null): JsiSkImageFilter;
13
- MakeDropShadow(dx: number, dy: number, sigmaX: number, sigmaY: number, color: SkColor, input: SkImageFilter | null, cropRect?: SkRect): SkImageFilter;
14
- MakeDropShadowOnly(dx: number, dy: number, sigmaX: number, sigmaY: number, color: SkColor, input: SkImageFilter | null, cropRect?: SkRect): SkImageFilter;
15
- MakeErode(rx: number, ry: number, input: SkImageFilter | null, cropRect?: SkRect): SkImageFilter;
16
- MakeDilate(rx: number, ry: number, input: SkImageFilter | null, cropRect?: SkRect): SkImageFilter;
17
- MakeBlend(mode: BlendMode, background: SkImageFilter, foreground: SkImageFilter | null, cropRect?: SkRect): SkImageFilter;
18
- MakeRuntimeShader(_builder: SkRuntimeShaderBuilder, _childShaderName: string | null, _input: SkImageFilter | null): SkImageFilter;
30
+ MakeDropShadow(dx: number, dy: number, sigmaX: number, sigmaY: number, color: SkColor, input?: SkImageFilter | null, cropRect?: SkRect | null): SkImageFilter;
31
+ MakeDropShadowOnly(dx: number, dy: number, sigmaX: number, sigmaY: number, color: SkColor, input?: SkImageFilter | null, cropRect?: SkRect | null): SkImageFilter;
32
+ MakeErode(rx: number, ry: number, input?: SkImageFilter | null, cropRect?: SkRect | null): SkImageFilter;
33
+ MakeDilate(rx: number, ry: number, input?: SkImageFilter | null, cropRect?: SkRect | null): SkImageFilter;
34
+ MakeBlend(mode: BlendMode, background: SkImageFilter, foreground?: SkImageFilter | null, cropRect?: SkRect | null): SkImageFilter;
35
+ MakeRuntimeShader(_builder: SkRuntimeShaderBuilder, _childShaderName: string | null, _input?: SkImageFilter | null): SkImageFilter;
19
36
  }
@@ -0,0 +1,59 @@
1
+ import type { CanvasKit, ManagedSkottieAnimation } from "canvaskit-wasm";
2
+ import type { SkSkottieAnimation, SlotInfo, SlottableTextProperty } from "../types/Skottie";
3
+ import type { SkColor, SkPoint, SkRect } from "../types";
4
+ import { HostObject } from "./Host";
5
+ import type { JsiSkCanvas } from "./JsiSkCanvas";
6
+ import { JsiSkRect } from "./JsiSkRect";
7
+ export declare class JsiSkottieAnimation extends HostObject<ManagedSkottieAnimation, "SkottieAnimation"> implements SkSkottieAnimation {
8
+ constructor(CanvasKit: CanvasKit, ref: ManagedSkottieAnimation);
9
+ getOpacityProps(): import("canvaskit-wasm").OpacityProperty[];
10
+ getTextProps(): import("canvaskit-wasm").TextProperty[];
11
+ getColorProps(): {
12
+ key: string;
13
+ value: SkColor;
14
+ }[];
15
+ getTransformProps(): {
16
+ key: string;
17
+ value: {
18
+ anchor: {
19
+ x: number;
20
+ y: number;
21
+ };
22
+ position: {
23
+ x: number;
24
+ y: number;
25
+ };
26
+ scale: {
27
+ x: number;
28
+ y: number;
29
+ };
30
+ rotation: number;
31
+ skew: number;
32
+ skewAxis: number;
33
+ };
34
+ }[];
35
+ setColor(key: string, color: SkColor): boolean;
36
+ setText(key: string, text: string, size: number): boolean;
37
+ setOpacity(key: string, opacity: number): boolean;
38
+ setTransform(key: string, anchor: SkPoint, position: SkPoint, scale: SkPoint, rotation: number, skew: number, skewAxis: number): boolean;
39
+ getSlotInfo(): SlotInfo;
40
+ setColorSlot(key: string, color: SkColor): boolean;
41
+ setScalarSlot(key: string, scalar: number): boolean;
42
+ setVec2Slot(key: string, vec2: SkPoint): boolean;
43
+ setTextSlot(key: string, text: SlottableTextProperty): boolean;
44
+ setImageSlot(key: string, assetName: string): boolean;
45
+ getColorSlot(key: string): SkColor | null;
46
+ getScalarSlot(key: string): number | null;
47
+ getVec2Slot(key: string): SkPoint | null;
48
+ getTextSlot(key: string): SlottableTextProperty | null;
49
+ duration(): number;
50
+ fps(): number;
51
+ render(canvas: JsiSkCanvas, dstRect?: SkRect): void;
52
+ seekFrame(frame: number, damageRect?: JsiSkRect): void;
53
+ size(): {
54
+ width: number;
55
+ height: number;
56
+ };
57
+ version(): string;
58
+ dispose(): void;
59
+ }
@@ -0,0 +1,9 @@
1
+ import type { CanvasKit } from "canvaskit-wasm";
2
+ import type { SkottieFactory } from "../types";
3
+ import { Host } from "./Host";
4
+ import { JsiSkottieAnimation } from "./JsiSkottieAnimation";
5
+ import type { JsiSkData } from "./JsiSkData";
6
+ export declare class JsiSkottieFactory extends Host implements SkottieFactory {
7
+ constructor(CanvasKit: CanvasKit);
8
+ Make(json: string, assets?: Record<string, JsiSkData>): JsiSkottieAnimation;
9
+ }
@@ -1,4 +1,4 @@
1
- import type { FractalNoiseProps, CircleProps, DrawingNodeProps, ImageProps, PaintProps, PathProps, LineProps, OvalProps, DiffRectProps, PointsProps, RectProps, RoundedRectProps, TextProps, VerticesProps, BlurMaskFilterProps, BlendImageFilterProps, BlurImageFilterProps, DisplacementMapImageFilterProps, DropShadowImageFilterProps, OffsetImageFilterProps, RuntimeShaderImageFilterProps, MatrixColorFilterProps, ShaderProps, ImageShaderProps, LinearGradientProps, GroupProps, PatchProps, BlendColorFilterProps, DashPathEffectProps, DiscretePathEffectProps, CornerPathEffectProps, Line2DPathEffectProps, Path1DPathEffectProps, Path2DPathEffectProps, TextPathProps, TextBlobProps, GlyphsProps, TwoPointConicalGradientProps, TurbulenceProps, SweepGradientProps, RadialGradientProps, ColorProps, PictureProps, ImageSVGProps, LerpColorFilterProps, BoxProps, BoxShadowProps, ParagraphProps, AtlasProps, ChildrenProps, MorphologyImageFilterProps, BlendProps } from "../dom/types";
1
+ import type { FractalNoiseProps, CircleProps, DrawingNodeProps, ImageProps, PaintProps, PathProps, LineProps, OvalProps, DiffRectProps, PointsProps, RectProps, RoundedRectProps, TextProps, VerticesProps, BlurMaskFilterProps, BlendImageFilterProps, BlurImageFilterProps, DisplacementMapImageFilterProps, DropShadowImageFilterProps, OffsetImageFilterProps, RuntimeShaderImageFilterProps, MatrixColorFilterProps, ShaderProps, ImageShaderProps, LinearGradientProps, GroupProps, PatchProps, BlendColorFilterProps, DashPathEffectProps, DiscretePathEffectProps, CornerPathEffectProps, Line2DPathEffectProps, Path1DPathEffectProps, Path2DPathEffectProps, TextPathProps, TextBlobProps, GlyphsProps, TwoPointConicalGradientProps, TurbulenceProps, SweepGradientProps, RadialGradientProps, ColorProps, PictureProps, ImageSVGProps, LerpColorFilterProps, BoxProps, BoxShadowProps, ParagraphProps, AtlasProps, ChildrenProps, MorphologyImageFilterProps, BlendProps, SkottieProps } from "../dom/types";
2
2
  import type { SkiaProps } from "../renderer";
3
3
  declare module "react" {
4
4
  namespace JSX {
@@ -23,6 +23,7 @@ declare module "react" {
23
23
  skTextBlob: SkiaProps<TextBlobProps>;
24
24
  skGlyphs: SkiaProps<GlyphsProps>;
25
25
  skDiffRect: SkiaProps<DiffRectProps>;
26
+ skSkottie: SkiaProps<SkottieProps>;
26
27
  skPicture: SkiaProps<PictureProps>;
27
28
  skImageSVG: SkiaProps<ImageSVGProps>;
28
29
  skBlurMaskFilter: SkiaProps<BlurMaskFilterProps>;
@@ -1,4 +1,4 @@
1
- import type { BlurMaskFilterProps, CircleProps, CTMProps, ImageProps, PointsProps, PathProps, RectProps, RoundedRectProps, OvalProps, LineProps, PatchProps, VerticesProps, DiffRectProps, TextProps, TextPathProps, TextBlobProps, GlyphsProps, PictureProps, ImageSVGProps, ParagraphProps, AtlasProps, DrawingNodeProps } from "../../dom/types";
1
+ import type { BlurMaskFilterProps, CircleProps, CTMProps, ImageProps, PointsProps, PathProps, RectProps, RoundedRectProps, OvalProps, LineProps, PatchProps, VerticesProps, DiffRectProps, TextProps, TextPathProps, TextBlobProps, GlyphsProps, PictureProps, ImageSVGProps, ParagraphProps, AtlasProps, DrawingNodeProps, SkottieProps } from "../../dom/types";
2
2
  export declare enum CommandType {
3
3
  Group = 0,
4
4
  SavePaint = 1,
@@ -37,7 +37,8 @@ export declare enum CommandType {
37
37
  DrawPicture = 34,
38
38
  DrawImageSVG = 35,
39
39
  DrawParagraph = 36,
40
- DrawAtlas = 37
40
+ DrawAtlas = 37,
41
+ DrawSkottie = 38
41
42
  }
42
43
  export type Command<T extends CommandType = CommandType> = {
43
44
  type: T;
@@ -72,6 +73,7 @@ interface Props {
72
73
  [CommandType.DrawImageSVG]: ImageSVGProps;
73
74
  [CommandType.DrawParagraph]: ParagraphProps;
74
75
  [CommandType.DrawAtlas]: AtlasProps;
76
+ [CommandType.DrawSkottie]: SkottieProps;
75
77
  }
76
78
  interface DrawCommand<T extends CommandType> extends Command<T> {
77
79
  props: T extends keyof Props ? Props[T] : never;
@@ -1,6 +1,6 @@
1
1
  import type { SharedValue } from "react-native-reanimated";
2
2
  import type { BaseRecorder, JsiRecorder, Skia } from "../../skia/types";
3
- import type { PaintProps, NodeType, BlurMaskFilterProps, CTMProps, BoxProps, BoxShadowProps, ImageProps, CircleProps, PointsProps, PathProps, RectProps, RoundedRectProps, OvalProps, LineProps, PatchProps, VerticesProps, DiffRectProps, TextProps, TextPathProps, TextBlobProps, GlyphsProps, PictureProps, ImageSVGProps, ParagraphProps, AtlasProps } from "../../dom/types";
3
+ import type { PaintProps, NodeType, BlurMaskFilterProps, CTMProps, BoxProps, BoxShadowProps, ImageProps, CircleProps, PointsProps, PathProps, RectProps, RoundedRectProps, OvalProps, LineProps, PatchProps, VerticesProps, DiffRectProps, TextProps, TextPathProps, TextBlobProps, GlyphsProps, PictureProps, ImageSVGProps, ParagraphProps, AtlasProps, SkottieProps } from "../../dom/types";
4
4
  import type { AnimatedProps } from "../../renderer";
5
5
  export declare class ReanimatedRecorder implements BaseRecorder {
6
6
  private values;
@@ -50,4 +50,5 @@ export declare class ReanimatedRecorder implements BaseRecorder {
50
50
  drawImageSVG(props: AnimatedProps<ImageSVGProps>): void;
51
51
  drawParagraph(props: AnimatedProps<ParagraphProps>): void;
52
52
  drawAtlas(props: AnimatedProps<AtlasProps>): void;
53
+ drawSkottie(props: AnimatedProps<SkottieProps>): void;
53
54
  }
@@ -1,6 +1,6 @@
1
1
  import type { SharedValue } from "react-native-reanimated";
2
2
  import { NodeType } from "../../dom/types";
3
- import type { BlurMaskFilterProps, CircleProps, CTMProps, ImageProps, PaintProps, PointsProps, PathProps, RectProps, RoundedRectProps, OvalProps, LineProps, PatchProps, VerticesProps, DiffRectProps, TextProps, TextPathProps, TextBlobProps, GlyphsProps, PictureProps, ImageSVGProps, ParagraphProps, AtlasProps, BoxProps, BoxShadowProps } from "../../dom/types";
3
+ import type { BlurMaskFilterProps, CircleProps, CTMProps, ImageProps, PaintProps, PointsProps, PathProps, RectProps, RoundedRectProps, OvalProps, LineProps, PatchProps, VerticesProps, DiffRectProps, TextProps, TextPathProps, TextBlobProps, GlyphsProps, PictureProps, ImageSVGProps, ParagraphProps, AtlasProps, BoxProps, BoxShadowProps, SkottieProps } from "../../dom/types";
4
4
  import type { AnimatedProps } from "../../renderer";
5
5
  import type { SkPaint, BaseRecorder } from "../../skia/types";
6
6
  import type { Command } from "./Core";
@@ -61,5 +61,6 @@ export declare class Recorder implements BaseRecorder {
61
61
  drawImageSVG(props: AnimatedProps<ImageSVGProps>): void;
62
62
  drawParagraph(props: AnimatedProps<ParagraphProps>): void;
63
63
  drawAtlas(props: AnimatedProps<AtlasProps>): void;
64
+ drawSkottie(props: AnimatedProps<SkottieProps>): void;
64
65
  }
65
66
  export {};
@@ -1,4 +1,4 @@
1
- import type { AtlasProps, CircleProps, DiffRectProps, DrawingNodeProps, GlyphsProps, ImageProps, ImageSVGProps, LineProps, OvalProps, ParagraphProps, PatchProps, PathProps, PictureProps, PointsProps, RectProps, RoundedRectProps, TextBlobProps, TextPathProps, TextProps, VerticesProps } from "../../../dom/types";
1
+ import type { AtlasProps, CircleProps, DiffRectProps, GlyphsProps, ImageProps, ImageSVGProps, LineProps, OvalProps, ParagraphProps, PatchProps, PathProps, PictureProps, PointsProps, RectProps, RoundedRectProps, SkottieProps, TextBlobProps, TextPathProps, TextProps, VerticesProps } from "../../../dom/types";
2
2
  import type { DrawingContext } from "../DrawingContext";
3
3
  export declare const drawLine: (ctx: DrawingContext, props: LineProps) => void;
4
4
  export declare const drawOval: (ctx: DrawingContext, props: OvalProps) => void;
@@ -19,4 +19,4 @@ export declare const drawParagraph: (ctx: DrawingContext, props: ParagraphProps)
19
19
  export declare const drawPicture: (ctx: DrawingContext, props: PictureProps) => void;
20
20
  export declare const drawAtlas: (ctx: DrawingContext, props: AtlasProps) => void;
21
21
  export declare const drawCircle: (ctx: DrawingContext, props: CircleProps) => void;
22
- export declare const drawFill: (ctx: DrawingContext, _props: DrawingNodeProps) => void;
22
+ export declare const drawSkottie: (ctx: DrawingContext, props: SkottieProps) => void;
Binary file
@@ -8,7 +8,7 @@
8
8
  <key>BinaryPath</key>
9
9
  <string>libpathops.a</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>ios-arm64_arm64e</string>
11
+ <string>tvos-arm64_arm64e</string>
12
12
  <key>LibraryPath</key>
13
13
  <string>libpathops.a</string>
14
14
  <key>SupportedArchitectures</key>
@@ -17,13 +17,13 @@
17
17
  <string>arm64e</string>
18
18
  </array>
19
19
  <key>SupportedPlatform</key>
20
- <string>ios</string>
20
+ <string>tvos</string>
21
21
  </dict>
22
22
  <dict>
23
23
  <key>BinaryPath</key>
24
24
  <string>libpathops.a</string>
25
25
  <key>LibraryIdentifier</key>
26
- <string>tvos-arm64_arm64e</string>
26
+ <string>ios-arm64_arm64e</string>
27
27
  <key>LibraryPath</key>
28
28
  <string>libpathops.a</string>
29
29
  <key>SupportedArchitectures</key>
@@ -32,7 +32,7 @@
32
32
  <string>arm64e</string>
33
33
  </array>
34
34
  <key>SupportedPlatform</key>
35
- <string>tvos</string>
35
+ <string>ios</string>
36
36
  </dict>
37
37
  <dict>
38
38
  <key>BinaryPath</key>
@@ -53,7 +53,7 @@
53
53
  <key>BinaryPath</key>
54
54
  <string>libpathops.a</string>
55
55
  <key>LibraryIdentifier</key>
56
- <string>ios-arm64_arm64e_x86_64-simulator</string>
56
+ <string>tvos-arm64_arm64e_x86_64-simulator</string>
57
57
  <key>LibraryPath</key>
58
58
  <string>libpathops.a</string>
59
59
  <key>SupportedArchitectures</key>
@@ -63,7 +63,7 @@
63
63
  <string>x86_64</string>
64
64
  </array>
65
65
  <key>SupportedPlatform</key>
66
- <string>ios</string>
66
+ <string>tvos</string>
67
67
  <key>SupportedPlatformVariant</key>
68
68
  <string>simulator</string>
69
69
  </dict>
@@ -71,7 +71,7 @@
71
71
  <key>BinaryPath</key>
72
72
  <string>libpathops.a</string>
73
73
  <key>LibraryIdentifier</key>
74
- <string>tvos-arm64_arm64e_x86_64-simulator</string>
74
+ <string>ios-arm64_arm64e_x86_64-simulator</string>
75
75
  <key>LibraryPath</key>
76
76
  <string>libpathops.a</string>
77
77
  <key>SupportedArchitectures</key>
@@ -81,7 +81,7 @@
81
81
  <string>x86_64</string>
82
82
  </array>
83
83
  <key>SupportedPlatform</key>
84
- <string>tvos</string>
84
+ <string>ios</string>
85
85
  <key>SupportedPlatformVariant</key>
86
86
  <string>simulator</string>
87
87
  </dict>
@@ -8,40 +8,40 @@
8
8
  <key>BinaryPath</key>
9
9
  <string>libskia.a</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>macos-arm64_x86_64</string>
11
+ <string>ios-arm64_arm64e_x86_64-simulator</string>
12
12
  <key>LibraryPath</key>
13
13
  <string>libskia.a</string>
14
14
  <key>SupportedArchitectures</key>
15
15
  <array>
16
16
  <string>arm64</string>
17
+ <string>arm64e</string>
17
18
  <string>x86_64</string>
18
19
  </array>
19
20
  <key>SupportedPlatform</key>
20
- <string>macos</string>
21
+ <string>ios</string>
22
+ <key>SupportedPlatformVariant</key>
23
+ <string>simulator</string>
21
24
  </dict>
22
25
  <dict>
23
26
  <key>BinaryPath</key>
24
27
  <string>libskia.a</string>
25
28
  <key>LibraryIdentifier</key>
26
- <string>ios-arm64_arm64e_x86_64-simulator</string>
29
+ <string>ios-arm64_arm64e</string>
27
30
  <key>LibraryPath</key>
28
31
  <string>libskia.a</string>
29
32
  <key>SupportedArchitectures</key>
30
33
  <array>
31
34
  <string>arm64</string>
32
35
  <string>arm64e</string>
33
- <string>x86_64</string>
34
36
  </array>
35
37
  <key>SupportedPlatform</key>
36
38
  <string>ios</string>
37
- <key>SupportedPlatformVariant</key>
38
- <string>simulator</string>
39
39
  </dict>
40
40
  <dict>
41
41
  <key>BinaryPath</key>
42
42
  <string>libskia.a</string>
43
43
  <key>LibraryIdentifier</key>
44
- <string>ios-arm64_arm64e</string>
44
+ <string>tvos-arm64_arm64e</string>
45
45
  <key>LibraryPath</key>
46
46
  <string>libskia.a</string>
47
47
  <key>SupportedArchitectures</key>
@@ -50,40 +50,40 @@
50
50
  <string>arm64e</string>
51
51
  </array>
52
52
  <key>SupportedPlatform</key>
53
- <string>ios</string>
53
+ <string>tvos</string>
54
54
  </dict>
55
55
  <dict>
56
56
  <key>BinaryPath</key>
57
57
  <string>libskia.a</string>
58
58
  <key>LibraryIdentifier</key>
59
- <string>tvos-arm64_arm64e_x86_64-simulator</string>
59
+ <string>macos-arm64_x86_64</string>
60
60
  <key>LibraryPath</key>
61
61
  <string>libskia.a</string>
62
62
  <key>SupportedArchitectures</key>
63
63
  <array>
64
64
  <string>arm64</string>
65
- <string>arm64e</string>
66
65
  <string>x86_64</string>
67
66
  </array>
68
67
  <key>SupportedPlatform</key>
69
- <string>tvos</string>
70
- <key>SupportedPlatformVariant</key>
71
- <string>simulator</string>
68
+ <string>macos</string>
72
69
  </dict>
73
70
  <dict>
74
71
  <key>BinaryPath</key>
75
72
  <string>libskia.a</string>
76
73
  <key>LibraryIdentifier</key>
77
- <string>tvos-arm64_arm64e</string>
74
+ <string>tvos-arm64_arm64e_x86_64-simulator</string>
78
75
  <key>LibraryPath</key>
79
76
  <string>libskia.a</string>
80
77
  <key>SupportedArchitectures</key>
81
78
  <array>
82
79
  <string>arm64</string>
83
80
  <string>arm64e</string>
81
+ <string>x86_64</string>
84
82
  </array>
85
83
  <key>SupportedPlatform</key>
86
84
  <string>tvos</string>
85
+ <key>SupportedPlatformVariant</key>
86
+ <string>simulator</string>
87
87
  </dict>
88
88
  </array>
89
89
  <key>CFBundlePackageType</key>
@@ -8,40 +8,37 @@
8
8
  <key>BinaryPath</key>
9
9
  <string>libskottie.a</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>tvos-arm64_arm64e</string>
11
+ <string>macos-arm64_x86_64</string>
12
12
  <key>LibraryPath</key>
13
13
  <string>libskottie.a</string>
14
14
  <key>SupportedArchitectures</key>
15
15
  <array>
16
16
  <string>arm64</string>
17
- <string>arm64e</string>
17
+ <string>x86_64</string>
18
18
  </array>
19
19
  <key>SupportedPlatform</key>
20
- <string>tvos</string>
20
+ <string>macos</string>
21
21
  </dict>
22
22
  <dict>
23
23
  <key>BinaryPath</key>
24
24
  <string>libskottie.a</string>
25
25
  <key>LibraryIdentifier</key>
26
- <string>tvos-arm64_arm64e_x86_64-simulator</string>
26
+ <string>ios-arm64_arm64e</string>
27
27
  <key>LibraryPath</key>
28
28
  <string>libskottie.a</string>
29
29
  <key>SupportedArchitectures</key>
30
30
  <array>
31
31
  <string>arm64</string>
32
32
  <string>arm64e</string>
33
- <string>x86_64</string>
34
33
  </array>
35
34
  <key>SupportedPlatform</key>
36
- <string>tvos</string>
37
- <key>SupportedPlatformVariant</key>
38
- <string>simulator</string>
35
+ <string>ios</string>
39
36
  </dict>
40
37
  <dict>
41
38
  <key>BinaryPath</key>
42
39
  <string>libskottie.a</string>
43
40
  <key>LibraryIdentifier</key>
44
- <string>ios-arm64_arm64e_x86_64-simulator</string>
41
+ <string>tvos-arm64_arm64e_x86_64-simulator</string>
45
42
  <key>LibraryPath</key>
46
43
  <string>libskottie.a</string>
47
44
  <key>SupportedArchitectures</key>
@@ -51,7 +48,7 @@
51
48
  <string>x86_64</string>
52
49
  </array>
53
50
  <key>SupportedPlatform</key>
54
- <string>ios</string>
51
+ <string>tvos</string>
55
52
  <key>SupportedPlatformVariant</key>
56
53
  <string>simulator</string>
57
54
  </dict>
@@ -59,22 +56,25 @@
59
56
  <key>BinaryPath</key>
60
57
  <string>libskottie.a</string>
61
58
  <key>LibraryIdentifier</key>
62
- <string>macos-arm64_x86_64</string>
59
+ <string>ios-arm64_arm64e_x86_64-simulator</string>
63
60
  <key>LibraryPath</key>
64
61
  <string>libskottie.a</string>
65
62
  <key>SupportedArchitectures</key>
66
63
  <array>
67
64
  <string>arm64</string>
65
+ <string>arm64e</string>
68
66
  <string>x86_64</string>
69
67
  </array>
70
68
  <key>SupportedPlatform</key>
71
- <string>macos</string>
69
+ <string>ios</string>
70
+ <key>SupportedPlatformVariant</key>
71
+ <string>simulator</string>
72
72
  </dict>
73
73
  <dict>
74
74
  <key>BinaryPath</key>
75
75
  <string>libskottie.a</string>
76
76
  <key>LibraryIdentifier</key>
77
- <string>ios-arm64_arm64e</string>
77
+ <string>tvos-arm64_arm64e</string>
78
78
  <key>LibraryPath</key>
79
79
  <string>libskottie.a</string>
80
80
  <key>SupportedArchitectures</key>
@@ -83,7 +83,7 @@
83
83
  <string>arm64e</string>
84
84
  </array>
85
85
  <key>SupportedPlatform</key>
86
- <string>ios</string>
86
+ <string>tvos</string>
87
87
  </dict>
88
88
  </array>
89
89
  <key>CFBundlePackageType</key>
@@ -8,82 +8,82 @@
8
8
  <key>BinaryPath</key>
9
9
  <string>libskparagraph.a</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>tvos-arm64_arm64e_x86_64-simulator</string>
11
+ <string>ios-arm64_arm64e</string>
12
12
  <key>LibraryPath</key>
13
13
  <string>libskparagraph.a</string>
14
14
  <key>SupportedArchitectures</key>
15
15
  <array>
16
16
  <string>arm64</string>
17
17
  <string>arm64e</string>
18
- <string>x86_64</string>
19
18
  </array>
20
19
  <key>SupportedPlatform</key>
21
- <string>tvos</string>
22
- <key>SupportedPlatformVariant</key>
23
- <string>simulator</string>
20
+ <string>ios</string>
24
21
  </dict>
25
22
  <dict>
26
23
  <key>BinaryPath</key>
27
24
  <string>libskparagraph.a</string>
28
25
  <key>LibraryIdentifier</key>
29
- <string>ios-arm64_arm64e_x86_64-simulator</string>
26
+ <string>tvos-arm64_arm64e</string>
30
27
  <key>LibraryPath</key>
31
28
  <string>libskparagraph.a</string>
32
29
  <key>SupportedArchitectures</key>
33
30
  <array>
34
31
  <string>arm64</string>
35
32
  <string>arm64e</string>
36
- <string>x86_64</string>
37
33
  </array>
38
34
  <key>SupportedPlatform</key>
39
- <string>ios</string>
40
- <key>SupportedPlatformVariant</key>
41
- <string>simulator</string>
35
+ <string>tvos</string>
42
36
  </dict>
43
37
  <dict>
44
38
  <key>BinaryPath</key>
45
39
  <string>libskparagraph.a</string>
46
40
  <key>LibraryIdentifier</key>
47
- <string>ios-arm64_arm64e</string>
41
+ <string>ios-arm64_arm64e_x86_64-simulator</string>
48
42
  <key>LibraryPath</key>
49
43
  <string>libskparagraph.a</string>
50
44
  <key>SupportedArchitectures</key>
51
45
  <array>
52
46
  <string>arm64</string>
53
47
  <string>arm64e</string>
48
+ <string>x86_64</string>
54
49
  </array>
55
50
  <key>SupportedPlatform</key>
56
51
  <string>ios</string>
52
+ <key>SupportedPlatformVariant</key>
53
+ <string>simulator</string>
57
54
  </dict>
58
55
  <dict>
59
56
  <key>BinaryPath</key>
60
57
  <string>libskparagraph.a</string>
61
58
  <key>LibraryIdentifier</key>
62
- <string>macos-arm64_x86_64</string>
59
+ <string>tvos-arm64_arm64e_x86_64-simulator</string>
63
60
  <key>LibraryPath</key>
64
61
  <string>libskparagraph.a</string>
65
62
  <key>SupportedArchitectures</key>
66
63
  <array>
67
64
  <string>arm64</string>
65
+ <string>arm64e</string>
68
66
  <string>x86_64</string>
69
67
  </array>
70
68
  <key>SupportedPlatform</key>
71
- <string>macos</string>
69
+ <string>tvos</string>
70
+ <key>SupportedPlatformVariant</key>
71
+ <string>simulator</string>
72
72
  </dict>
73
73
  <dict>
74
74
  <key>BinaryPath</key>
75
75
  <string>libskparagraph.a</string>
76
76
  <key>LibraryIdentifier</key>
77
- <string>tvos-arm64_arm64e</string>
77
+ <string>macos-arm64_x86_64</string>
78
78
  <key>LibraryPath</key>
79
79
  <string>libskparagraph.a</string>
80
80
  <key>SupportedArchitectures</key>
81
81
  <array>
82
82
  <string>arm64</string>
83
- <string>arm64e</string>
83
+ <string>x86_64</string>
84
84
  </array>
85
85
  <key>SupportedPlatform</key>
86
- <string>tvos</string>
86
+ <string>macos</string>
87
87
  </dict>
88
88
  </array>
89
89
  <key>CFBundlePackageType</key>
@@ -8,19 +8,16 @@
8
8
  <key>BinaryPath</key>
9
9
  <string>libsksg.a</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>tvos-arm64_arm64e_x86_64-simulator</string>
11
+ <string>tvos-arm64_arm64e</string>
12
12
  <key>LibraryPath</key>
13
13
  <string>libsksg.a</string>
14
14
  <key>SupportedArchitectures</key>
15
15
  <array>
16
16
  <string>arm64</string>
17
17
  <string>arm64e</string>
18
- <string>x86_64</string>
19
18
  </array>
20
19
  <key>SupportedPlatform</key>
21
20
  <string>tvos</string>
22
- <key>SupportedPlatformVariant</key>
23
- <string>simulator</string>
24
21
  </dict>
25
22
  <dict>
26
23
  <key>BinaryPath</key>
@@ -74,16 +71,19 @@
74
71
  <key>BinaryPath</key>
75
72
  <string>libsksg.a</string>
76
73
  <key>LibraryIdentifier</key>
77
- <string>tvos-arm64_arm64e</string>
74
+ <string>tvos-arm64_arm64e_x86_64-simulator</string>
78
75
  <key>LibraryPath</key>
79
76
  <string>libsksg.a</string>
80
77
  <key>SupportedArchitectures</key>
81
78
  <array>
82
79
  <string>arm64</string>
83
80
  <string>arm64e</string>
81
+ <string>x86_64</string>
84
82
  </array>
85
83
  <key>SupportedPlatform</key>
86
84
  <string>tvos</string>
85
+ <key>SupportedPlatformVariant</key>
86
+ <string>simulator</string>
87
87
  </dict>
88
88
  </array>
89
89
  <key>CFBundlePackageType</key>