@cometchat/skills 4.4.1 → 5.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 (489) hide show
  1. package/.claude-plugin/marketplace.json +55 -0
  2. package/.claude-plugin/plugin.json +14 -0
  3. package/CHANGELOG.md +36 -0
  4. package/README.md +41 -163
  5. package/RULES.md +114 -0
  6. package/bin/cometchat-skills.mjs +1180 -0
  7. package/bin/legacy-skills.json +95 -0
  8. package/catalogs/android-v6.json +1646 -0
  9. package/catalogs/flutter-v6.json +651 -0
  10. package/catalogs/ios-v5.json +1383 -0
  11. package/catalogs/rn-calls-v5.json +134 -0
  12. package/catalogs/rn-calls-v5.symbols.txt +58 -0
  13. package/catalogs/rn-sdk-v4.json +672 -0
  14. package/catalogs/rn-v5.json +449 -0
  15. package/catalogs/rn-v5.symbols.txt +216 -0
  16. package/catalogs/sdk-android-v5.json +514 -0
  17. package/contracts.android-calls-v5.json +122 -0
  18. package/contracts.android-v6.json +135 -0
  19. package/contracts.angular-v5.json +694 -0
  20. package/contracts.flutter-calls-v5.json +77 -0
  21. package/contracts.flutter-v6.json +126 -0
  22. package/contracts.ios-calls-v5.json +67 -0
  23. package/contracts.ios-v5.json +436 -0
  24. package/contracts.json +82 -0
  25. package/contracts.rn-calls-v5.json +77 -0
  26. package/contracts.rn-v5.json +727 -0
  27. package/contracts.sdk-android-v5.json +15 -0
  28. package/contracts.web-calls-v5.json +45 -0
  29. package/features.android-calls-v5.json +246 -0
  30. package/features.android-v6.json +65 -0
  31. package/features.angular-v5.json +521 -0
  32. package/features.flutter-calls-v5.json +286 -0
  33. package/features.flutter-v6.json +484 -0
  34. package/features.ios-calls-v5.json +236 -0
  35. package/features.ios-v5.json +573 -0
  36. package/features.json +61 -0
  37. package/features.rn-calls-v5.json +187 -0
  38. package/features.rn-v5.json +614 -0
  39. package/features.sdk-android-v5.json +40 -0
  40. package/features.sdk-jsv4.json +24 -0
  41. package/features.web-calls-v5.json +108 -0
  42. package/package.json +151 -74
  43. package/peers.yaml +312 -0
  44. package/registry/README.md +31 -0
  45. package/registry/android-calls-v5.json +54 -0
  46. package/registry/android-v6.json +137 -0
  47. package/registry/angular-v5.json +114 -0
  48. package/registry/flutter-calls-v5.json +54 -0
  49. package/registry/flutter-v6.json +119 -0
  50. package/registry/ios-calls-v5.json +59 -0
  51. package/registry/ios-v5.json +97 -0
  52. package/registry/rn-calls-v5.json +59 -0
  53. package/registry/rn-v5.json +129 -0
  54. package/registry/sdk-android-v5.json +53 -0
  55. package/registry/sdk-jsv4.json +53 -0
  56. package/registry/web-calls-v5.json +54 -0
  57. package/registry/web-v7.json +99 -0
  58. package/skills/cometchat/SKILL.md +42 -2096
  59. package/skills/cometchat-android-v5-calls-sdk/SKILL.md +206 -0
  60. package/skills/cometchat-android-v5-calls-sdk/references/build-truth.md +63 -0
  61. package/skills/cometchat-android-v5-calls-sdk/references/docs-map.md +119 -0
  62. package/skills/cometchat-android-v5-calls-sdk/references/method-map.md +53 -0
  63. package/skills/cometchat-android-v5-calls-sdk/references/pitfalls.md +72 -0
  64. package/skills/cometchat-android-v5-calls-sdk/references/ringing.md +92 -0
  65. package/skills/cometchat-android-v5-calls-sdk/references/user-switch.md +90 -0
  66. package/skills/cometchat-android-v5-sdk/SKILL.md +127 -0
  67. package/skills/cometchat-android-v5-sdk/references/app-surface.md +88 -0
  68. package/skills/cometchat-android-v5-sdk/references/docs-map.md +91 -0
  69. package/skills/cometchat-android-v6-builder-settings/SKILL.md +51 -137
  70. package/skills/cometchat-android-v6-calls/SKILL.md +128 -411
  71. package/skills/cometchat-android-v6-compose-components/SKILL.md +84 -194
  72. package/skills/cometchat-android-v6-compose-customization/SKILL.md +66 -411
  73. package/skills/cometchat-android-v6-compose-placement/SKILL.md +154 -237
  74. package/skills/cometchat-android-v6-core/SKILL.md +236 -672
  75. package/skills/cometchat-android-v6-core/references/anti-patterns.md +31 -0
  76. package/skills/cometchat-android-v6-core/references/component-props.md +168 -0
  77. package/skills/cometchat-android-v6-core/references/docs-map.md +153 -0
  78. package/skills/cometchat-android-v6-core/references/layout.md +112 -0
  79. package/skills/cometchat-android-v6-core/references/lifecycle.md +75 -0
  80. package/skills/cometchat-android-v6-core/references/setup-credentials.md +105 -0
  81. package/skills/cometchat-android-v6-core/references/troubleshooting.md +36 -0
  82. package/skills/cometchat-android-v6-events/SKILL.md +46 -184
  83. package/skills/cometchat-android-v6-extensions/SKILL.md +39 -179
  84. package/skills/cometchat-android-v6-features/SKILL.md +74 -143
  85. package/skills/cometchat-android-v6-kotlin-components/SKILL.md +75 -193
  86. package/skills/cometchat-android-v6-kotlin-customization/SKILL.md +67 -419
  87. package/skills/cometchat-android-v6-kotlin-placement/SKILL.md +77 -223
  88. package/skills/cometchat-android-v6-migration/SKILL.md +67 -378
  89. package/skills/cometchat-android-v6-production/SKILL.md +40 -179
  90. package/skills/cometchat-android-v6-push/SKILL.md +39 -289
  91. package/skills/cometchat-android-v6-testing/SKILL.md +50 -265
  92. package/skills/cometchat-android-v6-troubleshooting/SKILL.md +70 -254
  93. package/skills/cometchat-angular-v5-calls/SKILL.md +193 -0
  94. package/skills/cometchat-angular-v5-components/SKILL.md +131 -0
  95. package/skills/cometchat-angular-v5-components/references/catalog.md +111 -0
  96. package/skills/cometchat-angular-v5-components/references/host-composed.md +46 -0
  97. package/skills/cometchat-angular-v5-core/SKILL.md +300 -0
  98. package/skills/cometchat-angular-v5-core/references/anti-patterns.md +49 -0
  99. package/skills/cometchat-angular-v5-core/references/component-props.md +55 -0
  100. package/skills/cometchat-angular-v5-core/references/dependencies.md +66 -0
  101. package/skills/cometchat-angular-v5-core/references/docs-map.md +132 -0
  102. package/skills/cometchat-angular-v5-core/references/layout.md +64 -0
  103. package/skills/cometchat-angular-v5-core/references/lifecycle.md +202 -0
  104. package/skills/cometchat-angular-v5-core/references/setup-credentials.md +137 -0
  105. package/skills/cometchat-angular-v5-core/references/theming.md +70 -0
  106. package/skills/cometchat-angular-v5-core/references/troubleshooting.md +27 -0
  107. package/skills/cometchat-angular-v5-customization/SKILL.md +94 -0
  108. package/skills/cometchat-angular-v5-features/SKILL.md +107 -0
  109. package/skills/cometchat-angular-v5-features/references/custom-messages.md +133 -0
  110. package/skills/cometchat-angular-v5-features/references/formatters.md +28 -0
  111. package/skills/cometchat-angular-v5-features/references/host-composed-extensions.md +85 -0
  112. package/skills/cometchat-angular-v5-migration/SKILL.md +40 -0
  113. package/skills/cometchat-angular-v5-migration/references/migration-guide.md +165 -0
  114. package/skills/cometchat-angular-v5-patterns/SKILL.md +107 -0
  115. package/skills/cometchat-angular-v5-placement/SKILL.md +133 -0
  116. package/skills/cometchat-angular-v5-placement/references/combined-app.md +174 -0
  117. package/skills/cometchat-angular-v5-placement/references/core-surface.md +199 -0
  118. package/skills/cometchat-angular-v5-production/SKILL.md +101 -0
  119. package/skills/cometchat-angular-v5-push/SKILL.md +61 -0
  120. package/skills/cometchat-angular-v5-testing/SKILL.md +112 -0
  121. package/skills/cometchat-angular-v5-troubleshooting/SKILL.md +96 -0
  122. package/skills/cometchat-flutter-v5-sdk/SKILL.md +188 -0
  123. package/skills/cometchat-flutter-v5-sdk/references/doc-corrections.md +55 -0
  124. package/skills/cometchat-flutter-v5-sdk/references/docs-map.md +211 -0
  125. package/skills/cometchat-flutter-v5-sdk/references/platform-notes.md +48 -0
  126. package/skills/cometchat-flutter-v5-sdk/references/transcription.md +87 -0
  127. package/skills/cometchat-flutter-v6-calls/SKILL.md +75 -387
  128. package/skills/cometchat-flutter-v6-components/SKILL.md +88 -361
  129. package/skills/cometchat-flutter-v6-core/SKILL.md +154 -593
  130. package/skills/cometchat-flutter-v6-core/references/anti-patterns.md +55 -0
  131. package/skills/cometchat-flutter-v6-core/references/docs-map.md +143 -0
  132. package/skills/cometchat-flutter-v6-core/references/layout.md +45 -0
  133. package/skills/cometchat-flutter-v6-core/references/lifecycle.md +87 -0
  134. package/skills/cometchat-flutter-v6-core/references/setup-credentials.md +84 -0
  135. package/skills/cometchat-flutter-v6-core/references/troubleshooting.md +26 -0
  136. package/skills/cometchat-flutter-v6-customization/SKILL.md +70 -712
  137. package/skills/cometchat-flutter-v6-events/SKILL.md +79 -174
  138. package/skills/cometchat-flutter-v6-features/SKILL.md +55 -394
  139. package/skills/cometchat-flutter-v6-migration/SKILL.md +68 -367
  140. package/skills/cometchat-flutter-v6-migration/references/migration-guide.md +131 -0
  141. package/skills/cometchat-flutter-v6-patterns/SKILL.md +61 -0
  142. package/skills/cometchat-flutter-v6-placement/SKILL.md +94 -381
  143. package/skills/cometchat-flutter-v6-production/SKILL.md +58 -615
  144. package/skills/cometchat-flutter-v6-push/SKILL.md +46 -455
  145. package/skills/cometchat-flutter-v6-testing/SKILL.md +68 -299
  146. package/skills/cometchat-flutter-v6-troubleshooting/SKILL.md +54 -878
  147. package/skills/cometchat-ios-calls/SKILL.md +105 -511
  148. package/skills/cometchat-ios-components/SKILL.md +44 -834
  149. package/skills/cometchat-ios-core/SKILL.md +181 -1068
  150. package/skills/cometchat-ios-core/references/anti-patterns.md +80 -0
  151. package/skills/cometchat-ios-core/references/docs-map.md +123 -0
  152. package/skills/cometchat-ios-core/references/install.md +23 -0
  153. package/skills/cometchat-ios-core/references/layout.md +186 -0
  154. package/skills/cometchat-ios-core/references/setup-credentials.md +197 -0
  155. package/skills/cometchat-ios-core/references/swiftui.md +91 -0
  156. package/skills/cometchat-ios-core/references/troubleshooting.md +100 -0
  157. package/skills/cometchat-ios-customization/SKILL.md +33 -968
  158. package/skills/cometchat-ios-features/SKILL.md +29 -738
  159. package/skills/cometchat-ios-migration/SKILL.md +39 -0
  160. package/skills/cometchat-ios-placement/SKILL.md +51 -729
  161. package/skills/cometchat-ios-push/SKILL.md +24 -602
  162. package/skills/cometchat-ios-v5-sdk/SKILL.md +161 -0
  163. package/skills/cometchat-ios-v5-sdk/references/docs-map.md +326 -0
  164. package/skills/cometchat-js-v5-sdk/SKILL.md +95 -0
  165. package/skills/cometchat-js-v5-sdk/references/docs-map.md +114 -0
  166. package/skills/cometchat-onboarding/SKILL.md +89 -0
  167. package/skills/cometchat-onboarding/references/archetypes.md +51 -0
  168. package/skills/cometchat-onboarding/references/calling-first.md +77 -0
  169. package/skills/cometchat-onboarding/references/not-in-this-pack.md +8 -0
  170. package/skills/cometchat-onboarding/references/plan-artifact.md +133 -0
  171. package/skills/cometchat-onboarding/references/platforms.md +90 -0
  172. package/skills/cometchat-react-native-bare-patterns/SKILL.md +120 -0
  173. package/skills/cometchat-react-native-calls/SKILL.md +200 -0
  174. package/skills/cometchat-react-native-components/SKILL.md +142 -0
  175. package/skills/cometchat-react-native-core/SKILL.md +313 -0
  176. package/skills/cometchat-react-native-core/references/anti-patterns.md +79 -0
  177. package/skills/cometchat-react-native-core/references/component-props.md +105 -0
  178. package/skills/cometchat-react-native-core/references/dependencies.md +62 -0
  179. package/skills/cometchat-react-native-core/references/docs-map.md +126 -0
  180. package/skills/cometchat-react-native-core/references/layout.md +61 -0
  181. package/skills/cometchat-react-native-core/references/lifecycle.md +64 -0
  182. package/skills/cometchat-react-native-core/references/setup-credentials.md +39 -0
  183. package/skills/cometchat-react-native-customization/SKILL.md +198 -0
  184. package/skills/cometchat-react-native-expo-patterns/SKILL.md +116 -0
  185. package/skills/cometchat-react-native-features/SKILL.md +122 -0
  186. package/skills/cometchat-react-native-migration/SKILL.md +103 -0
  187. package/skills/cometchat-react-native-placement/SKILL.md +158 -0
  188. package/skills/cometchat-react-native-production/SKILL.md +78 -0
  189. package/skills/cometchat-react-native-push/SKILL.md +88 -0
  190. package/skills/cometchat-react-native-sdk/SKILL.md +126 -0
  191. package/skills/cometchat-react-native-sdk/references/method-map.md +239 -0
  192. package/skills/cometchat-react-native-sdk/references/page-map.md +96 -0
  193. package/skills/cometchat-react-native-testing/SKILL.md +94 -0
  194. package/skills/cometchat-react-native-troubleshooting/SKILL.md +116 -0
  195. package/skills/cometchat-react-native-v5-sdk/SKILL.md +150 -0
  196. package/skills/cometchat-react-native-v5-sdk/references/docs-map.md +127 -0
  197. package/skills/cometchat-react-native-v5-sdk/references/ringing-voip.md +369 -0
  198. package/skills/cometchat-react-v7-calls/SKILL.md +75 -0
  199. package/skills/cometchat-react-v7-components/SKILL.md +72 -0
  200. package/skills/cometchat-react-v7-core/SKILL.md +101 -0
  201. package/skills/cometchat-react-v7-core/references/anti-patterns.md +19 -0
  202. package/skills/cometchat-react-v7-core/references/component-props.md +82 -0
  203. package/skills/cometchat-react-v7-core/references/dependencies.md +23 -0
  204. package/skills/cometchat-react-v7-core/references/docs-map.md +117 -0
  205. package/skills/cometchat-react-v7-core/references/i18n-rtl-a11y.md +22 -0
  206. package/skills/cometchat-react-v7-core/references/layout.md +158 -0
  207. package/skills/cometchat-react-v7-core/references/lifecycle.md +74 -0
  208. package/skills/cometchat-react-v7-core/references/setup-credentials.md +58 -0
  209. package/skills/cometchat-react-v7-core/references/ssr.md +11 -0
  210. package/skills/cometchat-react-v7-core/references/theming.md +52 -0
  211. package/skills/cometchat-react-v7-core/references/troubleshooting.md +28 -0
  212. package/skills/cometchat-react-v7-customization/SKILL.md +84 -0
  213. package/skills/cometchat-react-v7-features/SKILL.md +92 -0
  214. package/skills/cometchat-react-v7-migration/SKILL.md +39 -0
  215. package/skills/cometchat-react-v7-migration/references/migration-guide.md +119 -0
  216. package/skills/cometchat-react-v7-patterns/SKILL.md +43 -0
  217. package/skills/cometchat-react-v7-placement/SKILL.md +106 -0
  218. package/skills/cometchat-react-v7-placement/references/recipes.md +354 -0
  219. package/skills/cometchat-react-v7-push/SKILL.md +53 -0
  220. package/test-suite/README.md +70 -0
  221. package/test-suite/catalogs/android-calls-v5.json +830 -0
  222. package/test-suite/catalogs/android-calls-v5.symbols.txt +499 -0
  223. package/test-suite/catalogs/android-v6.json +1646 -0
  224. package/test-suite/catalogs/android-v6.symbols.txt +298 -0
  225. package/test-suite/catalogs/angular-v5.json +7587 -0
  226. package/test-suite/catalogs/flutter-calls-v5.json +196 -0
  227. package/test-suite/catalogs/flutter-calls-v5.symbols.txt +59 -0
  228. package/test-suite/catalogs/flutter-v6.json +651 -0
  229. package/test-suite/catalogs/ios-calls-v5.json +158 -0
  230. package/test-suite/catalogs/ios-calls-v5.symbols.txt +70 -0
  231. package/test-suite/catalogs/ios-v5.json +1383 -0
  232. package/test-suite/catalogs/ios-v5.symbols.txt +699 -0
  233. package/test-suite/catalogs/rn-calls-v5.json +134 -0
  234. package/test-suite/catalogs/rn-sdk-v4.json +672 -0
  235. package/test-suite/catalogs/rn-v5.json +449 -0
  236. package/test-suite/catalogs/sdk-android-v5.json +514 -0
  237. package/test-suite/catalogs/sdk-android-v5.symbols.txt +254 -0
  238. package/test-suite/catalogs/sdk-jsv4.json +800 -0
  239. package/test-suite/catalogs/web-calls-v5.json +195 -0
  240. package/test-suite/catalogs/web-v7.json +1243 -0
  241. package/test-suite/scripts/build-registry.mjs +113 -0
  242. package/test-suite/scripts/catalog-refresh-dart.mjs +151 -0
  243. package/test-suite/scripts/catalog-refresh.mjs +100 -0
  244. package/test-suite/scripts/lint-skills.mjs +909 -0
  245. package/test-suite/scripts/measure-tokens.mjs +169 -0
  246. package/test-suite/scripts/typecheck-fences-dart.mjs +437 -0
  247. package/test-suite/scripts/typecheck-fences-kotlin.mjs +269 -0
  248. package/test-suite/scripts/typecheck-fences.mjs +206 -0
  249. package/test-suite/scripts/verify-catalog.mjs +242 -0
  250. package/test-suite/scripts/verify-contract-fences.mjs +94 -0
  251. package/test-suite/scripts/verify-detection.mjs +178 -0
  252. package/test-suite/scripts/verify-docs-base.mjs +91 -0
  253. package/test-suite/scripts/verify-family-agnostic.mjs +130 -0
  254. package/test-suite/scripts/verify-golden-path.mjs +138 -0
  255. package/test-suite/scripts/verify-oracle-components.mjs +133 -0
  256. package/test-suite/scripts/verify-template-bindings.mjs +148 -0
  257. package/test-suite/typecheck/angular-v5/package.json +21 -0
  258. package/test-suite/typecheck/angular-v5/tsconfig.json +21 -0
  259. package/test-suite/typecheck/flutter-v6/analysis_options.yaml +25 -0
  260. package/test-suite/typecheck/flutter-v6/pubspec.yaml +21 -0
  261. package/test-suite/typecheck/web-v7/package.json +18 -0
  262. package/test-suite/typecheck/web-v7/tsconfig.json +19 -0
  263. package/bin/install.js +0 -1003
  264. package/skills/.claude-plugin/marketplace.json +0 -86
  265. package/skills/cometchat/references/asking-questions.md +0 -48
  266. package/skills/cometchat-a11y/SKILL.md +0 -477
  267. package/skills/cometchat-android-v5/SKILL.md +0 -121
  268. package/skills/cometchat-android-v5-calls/SKILL.md +0 -427
  269. package/skills/cometchat-android-v5-calls/references/README.md +0 -53
  270. package/skills/cometchat-android-v5-calls/references/add-calls-to-existing-chat.md +0 -197
  271. package/skills/cometchat-android-v5-calls/references/audio-controls.md +0 -91
  272. package/skills/cometchat-android-v5-calls/references/background-handling.md +0 -168
  273. package/skills/cometchat-android-v5-calls/references/call-layouts.md +0 -131
  274. package/skills/cometchat-android-v5-calls/references/call-logs.md +0 -113
  275. package/skills/cometchat-android-v5-calls/references/call-session.md +0 -274
  276. package/skills/cometchat-android-v5-calls/references/custom-ui.md +0 -150
  277. package/skills/cometchat-android-v5-calls/references/event-listeners.md +0 -123
  278. package/skills/cometchat-android-v5-calls/references/group-calls.md +0 -205
  279. package/skills/cometchat-android-v5-calls/references/idle-timeout.md +0 -117
  280. package/skills/cometchat-android-v5-calls/references/in-call-chat.md +0 -134
  281. package/skills/cometchat-android-v5-calls/references/join-session.md +0 -120
  282. package/skills/cometchat-android-v5-calls/references/migration-v4-to-v5.md +0 -222
  283. package/skills/cometchat-android-v5-calls/references/participant-management.md +0 -110
  284. package/skills/cometchat-android-v5-calls/references/picture-in-picture.md +0 -106
  285. package/skills/cometchat-android-v5-calls/references/raise-hand.md +0 -248
  286. package/skills/cometchat-android-v5-calls/references/recording.md +0 -101
  287. package/skills/cometchat-android-v5-calls/references/ringing-integration.md +0 -152
  288. package/skills/cometchat-android-v5-calls/references/screen-sharing.md +0 -78
  289. package/skills/cometchat-android-v5-calls/references/server-fcm-voip.md +0 -215
  290. package/skills/cometchat-android-v5-calls/references/session-settings.md +0 -121
  291. package/skills/cometchat-android-v5-calls/references/setup.md +0 -137
  292. package/skills/cometchat-android-v5-calls/references/share-invite.md +0 -156
  293. package/skills/cometchat-android-v5-calls/references/video-controls.md +0 -87
  294. package/skills/cometchat-android-v5-calls/references/voip-calling.md +0 -526
  295. package/skills/cometchat-android-v5-components/SKILL.md +0 -431
  296. package/skills/cometchat-android-v5-core/SKILL.md +0 -486
  297. package/skills/cometchat-android-v5-customization/SKILL.md +0 -469
  298. package/skills/cometchat-android-v5-extensions/SKILL.md +0 -127
  299. package/skills/cometchat-android-v5-features/SKILL.md +0 -131
  300. package/skills/cometchat-android-v5-placement/SKILL.md +0 -277
  301. package/skills/cometchat-android-v5-production/SKILL.md +0 -95
  302. package/skills/cometchat-android-v5-push/SKILL.md +0 -619
  303. package/skills/cometchat-android-v5-testing/SKILL.md +0 -188
  304. package/skills/cometchat-android-v5-theming/SKILL.md +0 -167
  305. package/skills/cometchat-android-v5-troubleshooting/SKILL.md +0 -74
  306. package/skills/cometchat-android-v6/SKILL.md +0 -108
  307. package/skills/cometchat-android-v6-calls/references/add-calls-to-existing-chat.md +0 -97
  308. package/skills/cometchat-android-v6-calls/references/advanced-features.md +0 -87
  309. package/skills/cometchat-android-v6-calls/references/call-layouts.md +0 -100
  310. package/skills/cometchat-android-v6-calls/references/call-session.md +0 -163
  311. package/skills/cometchat-android-v6-calls/references/device-management.md +0 -172
  312. package/skills/cometchat-android-v6-calls/references/group-calls.md +0 -191
  313. package/skills/cometchat-android-v6-calls/references/idle-timeout.md +0 -110
  314. package/skills/cometchat-android-v6-calls/references/in-call-chat.md +0 -141
  315. package/skills/cometchat-android-v6-calls/references/raise-hand.md +0 -188
  316. package/skills/cometchat-android-v6-calls/references/ringing-integration.md +0 -176
  317. package/skills/cometchat-android-v6-calls/references/server-fcm-voip.md +0 -127
  318. package/skills/cometchat-android-v6-calls/references/share-invite.md +0 -105
  319. package/skills/cometchat-android-v6-compose-theming/SKILL.md +0 -250
  320. package/skills/cometchat-android-v6-kotlin-theming/SKILL.md +0 -233
  321. package/skills/cometchat-angular-calls/SKILL.md +0 -378
  322. package/skills/cometchat-angular-calls/references/add-calls-to-existing-chat.md +0 -96
  323. package/skills/cometchat-angular-calls/references/call-layouts.md +0 -123
  324. package/skills/cometchat-angular-calls/references/call-session.md +0 -167
  325. package/skills/cometchat-angular-calls/references/custom-ui.md +0 -239
  326. package/skills/cometchat-angular-calls/references/device-management.md +0 -154
  327. package/skills/cometchat-angular-calls/references/group-calls.md +0 -433
  328. package/skills/cometchat-angular-calls/references/idle-timeout.md +0 -161
  329. package/skills/cometchat-angular-calls/references/in-call-chat.md +0 -148
  330. package/skills/cometchat-angular-calls/references/lazy-loading-pitfalls.md +0 -205
  331. package/skills/cometchat-angular-calls/references/migration-v4-to-v5.md +0 -53
  332. package/skills/cometchat-angular-calls/references/ngzone-and-async-callbacks.md +0 -184
  333. package/skills/cometchat-angular-calls/references/picture-in-picture.md +0 -285
  334. package/skills/cometchat-angular-calls/references/raise-hand.md +0 -172
  335. package/skills/cometchat-angular-calls/references/recording-screen-share.md +0 -260
  336. package/skills/cometchat-angular-calls/references/ringing-integration.md +0 -133
  337. package/skills/cometchat-angular-calls/references/server-web-push-vapid.md +0 -100
  338. package/skills/cometchat-angular-calls/references/share-invite.md +0 -122
  339. package/skills/cometchat-angular-calls/references/virtual-background.md +0 -29
  340. package/skills/cometchat-angular-components/SKILL.md +0 -235
  341. package/skills/cometchat-angular-core/SKILL.md +0 -386
  342. package/skills/cometchat-angular-customization/SKILL.md +0 -616
  343. package/skills/cometchat-angular-features/SKILL.md +0 -329
  344. package/skills/cometchat-angular-patterns/SKILL.md +0 -256
  345. package/skills/cometchat-angular-placement/SKILL.md +0 -314
  346. package/skills/cometchat-angular-production/SKILL.md +0 -564
  347. package/skills/cometchat-angular-push/SKILL.md +0 -389
  348. package/skills/cometchat-angular-testing/SKILL.md +0 -605
  349. package/skills/cometchat-angular-theming/SKILL.md +0 -290
  350. package/skills/cometchat-angular-troubleshooting/SKILL.md +0 -364
  351. package/skills/cometchat-astro-patterns/SKILL.md +0 -708
  352. package/skills/cometchat-calls/SKILL.md +0 -364
  353. package/skills/cometchat-calls/references/use-case-broadcast.md +0 -199
  354. package/skills/cometchat-calls/references/use-case-marketplace.md +0 -157
  355. package/skills/cometchat-calls/references/use-case-support.md +0 -189
  356. package/skills/cometchat-calls/references/use-case-team.md +0 -180
  357. package/skills/cometchat-calls/references/use-case-telehealth.md +0 -153
  358. package/skills/cometchat-components/SKILL.md +0 -1142
  359. package/skills/cometchat-core/SKILL.md +0 -1048
  360. package/skills/cometchat-customization/SKILL.md +0 -580
  361. package/skills/cometchat-customization/references/component-catalog.md +0 -236
  362. package/skills/cometchat-features/SKILL.md +0 -861
  363. package/skills/cometchat-flutter-v5/SKILL.md +0 -173
  364. package/skills/cometchat-flutter-v5-calls/SKILL.md +0 -453
  365. package/skills/cometchat-flutter-v5-calls/references/add-calls-to-existing-chat.md +0 -193
  366. package/skills/cometchat-flutter-v5-calls/references/call-layouts.md +0 -103
  367. package/skills/cometchat-flutter-v5-calls/references/call-session.md +0 -285
  368. package/skills/cometchat-flutter-v5-calls/references/device-management.md +0 -124
  369. package/skills/cometchat-flutter-v5-calls/references/group-calls.md +0 -181
  370. package/skills/cometchat-flutter-v5-calls/references/idle-timeout.md +0 -99
  371. package/skills/cometchat-flutter-v5-calls/references/in-call-chat.md +0 -135
  372. package/skills/cometchat-flutter-v5-calls/references/migration-v4-to-v5.md +0 -210
  373. package/skills/cometchat-flutter-v5-calls/references/raise-hand.md +0 -255
  374. package/skills/cometchat-flutter-v5-calls/references/ringing-integration.md +0 -196
  375. package/skills/cometchat-flutter-v5-calls/references/server-push-bridge.md +0 -101
  376. package/skills/cometchat-flutter-v5-calls/references/share-invite.md +0 -148
  377. package/skills/cometchat-flutter-v5-conversations/SKILL.md +0 -118
  378. package/skills/cometchat-flutter-v5-core/SKILL.md +0 -239
  379. package/skills/cometchat-flutter-v5-customization/SKILL.md +0 -358
  380. package/skills/cometchat-flutter-v5-events/SKILL.md +0 -156
  381. package/skills/cometchat-flutter-v5-messages/SKILL.md +0 -259
  382. package/skills/cometchat-flutter-v5-production/SKILL.md +0 -216
  383. package/skills/cometchat-flutter-v5-push/SKILL.md +0 -285
  384. package/skills/cometchat-flutter-v5-testing/SKILL.md +0 -401
  385. package/skills/cometchat-flutter-v5-theming/SKILL.md +0 -161
  386. package/skills/cometchat-flutter-v5-troubleshooting/SKILL.md +0 -130
  387. package/skills/cometchat-flutter-v5-users-groups/SKILL.md +0 -152
  388. package/skills/cometchat-flutter-v6/SKILL.md +0 -446
  389. package/skills/cometchat-flutter-v6-calls/references/add-calls-to-existing-chat.md +0 -136
  390. package/skills/cometchat-flutter-v6-calls/references/advanced-features.md +0 -89
  391. package/skills/cometchat-flutter-v6-calls/references/call-layouts.md +0 -105
  392. package/skills/cometchat-flutter-v6-calls/references/call-session.md +0 -229
  393. package/skills/cometchat-flutter-v6-calls/references/device-management.md +0 -105
  394. package/skills/cometchat-flutter-v6-calls/references/group-calls.md +0 -190
  395. package/skills/cometchat-flutter-v6-calls/references/idle-timeout.md +0 -88
  396. package/skills/cometchat-flutter-v6-calls/references/in-call-chat.md +0 -125
  397. package/skills/cometchat-flutter-v6-calls/references/raise-hand.md +0 -275
  398. package/skills/cometchat-flutter-v6-calls/references/ringing-integration.md +0 -171
  399. package/skills/cometchat-flutter-v6-calls/references/server-push-bridge.md +0 -93
  400. package/skills/cometchat-flutter-v6-calls/references/share-invite.md +0 -102
  401. package/skills/cometchat-flutter-v6-conversations/SKILL.md +0 -238
  402. package/skills/cometchat-flutter-v6-messages/SKILL.md +0 -384
  403. package/skills/cometchat-flutter-v6-theming/SKILL.md +0 -293
  404. package/skills/cometchat-flutter-v6-users-groups/SKILL.md +0 -224
  405. package/skills/cometchat-i18n/SKILL.md +0 -419
  406. package/skills/cometchat-ios/SKILL.md +0 -325
  407. package/skills/cometchat-ios-calls/references/add-calls-to-existing-chat.md +0 -174
  408. package/skills/cometchat-ios-calls/references/audio-modes-and-controls.md +0 -45
  409. package/skills/cometchat-ios-calls/references/avaudiosession-routing.md +0 -188
  410. package/skills/cometchat-ios-calls/references/call-layouts.md +0 -76
  411. package/skills/cometchat-ios-calls/references/call-session.md +0 -218
  412. package/skills/cometchat-ios-calls/references/callkit-and-pushkit.md +0 -357
  413. package/skills/cometchat-ios-calls/references/custom-ui.md +0 -322
  414. package/skills/cometchat-ios-calls/references/device-management.md +0 -171
  415. package/skills/cometchat-ios-calls/references/group-calls.md +0 -359
  416. package/skills/cometchat-ios-calls/references/idle-timeout.md +0 -184
  417. package/skills/cometchat-ios-calls/references/in-call-chat.md +0 -179
  418. package/skills/cometchat-ios-calls/references/migration-v4-to-v5.md +0 -196
  419. package/skills/cometchat-ios-calls/references/picture-in-picture.md +0 -246
  420. package/skills/cometchat-ios-calls/references/raise-hand.md +0 -26
  421. package/skills/cometchat-ios-calls/references/recording-screen-share.md +0 -252
  422. package/skills/cometchat-ios-calls/references/ringing-integration.md +0 -143
  423. package/skills/cometchat-ios-calls/references/server-apns-pushkit.md +0 -267
  424. package/skills/cometchat-ios-calls/references/share-invite.md +0 -148
  425. package/skills/cometchat-ios-calls/references/swiftui-uikit-hosting.md +0 -246
  426. package/skills/cometchat-ios-calls/references/voip-cert-setup.md +0 -166
  427. package/skills/cometchat-ios-production/SKILL.md +0 -738
  428. package/skills/cometchat-ios-testing/SKILL.md +0 -376
  429. package/skills/cometchat-ios-theming/SKILL.md +0 -667
  430. package/skills/cometchat-ios-troubleshooting/SKILL.md +0 -1003
  431. package/skills/cometchat-native-bare-patterns/SKILL.md +0 -550
  432. package/skills/cometchat-native-calls/SKILL.md +0 -669
  433. package/skills/cometchat-native-calls/references/add-calls-to-existing-chat.md +0 -203
  434. package/skills/cometchat-native-calls/references/call-layouts.md +0 -125
  435. package/skills/cometchat-native-calls/references/call-session.md +0 -182
  436. package/skills/cometchat-native-calls/references/custom-ui.md +0 -254
  437. package/skills/cometchat-native-calls/references/device-management.md +0 -158
  438. package/skills/cometchat-native-calls/references/expo-vs-bare.md +0 -179
  439. package/skills/cometchat-native-calls/references/group-calls.md +0 -296
  440. package/skills/cometchat-native-calls/references/idle-timeout.md +0 -128
  441. package/skills/cometchat-native-calls/references/in-call-chat.md +0 -145
  442. package/skills/cometchat-native-calls/references/migration-v4-to-v5.md +0 -72
  443. package/skills/cometchat-native-calls/references/picture-in-picture.md +0 -276
  444. package/skills/cometchat-native-calls/references/raise-hand.md +0 -205
  445. package/skills/cometchat-native-calls/references/recording-screen-share.md +0 -169
  446. package/skills/cometchat-native-calls/references/ringing-integration.md +0 -118
  447. package/skills/cometchat-native-calls/references/server-push-bridge.md +0 -135
  448. package/skills/cometchat-native-calls/references/server-push-payloads.md +0 -193
  449. package/skills/cometchat-native-calls/references/share-invite.md +0 -146
  450. package/skills/cometchat-native-calls/references/voip-push-end-to-end.md +0 -319
  451. package/skills/cometchat-native-components/SKILL.md +0 -628
  452. package/skills/cometchat-native-core/SKILL.md +0 -679
  453. package/skills/cometchat-native-customization/SKILL.md +0 -716
  454. package/skills/cometchat-native-expo-patterns/SKILL.md +0 -552
  455. package/skills/cometchat-native-features/SKILL.md +0 -638
  456. package/skills/cometchat-native-placement/SKILL.md +0 -509
  457. package/skills/cometchat-native-production/SKILL.md +0 -700
  458. package/skills/cometchat-native-push/SKILL.md +0 -594
  459. package/skills/cometchat-native-testing/SKILL.md +0 -582
  460. package/skills/cometchat-native-theming/SKILL.md +0 -681
  461. package/skills/cometchat-native-troubleshooting/SKILL.md +0 -501
  462. package/skills/cometchat-nextjs-patterns/SKILL.md +0 -899
  463. package/skills/cometchat-placement/SKILL.md +0 -1360
  464. package/skills/cometchat-production/SKILL.md +0 -1027
  465. package/skills/cometchat-react-calls/SKILL.md +0 -749
  466. package/skills/cometchat-react-calls/references/add-calls-to-existing-chat.md +0 -146
  467. package/skills/cometchat-react-calls/references/call-layouts.md +0 -160
  468. package/skills/cometchat-react-calls/references/call-session.md +0 -235
  469. package/skills/cometchat-react-calls/references/custom-ui.md +0 -247
  470. package/skills/cometchat-react-calls/references/device-management.md +0 -210
  471. package/skills/cometchat-react-calls/references/group-calls.md +0 -257
  472. package/skills/cometchat-react-calls/references/idle-timeout.md +0 -188
  473. package/skills/cometchat-react-calls/references/in-call-chat.md +0 -212
  474. package/skills/cometchat-react-calls/references/migration-v4-to-v5.md +0 -170
  475. package/skills/cometchat-react-calls/references/picture-in-picture.md +0 -245
  476. package/skills/cometchat-react-calls/references/raise-hand.md +0 -238
  477. package/skills/cometchat-react-calls/references/recording-screen-share.md +0 -144
  478. package/skills/cometchat-react-calls/references/ringing-integration.md +0 -255
  479. package/skills/cometchat-react-calls/references/server-web-push-vapid.md +0 -241
  480. package/skills/cometchat-react-calls/references/share-invite.md +0 -175
  481. package/skills/cometchat-react-calls/references/testing-calls-on-web.md +0 -216
  482. package/skills/cometchat-react-calls/references/virtual-background.md +0 -32
  483. package/skills/cometchat-react-calls/references/voip-and-web-push.md +0 -165
  484. package/skills/cometchat-react-patterns/SKILL.md +0 -628
  485. package/skills/cometchat-react-push/SKILL.md +0 -634
  486. package/skills/cometchat-react-router-patterns/SKILL.md +0 -758
  487. package/skills/cometchat-react-testing/SKILL.md +0 -413
  488. package/skills/cometchat-theming/SKILL.md +0 -498
  489. package/skills/cometchat-troubleshooting/SKILL.md +0 -294
@@ -0,0 +1,133 @@
1
+ # plan-artifact — the template + the plan-completeness contract
2
+
3
+ The plan artifact is onboarding's DELIVERABLE. Because an onboarding skill emits no CometChat symbols, its "completeness oracle" is not a symbol catalog — it is this **plan-completeness contract**: the fixed set of sections the plan MUST contain, so every run of onboarding produces the same complete plan shape (not a lucky partial). This mirrors how `contracts.json` fixes the floor for a UI-Kit surface; here the floor is the plan itself. The matching machine-checkable contract lives in `contracts.json` as `onboarding-plan` (kind `plan`).
4
+
5
+ ## The plan-completeness contract — the plan MUST contain all seven
6
+
7
+ | # | Section | What it fixes | Sourced from |
8
+ |---|---|---|---|
9
+ | 1 | **Discovery summary** | Every beat-1 signal, each a value or explicit `null` — framework · bundler · language · package manager · auth · styling · state · routing · SSR/CSR · existing CometChat · installed UI Kit / `version_conflict` · env file + prefix | repo read (package.json / lockfile / configs / source) |
10
+ | 2 | **Intent → capability map** | The confirmed archetype · modality · scope, TRANSLATED to CometChat capabilities, **each tagged UI Kit component or SDK method** (UI-Kit-first / SDK-fallback — flag SDK-backed features so the core wires them from the SDK docs) | beat-2 answers + `references/archetypes.md` |
11
+ | 3 | **Numbered actions** | The scoped build steps, in order — what the core will do | archetype + scope |
12
+ | 4 | **Files that will change** | The concrete paths/areas the build touches (additive — APPEND, never replace) | discovery + scope |
13
+ | 5 | **Packages** | The exact package(s) to install, with major pins (the core owns exact coordinates) | modality + framework |
14
+ | 6 | **Credential + auth strategy** | Dev Auth-Key vs prod server-minted auth token, CHOSEN from discovery (§archetypes credential heuristic) | `auth` signal |
15
+ | 7 | **Modify-or-approve gate** | An explicit invitation to EDIT or APPROVE — nothing is written before approval | always |
16
+
17
+ A plan missing any of the seven is **incomplete** — do not present it or hand off. (This is the onboarding analogue of "dropped a contract min_capability".)
18
+
19
+ ## The template (fill every section; keep it concrete, not generic)
20
+
21
+ ```md
22
+ ## CometChat integration plan
23
+
24
+ ### 1. What I found (discovery)
25
+ - Framework: <value | null>
26
+ - Bundler: <value | null>
27
+ - Language: <TypeScript | JavaScript>
28
+ - Package mgr: <npm | pnpm | yarn | bun | null>
29
+ - Auth: <nextauth | clerk | firebase | auth0 | supabase | custom | null>
30
+ - Styling: <tailwind | css-modules | mui | styled-components | chakra | null>
31
+ - State: <redux | zustand | mobx | recoil | context | null>
32
+ - Routing: <value | null>
33
+ - SSR/CSR: <ssr | csr | islands | null>
34
+ - Existing CometChat: <yes (uikit <ver>) | no> · version_conflict: <none | detail>
35
+ - Env file/prefix: <.env / VITE_ | .env.local / NEXT_PUBLIC_ | … | n/a>
36
+
37
+ ### 2. What you want (intent → CometChat capabilities)
38
+ - Archetype: <1:1/marketplace | support | community | full-messenger | embedded>
39
+ - Modality: <chat | calls | both>
40
+ - Scope: <smallest surface | full combined app | embedded panel>
41
+ - Theming: <auto/follow-OS light+dark (default) | fixed light | fixed dark> + <default tokens | match design system | brand palette | custom>
42
+ - → Capabilities: <the archetype's capability list from archetypes.md, e.g.
43
+ "1:1 conversations · conversation list · message pane (send/receive + attachments) ·
44
+ a 'Message seller' entry button">
45
+
46
+ ### 3. What I'll do
47
+ 1. <install the packages>
48
+ 2. <credentials + env (dev Auth-Key OR prod token path — see §6)>
49
+ 3. <init → login → render the scoped surface>
50
+ 4. <wire the entry point into the existing app (routing/auth/state reuse)>
51
+ 5. <match the existing design system> ← if styling detected
52
+ 6. <calls layer + permissions> ← if modality includes calls
53
+ 7. <…scoped to the archetype; smallest correct set>
54
+
55
+ ### 4. Files that will change (additive — nothing replaced)
56
+ - <path/area 1>
57
+ - <path/area 2>
58
+ - <env file>
59
+ (APPEND only — your existing code is not rewritten.)
60
+
61
+ ### 5. Packages
62
+ - <exact package@major> … (the framework core owns the exact coordinates + pins)
63
+
64
+ ### 6. Credential + auth strategy
65
+ - <Dev Auth-Key path — get moving now; do NOT ship the Auth Key to prod>
66
+ OR
67
+ - <Prod server-minted auth token wired to <detected auth>: your backend mints a
68
+ per-user CometChat auth token; frontend logs in with it. Map <app user id> → CometChat UID.>
69
+ (Credentials are fetched by the framework core at build time — it will OFFER to fetch the App ID/Region/Auth Key from the dashboard (loading the CometChat CLI on demand → `provision`) or let you paste them manually, then write the env itself; this section only states the dev-vs-prod strategy, not the fetch method.)
70
+
71
+ ### 7. Approve or edit
72
+ Edit any part of this plan (change the archetype, add calling, narrow scope, switch the
73
+ credential strategy), or approve to start. **Nothing is written until you approve.**
74
+ ```
75
+
76
+ ## After approval — the scoped build directive (hand-off, not part of the plan the user sees)
77
+ On approval, hand the framework core a compact directive naming ONLY the scoped surface:
78
+ ```
79
+ build-directive:
80
+ core: cometchat-<family>-core # the framework core for the detected framework
81
+ archetype: 1:1/marketplace
82
+ modality: chat
83
+ scope: smallest 1:1 surface (message button → conversation ↔ message pane)
84
+ credentials: dev-auth-key # from plan §6
85
+ touch: [src/features/chat/*, src/components/MessageSellerButton.tsx, .env]
86
+ also-skills: [] # only what the plan named (calls / customization / patterns …)
87
+ ```
88
+ The core then does credentials + build + verify. For a framework with no shipped core (React Native, Vue, Flutter, iOS, Android — NOT React or Angular, which both ship one), DO NOT emit a directive — state the not-yet-built posture and offer the plan as the hand-off spec.
89
+
90
+ ## Worked example (Next.js marketplace, chat only)
91
+
92
+ ```md
93
+ ## CometChat integration plan
94
+
95
+ ### 1. What I found (discovery)
96
+ - Framework: Next.js (App Router) · Bundler: Turbopack/Webpack · Language: TypeScript
97
+ - Package mgr: pnpm · Auth: NextAuth · Styling: Tailwind · State: Zustand
98
+ - Routing: App Router · SSR/CSR: ssr · Existing CometChat: no · version_conflict: none
99
+ - Env file/prefix: .env.local / NEXT_PUBLIC_
100
+
101
+ ### 2. What you want (intent → CometChat capabilities)
102
+ - Archetype: 1:1/marketplace · Modality: chat · Scope: smallest 1:1 surface
103
+ - → Capabilities: 1:1 conversations · conversation list · message pane (send/receive + attachments)
104
+ · unread + presence · a "Message seller" button off the listing page
105
+
106
+ ### 3. What I'll do
107
+ 1. Install the React UI Kit + Chat SDK (major-pinned).
108
+ 2. Credentials: prod server-minted auth token wired to NextAuth (Auth Key dev-only to start).
109
+ 3. Client-only init → login → render the scoped 1:1 surface (App Router client boundary).
110
+ 4. Add a "Message seller" button on the listing page → opens the conversation.
111
+ 5. Match the Tailwind design tokens (hand to customization).
112
+
113
+ ### 4. Files that will change (additive)
114
+ - src/app/(chat)/… (a client chat route)
115
+ - src/components/MessageSellerButton.tsx
116
+ - src/lib/cometchat/… (init/login helpers)
117
+ - .env.local
118
+ (APPEND only.)
119
+
120
+ ### 5. Packages
121
+ - The resolved family's `kit_package` (+ `sdk_package` / `calls_package` where the row has them),
122
+ read from `peers.yaml` — plus that kit's required peer deps. Never hardcode one family's packages.
123
+
124
+ ### 6. Credential + auth strategy
125
+ - Prod server-minted auth token: a Next route mints a per-user CometChat auth token from the
126
+ NextAuth session; the client logs in with it. Map the NextAuth user id → CometChat UID.
127
+ Dev Auth-Key is fine locally but never shipped.
128
+
129
+ ### 7. Approve or edit
130
+ Edit any part (add calling, widen to groups, change the credential path), or approve to start.
131
+ Nothing is written until you approve.
132
+ ```
133
+ On approval → hand off to `cometchat-<family>-core` with the scoped directive above; pull in `customization` (Tailwind match) and `patterns` (Next App-Router client boundary) because the plan named them — nothing else.
@@ -0,0 +1,90 @@
1
+ <!-- family-agnostic: per-platform-by-design — this reference IS the per-family table; lint-skills GATE R
2
+ requires one entry per shipped family, so naming a single family here is the point, not a defect. -->
3
+
4
+ # Platform specifics — what differs per platform
5
+
6
+ This gate is framework-agnostic, but several of its beats have a platform-specific answer. The
7
+ entry keeps the neutral rule; the concrete values live here. Load when you have detected the
8
+ platform. **Every family that ships a `-core` in `peers.yaml` has a column below** — a missing
9
+ column means beat 1 gets improvised (`lint-skills.mjs` checks this table against the shipped cores).
10
+
11
+ ## Detection fields (beat 1) — web
12
+
13
+ | | Web (React) | Web (Angular) |
14
+ |---|---|---|
15
+ | project marker | `package.json` (`react`, no `react-native`/`expo`) | `package.json` (`@angular/core`) + `angular.json` |
16
+ | dependency manager | npm/pnpm/yarn (from the lockfile) | npm/pnpm/yarn (from the lockfile) |
17
+ | build/bundler | `bundler` · `router` · `ssr_strategy` | Angular CLI (`angular.json` builder); `router` = `@angular/router` |
18
+ | UI framework | React | Angular standalone components (kebab-case selectors) |
19
+ | version floor | `framework_version` | Angular 17–21 (the kit's range — `cometchat-angular-v5-core`) |
20
+ | language | TS / JS | TS |
21
+ | credentials file | `.env` (with the framework's env prefix) | `src/environments/environment.ts` (build-time file replacement — NOT `.env`) |
22
+ | existing integration | `@cometchat/chat-uikit-react` in `package.json` | `@cometchat/chat-uikit-angular` in `package.json` |
23
+
24
+ ## Detection fields (beat 1) — mobile
25
+
26
+ | | iOS (Swift) | Android (Kotlin) | React Native | Flutter |
27
+ |---|---|---|---|---|
28
+ | project marker | `*.xcodeproj` / `*.xcworkspace` / `Package.swift` | `settings.gradle(.kts)` + `app/build.gradle(.kts)` | `package.json` with `react-native` (+ `expo` ⇒ Expo; `app.json`, `metro.config.js`) | `pubspec.yaml` (+ `pubspec.lock`) |
29
+ | dependency manager | **SPM**. A `Podfile` is a DETECTION signal only — CocoaPods distribution is winding down, so never integrate through it | Gradle (Kotlin DSL or Groovy; version catalog if `gradle/libs.versions.toml`) + the Cloudsmith Maven repo | npm/yarn (lockfile); Expo vs bare decides the `patterns` skill (`expo-patterns` / `bare-patterns`) | pub |
30
+ | build/bundler | not applicable — no bundler, no SSR, no routing story | not applicable — record `android_variant` instead (below) | Metro — no bundler/SSR choice | not applicable |
31
+ | UI framework | **UIKit or SwiftUI** — ask if ambiguous; the shipped kit is UIKit | **`android_variant`: `views` (XML Views → `kotlin-*` skills) or `compose` (Jetpack Compose → `compose-*` skills)** — read it from the compose plugin / `androidx.compose` deps; `mixed`/`unknown` ⇒ ask | React Native components | Flutter widgets |
32
+ | version floor | `deployment_target` (the kit's floor is iOS 15.1) | `minSdk` / `compileSdk` / Kotlin / AGP — **UI Kit v6: minSdk 28, compileSdk 36, Kotlin 2.1, AGP 8.9.1**; **headless Calls SDK v5: minSdk 26** (its TRUE transitive floor — the docs overview's 24 fails the manifest merge; `cometchat-android-v5-calls-sdk`). Read the app's `minSdk` in beat 1 and put the bump in the plan | React Native ≥ 0.77 | Flutter ≥ 3.19, Dart ≥ 3.10.1 |
33
+ | language | Swift | Kotlin (Java is the legacy cohort) | TS / JS | Dart |
34
+ | credentials file | `Config/Secrets.xcconfig` → `Info.plist` → `Bundle.main` | `app/src/main/assets/cometchat-settings.json` (**gitignored**; read by `initFromSettings` — chat, UI Kit AND calls share the ONE file); build-time extras via `local.properties` → `BuildConfig` | `.env` | `cometchat-settings.json` — a **registered asset** in `pubspec.yaml`, not a dotenv file |
35
+ | existing integration | `CometChatUIKitSwift` in `Package.swift` / `Podfile` | any `com.cometchat:` coordinate in `app/build.gradle(.kts)` — `chatuikit-*` (UI Kit v6), `chat-sdk-android` (headless chat), `calls-sdk-android` (headless calls) | `@cometchat/chat-uikit-react-native` in `package.json` | `cometchat_chat_uikit` in `pubspec.yaml` |
36
+
37
+ There is no `env_prefix` on iOS/Android/Flutter, and no lockfile-derived package manager on
38
+ iOS/Android — asking for either signals the gate was not really platform-aware.
39
+
40
+ ## Follow-the-OS theming (beat 3)
41
+
42
+ Whether the kit follows the OS by itself DIFFERS per platform — do not assume the web answer:
43
+
44
+ - **Web (React):** it does NOT. There is no `theme="system"`, so the core syncs `theme` ↔ the
45
+ `prefers-color-scheme` media query (AUDIT-004).
46
+ - **Web (Angular):** the kit's `initFromPreference()` respects `prefers-color-scheme` and keeps its own
47
+ `matchMedia` listener — one call, no host observer (`cometchat-angular-v5-customization`).
48
+ - **iOS:** it DOES, with no host code at all. The kit's components override
49
+ `traitCollectionDidChange` and its palette uses dynamic colours, so light/dark follows the device
50
+ automatically. Do not offer to "wire up" OS theming on iOS, and do not port the web recipe —
51
+ `prefers-color-scheme` does not exist outside a web view, and the observer is unnecessary anyway.
52
+ - **Android:** it DEPENDS on the cohort. **Views:** it DOES with no extra code — extend
53
+ `CometChatTheme.DayNight` (AppCompat DayNight follows the system `uiMode`). **Compose:** it does NOT
54
+ by itself — the host MUST wrap the kit UI in `CometChatTheme(colorScheme = if (isSystemInDarkTheme())
55
+ darkColorScheme() else lightColorScheme()) { … }`; with no wrapper the kit renders its light defaults
56
+ and ignores the OS setting (like the React Native "supply BOTH light and dark" case below, NOT the
57
+ automatic iOS case). The core Compose golden path emits this wrapper when theming is "Auto — follow
58
+ OS"; full theming API is `cometchat-android-v6-compose-customization`.
59
+ - **React Native:** supply BOTH `light` and `dark` to the provider; the kit then follows the OS scheme —
60
+ setting only `light` is the classic bug (`cometchat-react-native-customization`).
61
+ - **Flutter:** Flutter's own `themeMode: ThemeMode.system` — nothing CometChat-specific (`cometchat-flutter-v6-customization`).
62
+
63
+ ## The feature menu (beat 2)
64
+
65
+ The offered capabilities come from the DETECTED platform's manifest, and they are not the same
66
+ list:
67
+
68
+ - **Web (React):** `features.json` · **Web (Angular):** `features.angular-v5.json`
69
+ - **iOS:** `features.ios-v5.json`
70
+ - **Android:** `features.android-v6.json` (UI Kit) · `features.sdk-android-v5.json` (headless chat) ·
71
+ `features.android-calls-v5.json` (headless calling-first — `calling-first.md`)
72
+ - **React Native:** `features.rn-v5.json`
73
+ - **Flutter:** `features.flutter-v6.json`
74
+
75
+ Never offer a feature the detected platform does not ship. On iOS in particular there is **no
76
+ composite chat component** — the host composes header + list + composer and owns the list ↔ detail
77
+ navigation, so "a chat screen" is a composition task, not a single drop-in. On Android the
78
+ headless calls family is receive-only for screen share and has no virtual background — do not offer either.
79
+
80
+ ## SDK-fallback lookup
81
+
82
+ Per-feature fallback resolves through the DETECTED platform's core docs-map, never React's by
83
+ default:
84
+
85
+ > **Web (React):** `cometchat-react-v7-core/references/docs-map.md`
86
+ > **Web (Angular):** `cometchat-angular-v5-core/references/docs-map.md`
87
+ > **iOS:** `cometchat-ios-core/references/docs-map.md`
88
+ > **Android:** `cometchat-android-v6-core/references/docs-map.md` (UI Kit) · `cometchat-android-v5-sdk/references/docs-map.md` (headless chat) · `cometchat-android-v5-calls-sdk/references/docs-map.md` (headless calls)
89
+ > **React Native:** `cometchat-react-native-core/references/docs-map.md`
90
+ > **Flutter:** `cometchat-flutter-v6-core/references/docs-map.md`
@@ -0,0 +1,120 @@
1
+ ---
2
+ name: cometchat-react-native-bare-patterns
3
+ description: "Bare React Native CLI wiring for the CometChat UI Kit v5 — pod install, Android manifest permissions, and the gesture-handler import that must be the first line of your entry file. Triggers: CometChat React Native CLI, pod install CometChat, RN chat crashes on Android build, gesture handler crash release build, AndroidManifest CometChat permissions."
4
+ license: "MIT"
5
+ compatibility: "React Native >=0.77 (CLI / bare); @cometchat/chat-uikit-react-native ^5.4.0"
6
+ metadata:
7
+ author: "CometChat"
8
+ version: "1.0.0"
9
+ tags: "chat cometchat react-native cli bare pods gradle manifest gesture-handler"
10
+ ---
11
+
12
+ > **Ground truth:** `@cometchat/chat-uikit-react-native@5` + catalog `rn-v5.json`.
13
+ > Docs: `/ui-kit/react-native/react-native-cli-integration` · `react-native-conversation` ·
14
+ > `react-native-tab-based-chat`.
15
+
16
+ ## Companion skills (read first)
17
+ - `cometchat-react-native-core` — install, provider chain, init→login→render. Assumed, not repeated here.
18
+ - `cometchat-react-native-expo-patterns` — the Expo equivalent. Use that one for an Expo project.
19
+
20
+ ## Use this skill when
21
+ - the project has real `ios/` and `android/` directories and **no** `expo` key in `app.json`
22
+ - "add chat to my React Native CLI app" · "Android build fails after installing CometChat"
23
+
24
+ ## Prerequisites & install
25
+
26
+ ```bash
27
+ npm install @cometchat/chat-uikit-react-native@5 @cometchat/chat-sdk-react-native@4
28
+ npm install @react-native-clipboard/clipboard \
29
+ react-native-svg react-native-video react-native-localize react-native-gesture-handler \
30
+ react-native-safe-area-context @react-native-async-storage/async-storage@^2.1.2 dayjs
31
+ cd ios && pod install && cd ..
32
+ ```
33
+
34
+ You own `ios/` and `android/`, so native config is edited **directly** — the opposite of Expo, where
35
+ those directories are generated and hand-edits get overwritten.
36
+
37
+ ## The four native steps that are not optional
38
+
39
+ ### 1. `react-native-gesture-handler` must be the FIRST import of your entry file
40
+ ```js title="index.js"
41
+ import 'react-native-gesture-handler';
42
+ // …every other import after this
43
+ ```
44
+ Not at the top of a screen — the **very top of `index.js`**, before anything else. Getting this wrong
45
+ often works in debug and **crashes in release**, which is the worst possible failure shape: it passes
46
+ local testing and breaks for users.
47
+
48
+ ### 2. iOS Podfile needs modular headers for two transitive pods
49
+ `@cometchat/chat-uikit-react-native` is a **Swift** pod that depends on `SPTPersistentCache`
50
+ and `DVAssetLoaderDelegate`, neither of which defines a module. On a static-library build —
51
+ the React Native default — `pod install` **fails outright**:
52
+
53
+ > The Swift pod `react-native-cometchat-ui-kit` depends upon `SPTPersistentCache` and
54
+ > `DVAssetLoaderDelegate`, which do not define modules.
55
+
56
+ Add these inside your target in `ios/Podfile`, then re-run `pod install`:
57
+
58
+ ```ruby title="ios/Podfile"
59
+ target 'YourApp' do
60
+ pod 'SPTPersistentCache', :modular_headers => true
61
+ pod 'DVAssetLoaderDelegate', :modular_headers => true
62
+ # …
63
+ end
64
+ ```
65
+
66
+ Both official CometChat sample apps carry exactly these two lines. The integration docs do
67
+ not mention them (**RN-G14**), so a first `pod install` fails with an error that names two
68
+ pods the developer has never heard of.
69
+
70
+ ### 3. Android permissions in the manifest
71
+ `android/app/src/main/AndroidManifest.xml` — `INTERNET` at minimum; the camera/audio set only if you
72
+ add calling. Fetch the exact list from the integration page rather than copying a partial set.
73
+
74
+ ## Calling on bare RN
75
+ ```bash
76
+ npm install @cometchat/calls-sdk-react-native@5
77
+ # 6 REQUIRED peer deps — the calls SDK's declared peerDependencies. Pinned; do NOT float them.
78
+ npm install @react-native-async-storage/async-storage@^2.1.2 react-native-background-timer@^2.4.1 \
79
+ react-native-performance@^5.1.2 react-native-svg@^15.12.0 react-native-url-polyfill@2.0.0 \
80
+ react-native-webrtc@124.0.7
81
+ cd ios && pod install && cd ..
82
+ ```
83
+ ⚠️ `react-native-url-polyfill` + `react-native-performance` are **bundle-critical** (the UIKit
84
+ module-scope `require()`s the calls SDK, so Metro resolves its peers even in a chat-only build). Keep
85
+ `react-native-performance` on **5.x** (a floated `^6` breaks later `npm install` with ERESOLVE).
86
+ `@react-native-community/netinfo` / `react-native-callstats` are NOT declared peers — do not add them.
87
+
88
+ iOS permissions go in `ios/<YourApp>/Info.plist`:
89
+
90
+ ```xml
91
+ <key>NSCameraUsageDescription</key>
92
+ <string>Camera access for video calls</string>
93
+ <key>NSMicrophoneUsageDescription</key>
94
+ <string>Microphone access for voice/video calls</string>
95
+ ```
96
+
97
+ Simulators cannot capture camera or microphone — verify calls on a real device.
98
+
99
+ ## After any native change — rebuild, don't reload
100
+ Metro reload only refreshes JavaScript. A new native module, a Gradle edit or a plist change needs a
101
+ full rebuild (`npx react-native run-ios` / `run-android`). "I installed it and nothing changed" is
102
+ almost always a missed rebuild.
103
+
104
+ ## What is the same as Expo
105
+ Everything above the native layer: providers, `init → login → render`, components, theming,
106
+ navigation. Only install and native config differ.
107
+
108
+ ## Common pitfalls
109
+ 1. **`gesture-handler` imported late** — works in debug, crashes in release.
110
+ 2. **Missing the Podfile modular-headers lines** — `pod install` fails, naming two unfamiliar transitive pods.
111
+ 3. **Skipping `pod install`** after adding a package — iOS fails to link.
112
+ 4. **Reloading instead of rebuilding** after a native change.
113
+ 5. **Copying Expo's `app.json` permission block** into a bare app — it does nothing there.
114
+
115
+ ## Verify it works
116
+ - `index.js` starts with the gesture-handler import.
117
+ - iOS and Android both build clean from scratch.
118
+ - `npm run verify:fences:rn-v5` is green.
119
+ - On device: chat renders, gestures respond, the composer survives the keyboard. Test a **release**
120
+ build too — the gesture-handler ordering bug only shows there.
@@ -0,0 +1,200 @@
1
+ ---
2
+ name: cometchat-react-native-calls
3
+ description: "Voice and video calling in the CometChat React Native UI Kit v5 — the RN calls SDK, the native permissions and version floors it needs, and why installing the package is itself the enable switch. Triggers: add video calling React Native, CometChat voice call RN, incoming call screen RN, calls not ringing React Native, webrtc CometChat."
4
+ license: "MIT"
5
+ compatibility: "React Native >=0.77; @cometchat/chat-uikit-react-native ^5.4.0; @cometchat/calls-sdk-react-native ^5.0.4; Android minSdk 24; iOS 13.0"
6
+ metadata:
7
+ author: "CometChat"
8
+ version: "1.0.0"
9
+ tags: "chat cometchat react-native calls voice video webrtc permissions"
10
+ ---
11
+
12
+ > **Ground truth:** `@cometchat/calls-sdk-react-native@5` + catalog `rn-calls-v5.json` (58 symbols) +
13
+ > `features.rn-v5.json` → `voice-video-calls`. Docs: `/ui-kit/react-native/calling-integration` ·
14
+ > `call-features` · `call-buttons` · `call-logs` · `incoming-call` · `outgoing-call`.
15
+
16
+ ## Companion skills (read first)
17
+ - `cometchat-react-native-core` — install, provider chain, init→login→render. Assumed, not repeated here.
18
+
19
+ ## Use this skill when
20
+ - "add voice/video calling" · "incoming call screen" · "calls aren't ringing" · "call logs"
21
+
22
+ ## Prerequisites & install
23
+
24
+ ⚠️ **React Native has its OWN calls SDK.** `@cometchat/calls-sdk-javascript` is the web package and
25
+ will not work here.
26
+
27
+ ```bash
28
+ npm install @cometchat/calls-sdk-react-native@5
29
+ # 6 REQUIRED peer deps — the SDK's declared peerDependencies. Versions are pinned; do NOT float them.
30
+ npm install @react-native-async-storage/async-storage@^2.1.2 react-native-background-timer@^2.4.1 \
31
+ react-native-performance@^5.1.2 react-native-svg@^15.12.0 react-native-url-polyfill@2.0.0 \
32
+ react-native-webrtc@124.0.7
33
+ # ⚠️ react-native-performance MUST stay 5.x — 6.x is published, and a floated `^6` makes every later
34
+ # `npm install` in the app fail with ERESOLVE. react-native-url-polyfill + react-native-performance
35
+ # are BUNDLE-critical: the UIKit does a module-scope require() of the calls SDK, so Metro resolves
36
+ # them even for a chat-only build — omit either and the bundle fails with "Unable to resolve module".
37
+ # (NOT react-native-community/netinfo or react-native-callstats — those are not declared peers.)
38
+ cd ios && pod install && cd .. # bare RN; Expo: npx expo run:ios
39
+ ```
40
+
41
+ ## Enabling calls — there is no flag
42
+
43
+ **Installing the package IS the switch.** The kit does a `try { require("@cometchat/calls-sdk-react-native") }`
44
+ at startup; if it resolves, calling is enabled automatically.
45
+
46
+ React's `setCallingEnabled(true)` **does not exist in this kit** — do not emit it. There is likewise **no
47
+ opt-out on the `initFromSettings` golden path** — the `CometChatSettings` file/object has no calling field,
48
+ and `CometChatUIKit.initFromSettings()` never reads one. `disableCalling: true` exists **only** as a field
49
+ on the `UIKitSettings` object you pass to the legacy `CometChatUIKit.init(uiKitSettings)` — so to disable
50
+ calling while the package stays installed you must switch to that `init()` entry point (or simply not
51
+ install the calls SDK).
52
+
53
+ Consequence worth knowing: a half-finished install (package added, pods not run) can leave calling
54
+ "enabled" in JS while the native side is missing — which surfaces as a crash on first call rather than
55
+ a clear error at startup.
56
+
57
+ ## Native floors — below these it will not build
58
+
59
+ | Platform | Requirement | Where |
60
+ |---|---|---|
61
+ | Android | `minSdkVersion 24` | `android/app/build.gradle` |
62
+ | iOS | `IPHONEOS_DEPLOYMENT_TARGET` 13.0 | Xcode target or a Podfile `post_install` |
63
+
64
+ ## Permissions — camera and microphone
65
+
66
+ **Bare RN** — `ios/<App>/Info.plist`:
67
+ ```xml
68
+ <key>NSCameraUsageDescription</key><string>Camera access for video calls</string>
69
+ <key>NSMicrophoneUsageDescription</key><string>Microphone access for voice/video calls</string>
70
+ ```
71
+ Android: `CAMERA` · `RECORD_AUDIO` · `MODIFY_AUDIO_SETTINGS` · `BLUETOOTH_CONNECT` (Android 12+, Bluetooth audio routing) in `AndroidManifest.xml`.
72
+
73
+ **Expo** — the same values go in `app.json` (`ios.infoPlist`, `android.permissions`), then rebuild.
74
+ Never hand-edit the generated native projects.
75
+
76
+ ## Components (from `catalogs/rn-v5.json`)
77
+
78
+ | Component | Purpose |
79
+ |---|---|
80
+ | `CometChatCallButtons` | audio/video triggers — the message header shows these by default |
81
+ | `CometChatIncomingCall` | the ring screen — **mount once above the navigator** |
82
+ | `CometChatOutgoingCall` | the dialling screen |
83
+ | `CometChatOngoingCall` | the in-call surface (**no React equivalent**) |
84
+ | `CometChatCallLogs` | call history **list** |
85
+
86
+ `CometChatIncomingCall` mounted inside one screen means calls only arrive while that screen is open —
87
+ the commonest "calls don't ring" cause after a missing permission.
88
+
89
+ The table above is not enough to copy — wire it:
90
+
91
+ ```tsx
92
+ // App.tsx — IncomingCall sits ABOVE the navigator so a call rings on any screen.
93
+ function App() {
94
+ const incomingCall = useRef<CometChat.Call | null>(null);
95
+ const [callReceived, setCallReceived] = useState(false);
96
+
97
+ useEffect(() => {
98
+ const listenerId = "APP_CALL_LISTENER";
99
+ CometChat.addCallListener(
100
+ listenerId,
101
+ new CometChat.CallListener({
102
+ onIncomingCallReceived: (call) => {
103
+ incomingCall.current = call;
104
+ setCallReceived(true);
105
+ },
106
+ onOutgoingCallRejected: () => setCallReceived(false),
107
+ onIncomingCallCancelled: () => setCallReceived(false),
108
+ }),
109
+ );
110
+ return () => CometChat.removeCallListener(listenerId); // or it fires after unmount
111
+ }, []);
112
+
113
+ return (
114
+ <GestureHandlerRootView style={{ flex: 1 }}>
115
+ <NavigationContainer>{/* … */}</NavigationContainer>
116
+ {callReceived && incomingCall.current ? (
117
+ <CometChatIncomingCall
118
+ call={incomingCall.current}
119
+ onDecline={() => { incomingCall.current = null; setCallReceived(false); }}
120
+ />
121
+ ) : null}
122
+ </GestureHandlerRootView>
123
+ );
124
+ }
125
+ ```
126
+
127
+ ```tsx
128
+ // Call triggers — the message header renders these by default; mount them yourself only
129
+ // when you build a custom header. onError is the ONLY callback: success is an event
130
+ // (ccOutgoingCall), not a promise.
131
+ <CometChatCallButtons user={user} group={group} onError={(e) => console.error(e)} />
132
+
133
+ // Dialling screen — driven by the Call object you created.
134
+ {call && <CometChatOutgoingCall call={call} />}
135
+
136
+ // Call history list. Detail screens do NOT ship (see below).
137
+ <CometChatCallLogs onItemPress={(log) => openCallDetail(log)} />
138
+ ```
139
+
140
+ ```tsx
141
+ // The in-call surface. sessionID comes from the accepted Call; callSettingsBuilder is a
142
+ // CometChatCalls builder, NOT a chat-SDK one.
143
+ <CometChatOngoingCall
144
+ sessionID={sessionId}
145
+ callSettingsBuilder={callSettings}
146
+ onError={(e) => console.error(e)}
147
+ />
148
+ ```
149
+
150
+ > **DOCS GAP (RN-G15 — narrowed upstream, verified 2026-09-09):** `CometChatOngoingCall` is exported by
151
+ > the RN kit and is now **listed** on `/ui-kit/react-native/call-features` (the Components row), but it
152
+ > still has **no dedicated props page** — only Incoming / Outgoing / Buttons / Logs get their own pages.
153
+ > The fence above is a **STOPGAP built from the kit's own types** — replace it once a props page ships.
154
+ > Flagged for the docs team; do not conclude the component is unavailable on RN.
155
+
156
+ ## Call logs: the list ships, the detail screens do not
157
+ Kit v5 removed `CometChatCallLogDetails` / `History` / `Participants` / `Recordings`. For a custom detail
158
+ view, fetch the history yourself with the **Calls-SDK** `CallLogRequestBuilder` — a static on
159
+ `CometChatCalls`, reachable only from `@cometchat/calls-sdk-react-native`:
160
+
161
+ ```ts
162
+ // Call history — CometChatCalls.CallLogRequestBuilder from the CALLS SDK.
163
+ // There is NO CallLogRequestBuilder on the Chat SDK (@cometchat/chat-sdk-react-native).
164
+ import { CometChat } from "@cometchat/chat-sdk-react-native";
165
+ import { CometChatCalls } from "@cometchat/calls-sdk-react-native";
166
+ // fetchNext() REJECTS without an auth token ("`Auth Token` is required") — no fallback. Pass the
167
+ // logged-in user's token, exactly as the kit's own CometChatCallLogs does.
168
+ const authToken = (await CometChat.getLoggedinUser())?.getAuthToken() ?? "";
169
+ const req = new CometChatCalls.CallLogRequestBuilder().setLimit(30).setAuthToken(authToken).build();
170
+ const logs = await req.fetchNext();
171
+
172
+ // Transcript opt-in — same builder + token. setHasTranscriptions(true) filters to transcribed calls
173
+ // AND makes the server attach each call's transcripts to the log.
174
+ const treq = new CometChatCalls.CallLogRequestBuilder().setLimit(30).setAuthToken(authToken).setHasTranscriptions(true).build();
175
+ ```
176
+
177
+ > **RN-G9 (verified 2026-09-10 vs `@cometchat/calls-sdk-react-native@5`):** `CallLogRequestBuilder` is a
178
+ > static on `CometChatCalls` (calls SDK) — `new CometChatCalls.CallLogRequestBuilder()`. It does **not**
179
+ > exist on the Chat SDK: there is no `CometChat.CallLogRequestBuilder` in `@cometchat/chat-sdk-react-native`
180
+ > (any version). Use the Calls-SDK builder for history, always with `.setAuthToken(...)` (without it `fetchNext()`
181
+ > rejects — verified in `@cometchat/calls-sdk-react-native@5.0.5`); add `setHasTranscriptions(true)` only when you need
182
+ > transcripts. It is reachable as a static on the module, not as a bare named import.
183
+
184
+ ## Verification requires a real device
185
+ **Simulators and emulators cannot capture camera or microphone.** A green simulator run proves the
186
+ screens render, not that a call connects. Media, permissions and ringing must be checked on hardware.
187
+
188
+ ## Common pitfalls
189
+ 1. **Installing the web calls SDK** — wrong package.
190
+ 2. **Emitting `setCallingEnabled(true)`** — does not exist; installation is the switch.
191
+ 3. **`CometChatIncomingCall` inside a screen** — calls only ring there.
192
+ 4. **Skipping `pod install` / rebuild** — crash on first call, not at startup.
193
+ 5. **Below the version floors** — build failure, not a runtime message.
194
+ 6. **Signing off from a simulator** — no media capture.
195
+
196
+ ## Verify it works
197
+ - Every emitted symbol is in `catalogs/rn-v5.json` or `catalogs/rn-calls-v5.json`.
198
+ - `npm run verify:fences:rn-v5` is green.
199
+ - **On two real devices:** call connects both ways, permission prompts appear on first use, the
200
+ incoming screen shows while the app is on any tab, and the call log records the call.