native-update 3.1.2 → 3.1.4

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 (206) hide show
  1. package/AI-INTEGRATION-GUIDE.md +15 -10
  2. package/Readme.md +35 -35
  3. package/android/src/main/java/com/aoneahsan/nativeupdate/LiveUpdatePlugin.kt +88 -12
  4. package/android/src/main/java/com/aoneahsan/nativeupdate/NativeUpdatePlugin.kt +45 -18
  5. package/cli/AGENTS.md +1 -1
  6. package/cli/CLAUDE.md +1 -1
  7. package/cli/commands/bundle-create.js +2 -2
  8. package/cli/index.js +11 -0
  9. package/dist/esm/definitions.d.ts +8 -0
  10. package/dist/esm/plugin.js +16 -2
  11. package/dist/plugin.cjs.js +1 -1
  12. package/dist/plugin.esm.js +1 -1
  13. package/dist/plugin.js +2 -2
  14. package/docs/CHANGELOG.md +90 -0
  15. package/docs/KNOWN_LIMITATIONS.md +2 -2
  16. package/docs/MIGRATION.md +1 -1
  17. package/ios/Plugin/LiveUpdate/LiveUpdatePlugin.swift +64 -8
  18. package/ios/Plugin/NativeUpdatePlugin.swift +39 -13
  19. package/package.json +8 -3
  20. package/docs/AGENTS.md +0 -47
  21. package/docs/APP_REVIEW_GUIDE.md +0 -768
  22. package/docs/BUNDLE_SIGNING.md +0 -277
  23. package/docs/CLAUDE.md +0 -110
  24. package/docs/COMPREHENSIVE_AUDIT_REPORT.md +0 -526
  25. package/docs/DEPLOY_NOTES.md +0 -116
  26. package/docs/EXAMPLE_APPS_SIMPLIFICATION_PLAN.md +0 -384
  27. package/docs/EXAMPLE_APPS_SIMPLIFICATION_TRACKER.md +0 -390
  28. package/docs/LIVE_UPDATES_GUIDE.md +0 -675
  29. package/docs/MANUAL-TASKS.md +0 -30
  30. package/docs/MARKETING_WEBSITE_TRACKER.md +0 -677
  31. package/docs/NATIVE_UPDATES_GUIDE.md +0 -695
  32. package/docs/PACKAGES.md +0 -167
  33. package/docs/PERFORMANCE.md +0 -110
  34. package/docs/PROJECT_COMPLETION_TRACKER.md +0 -411
  35. package/docs/QUICK_START.md +0 -595
  36. package/docs/README.md +0 -130
  37. package/docs/REMAINING_FEATURES.md +0 -192
  38. package/docs/ROADMAP.md +0 -295
  39. package/docs/SECURITY-IF-REPO-PUBLIC.md +0 -232
  40. package/docs/SECURITY.md +0 -356
  41. package/docs/TESTING_REQUIREMENTS.md +0 -201
  42. package/docs/ai-knowledge-base/00-project-profile.md +0 -38
  43. package/docs/ai-knowledge-base/01-features.md +0 -46
  44. package/docs/ai-knowledge-base/02-routes.md +0 -72
  45. package/docs/ai-knowledge-base/03-tech-stack.md +0 -57
  46. package/docs/ai-knowledge-base/README.md +0 -23
  47. package/docs/analytics-tracking.md +0 -37
  48. package/docs/api/API.md +0 -558
  49. package/docs/api/FEATURES.md +0 -414
  50. package/docs/api/app-review-api.md +0 -239
  51. package/docs/api/app-update-api.md +0 -154
  52. package/docs/api/background-update-api.md +0 -170
  53. package/docs/api/events-api.md +0 -323
  54. package/docs/api/live-update-api.md +0 -258
  55. package/docs/archive/MARKETING_WEBSITE_PLAN.md +0 -659
  56. package/docs/background-updates.md +0 -392
  57. package/docs/capacitor-official-plugins.md +0 -46
  58. package/docs/capawesome-plugins.md +0 -29
  59. package/docs/cli-reference.md +0 -321
  60. package/docs/deployment/HOSTINGER_DEPLOY.md +0 -370
  61. package/docs/deployment/PRODUCTION-DEPLOY-CHECKLIST.md +0 -184
  62. package/docs/docs-site/plan.md +0 -201
  63. package/docs/docs-site/scope.md +0 -127
  64. package/docs/docs-site/tracker.json +0 -235
  65. package/docs/error-handling-tracking.md +0 -37
  66. package/docs/examples/advanced-scenarios.md +0 -394
  67. package/docs/examples/android-manifest-example.xml +0 -77
  68. package/docs/examples/basic-usage.md +0 -206
  69. package/docs/examples/node-express-backend-example.md +0 -28
  70. package/docs/examples/react-capacitor-example.md +0 -29
  71. package/docs/features/app-reviews.md +0 -975
  72. package/docs/features/app-updates.md +0 -785
  73. package/docs/features/e2e-full-verification/00-overview.md +0 -99
  74. package/docs/features/e2e-full-verification/00-tracker.json +0 -284
  75. package/docs/features/e2e-full-verification/phase01-backend-schema-fixes.md +0 -183
  76. package/docs/features/e2e-full-verification/phase02-test-auth.md +0 -176
  77. package/docs/features/e2e-full-verification/phase03-api-test-coverage.md +0 -63
  78. package/docs/features/e2e-full-verification/phase04-frontend-package-contract-audit.md +0 -73
  79. package/docs/features/e2e-full-verification/phase05-browser-e2e-matrix.md +0 -69
  80. package/docs/features/e2e-full-verification/phase06-deploy-prod-smoke.md +0 -51
  81. package/docs/features/e2e-full-verification/results/phase01-drift-report.md +0 -50
  82. package/docs/features/e2e-full-verification/results/phase03-coverage-matrix.md +0 -215
  83. package/docs/features/e2e-full-verification/results/phase04-frontend-contract.md +0 -139
  84. package/docs/features/e2e-full-verification/results/phase05-e2e-results.md +0 -99
  85. package/docs/features/e2e-full-verification/results/phase05-evidence/e2e-01-dashboard.png +0 -0
  86. package/docs/features/e2e-full-verification/results/phase05-evidence/e2e-02-signup.png +0 -0
  87. package/docs/features/e2e-full-verification/results/phase05-evidence/e2e-03-settings-persisted.png +0 -0
  88. package/docs/features/e2e-full-verification/results/phase05-evidence/e2e-04a-app-created.png +0 -0
  89. package/docs/features/e2e-full-verification/results/phase05-evidence/e2e-04b-duplicate-bundle-422.png +0 -0
  90. package/docs/features/e2e-full-verification/results/phase05-evidence/e2e-05-plan-limit-403.png +0 -0
  91. package/docs/features/e2e-full-verification/results/phase05-evidence/e2e-08a-upload-graceful-fail.png +0 -0
  92. package/docs/features/e2e-full-verification/results/phase05-evidence/e2e-08b-builds-list.png +0 -0
  93. package/docs/features/e2e-full-verification/results/phase05-evidence/e2e-10-rollout-25pct.png +0 -0
  94. package/docs/features/e2e-full-verification/results/phase05-evidence/e2e-11-analytics.png +0 -0
  95. package/docs/features/e2e-full-verification/results/phase05-evidence/e2e-12-drive-disconnected.png +0 -0
  96. package/docs/features/e2e-full-verification/results/phase05-evidence/e2e-13-pricing.png +0 -0
  97. package/docs/features/e2e-full-verification/results/phase05-evidence/e2e-14-isolation-403.png +0 -0
  98. package/docs/features/e2e-full-verification/results/phase05-evidence/e2e-15a-admin-overview.png +0 -0
  99. package/docs/features/e2e-full-verification/results/phase05-evidence/e2e-15b-regular-user-admin-redirect.png +0 -0
  100. package/docs/features/e2e-full-verification/results/phase05-evidence/e2e-16a-delete-dialog.png +0 -0
  101. package/docs/features/e2e-full-verification/results/phase05-evidence/e2e-17-mobile-375.png +0 -0
  102. package/docs/features/e2e-full-verification/results/route-list.json +0 -1
  103. package/docs/features/laravel-nova-backend/ASSESSMENT-SUMMARY.md +0 -96
  104. package/docs/features/laravel-nova-backend/IMPLEMENTATION-PLAN.md +0 -504
  105. package/docs/features/laravel-nova-backend/progress-tracker.json +0 -184
  106. package/docs/features/live-updates.md +0 -642
  107. package/docs/features/queues-and-emails/00-overview.md +0 -41
  108. package/docs/features/queues-and-emails/00-tracker.json +0 -99
  109. package/docs/features/queues-and-emails/phase01-foundation.md +0 -15
  110. package/docs/features/queues-and-emails/phase02-queued-jobs.md +0 -19
  111. package/docs/features/queues-and-emails/phase03-transactional-emails.md +0 -16
  112. package/docs/features/queues-and-emails/phase04-quota-ops.md +0 -17
  113. package/docs/features/queues-and-emails/phase05-async-build-processing-DECISION.md +0 -16
  114. package/docs/features/queues-and-emails/phase06-verify-deploy.md +0 -17
  115. package/docs/getting-started/configuration.md +0 -469
  116. package/docs/getting-started/installation.md +0 -300
  117. package/docs/getting-started/quick-start.md +0 -430
  118. package/docs/guides/BACKEND_TEMPLATES_GUIDE.md +0 -183
  119. package/docs/guides/admin-panel.md +0 -268
  120. package/docs/guides/channel-management.md +0 -343
  121. package/docs/guides/dashboard-guide.md +0 -365
  122. package/docs/guides/deployment-guide.md +0 -335
  123. package/docs/guides/end-to-end-workflow.md +0 -491
  124. package/docs/guides/key-management.md +0 -284
  125. package/docs/guides/migration-from-codepush.md +0 -145
  126. package/docs/guides/security-best-practices.md +0 -1057
  127. package/docs/guides/testing-guide.md +0 -346
  128. package/docs/guides/troubleshooting.md +0 -482
  129. package/docs/package-audit.md +0 -41
  130. package/docs/plans/PLANNING_COMPLETE_SUMMARY.md +0 -361
  131. package/docs/plans/TASK_1_ANDROID_EXAMPLE_APP.md +0 -401
  132. package/docs/plans/TASK_2_API_ENDPOINTS.md +0 -856
  133. package/docs/plans/TASK_2_DASHBOARD_UI_UX.md +0 -820
  134. package/docs/plans/TASK_2_DATABASE_SCHEMA.md +0 -704
  135. package/docs/plans/TASK_2_GOOGLE_DRIVE_INTEGRATION.md +0 -646
  136. package/docs/plans/TASK_2_SAAS_ARCHITECTURE.md +0 -587
  137. package/docs/plans/TASK_2_USER_AUTHENTICATION.md +0 -600
  138. package/docs/play-store/ASO-METADATA.md +0 -5
  139. package/docs/play-store/DATA-SAFETY.md +0 -5
  140. package/docs/play-store/DECLARATIONS.md +0 -5
  141. package/docs/play-store/README.md +0 -27
  142. package/docs/play-store/RELEASE-NOTES.md +0 -99
  143. package/docs/play-store/RELEASE-STEPS.md +0 -6
  144. package/docs/play-store/STORE-LISTING.md +0 -7
  145. package/docs/play-store/SUBMISSION-CHECKLIST.md +0 -5
  146. package/docs/production-readiness.md +0 -475
  147. package/docs/project-audit/2026-05-16/00-FINALIZATION-PLAN.md +0 -123
  148. package/docs/project-audit/2026-05-16/01-BATCH-PLAN.md +0 -227
  149. package/docs/project-audit/2026-05-16/02-AUDIT-FINDINGS.md +0 -144
  150. package/docs/project-audit/2026-05-16/sessions/batch-01.md +0 -42
  151. package/docs/project-audit/2026-05-16/sessions/batch-02.md +0 -74
  152. package/docs/project-audit/2026-05-16/sessions/batch-03.md +0 -71
  153. package/docs/project-audit/2026-05-16/sessions/batch-04.md +0 -88
  154. package/docs/project-audit/2026-05-16/sessions/batch-05.md +0 -63
  155. package/docs/project-audit/2026-05-16/sessions/batch-06.md +0 -103
  156. package/docs/project-audit/2026-05-16/sessions/batch-07.md +0 -61
  157. package/docs/project-audit/2026-05-16/sessions/batch-08.md +0 -101
  158. package/docs/project-audit/2026-05-16/sessions/batch-09.md +0 -105
  159. package/docs/project-audit/2026-05-16/sessions/batch-10.md +0 -102
  160. package/docs/project-audit/AUDIT-HISTORY.md +0 -74
  161. package/docs/project-audit/BATCH-PLAN.md +0 -168
  162. package/docs/project-audit/MARKETING-WEBSITE-FINDINGS-2026-05-11.md +0 -73
  163. package/docs/project-audit/PRODUCTION-READINESS-AUDIT-2026-05-08.md +0 -275
  164. package/docs/project-finalization/00-tracker.json +0 -60
  165. package/docs/project-knowledge-base/01-system-overview.md +0 -227
  166. package/docs/project-knowledge-base/02-routes-pages-forms-users.md +0 -352
  167. package/docs/project-knowledge-base/03-tech-stack-modules-services.md +0 -379
  168. package/docs/project-knowledge-base/04-data-models-integrations.md +0 -244
  169. package/docs/project-knowledge-base/05-docs-corpus-inventory.md +0 -256
  170. package/docs/project-knowledge-base/06-operations-testing-legal-content.md +0 -208
  171. package/docs/project-knowledge-base/README.md +0 -103
  172. package/docs/project-profiles/native-update-capacitor-update-platform-project-profile-last-updated-2026-05-19.md +0 -81
  173. package/docs/reports/AUDIT_SUMMARY_2025-12-26.md +0 -203
  174. package/docs/reports/CLAUDE-CODE-COMPLETION-PROMPT.md +0 -403
  175. package/docs/reports/CLAUDE_CODE_PROMPT.md +0 -29
  176. package/docs/reports/CODEBASE_STATUS_REPORT.md +0 -272
  177. package/docs/reports/COMPLETE_VERIFICATION.md +0 -106
  178. package/docs/reports/COMPREHENSIVE-PROJECT-AUDIT-2026-02-24.md +0 -747
  179. package/docs/reports/EVENT_FLOW_VERIFICATION.md +0 -80
  180. package/docs/reports/EXAMPLE_APPS_SIMPLIFICATION_COMPLETE.md +0 -369
  181. package/docs/reports/FINAL_STATUS.md +0 -122
  182. package/docs/reports/FINAL_VERIFICATION_CHECKLIST.md +0 -425
  183. package/docs/reports/MARKETING_WEBSITE_COMPLETE.md +0 -466
  184. package/docs/reports/PACKAGE_COMPLETENESS_REPORT.md +0 -130
  185. package/docs/reports/PRODUCTION_STATUS.md +0 -115
  186. package/docs/reports/PROJECT_RESTRUCTURE_2025-12-27.md +0 -287
  187. package/docs/reports/PROJECT_RESTRUCTURE_FINAL_SUMMARY.md +0 -464
  188. package/docs/reports/PUBLISHING_VERIFICATION.md +0 -144
  189. package/docs/reports/RELEASE_READY_SUMMARY.md +0 -99
  190. package/docs/reports/claude-completion.json +0 -241
  191. package/docs/rules-tracker.md +0 -102
  192. package/docs/security/PRE-LAUNCH-PENTEST-CHECKLIST.md +0 -116
  193. package/docs/security/certificate-pinning.md +0 -122
  194. package/docs/seo-aeo-rules.json +0 -3043
  195. package/docs/social-media-marketing/README.md +0 -81
  196. package/docs/social-media-marketing/posts-batch-01.md +0 -613
  197. package/docs/social-media-marketing/posts-batch-02.md +0 -528
  198. package/docs/social-media-marketing/whatsapp-messages-batch-01.md +0 -458
  199. package/docs/social-media-marketing/whatsapp-status-batch-01.md +0 -355
  200. package/docs/tracking/IMPLEMENTATION_TRACKER.md +0 -303
  201. package/docs/tracking/capacitor-rollout-note-2026-03-01.md +0 -21
  202. package/docs/tracking/completion-tracker-2026-02-24.json +0 -174
  203. package/docs/tracking/finalization-2026-05-16-tracker.json +0 -346
  204. package/docs/tracking/full-audit-tracker.json +0 -121
  205. package/docs/tracking/production-readiness-audit-tracker.json +0 -429
  206. package/docs/tracking/seo-checklist-tracker.json +0 -333
@@ -1,277 +0,0 @@
1
- # Bundle Signing Process
2
-
3
- This guide explains how to implement cryptographic signing for update bundles to ensure integrity and authenticity.
4
-
5
- ## Overview
6
-
7
- Bundle signing uses RSA-2048 with SHA-256 to create digital signatures that verify:
8
-
9
- - **Integrity**: The bundle hasn't been modified
10
- - **Authenticity**: The bundle comes from a trusted source
11
- - **Non-repudiation**: The signature proves origin
12
-
13
- ## Key Generation
14
-
15
- ### 1. Generate RSA Key Pair
16
-
17
- The easiest way is using our CLI tool:
18
-
19
- ```bash
20
- # Generate strong RSA keys for production
21
- npx native-update keys generate --type rsa --size 4096
22
-
23
- # Or generate EC keys for smaller signatures
24
- npx native-update keys generate --type ec --size 256
25
- ```
26
-
27
- This creates:
28
-
29
- - `private-{timestamp}.pem` - Keep secure on your server (NEVER commit to git!)
30
- - `public-{timestamp}.pem` - Include in your app
31
- - Proper file permissions (600) are set automatically
32
-
33
- For detailed key management instructions, see the [Key Management Guide](https://nativeupdate.aoneahsan.com/docs/guides/key-management).
34
-
35
- ### 2. Secure Private Key
36
-
37
- ```bash
38
- # Set restrictive permissions
39
- chmod 600 private.key
40
-
41
- # Store in secure location
42
- mkdir -p /secure/keys
43
- mv private.key /secure/keys/
44
-
45
- # Set environment variable
46
- export SIGNING_PRIVATE_KEY_PATH=/secure/keys/private.key
47
- ```
48
-
49
- ## Server-Side Signing
50
-
51
- ### 1. Automatic Signing
52
-
53
- The update server automatically signs bundles on upload if `SIGNING_PRIVATE_KEY_PATH` is set:
54
-
55
- ```javascript
56
- // server.js automatically signs on upload
57
- const signature = signBundle(fileBuffer, privateKey);
58
- ```
59
-
60
- ### 2. Manual Signing
61
-
62
- Sign bundles manually:
63
-
64
- ```bash
65
- npx native-update bundle sign bundle-1.0.0.zip --key /secure/keys/private.key
66
- ```
67
-
68
- This creates `bundle-1.0.0.zip.sig` containing the base64 signature.
69
-
70
- ### 3. Signature Format
71
-
72
- Signatures are:
73
-
74
- - RSA-SHA256 algorithm
75
- - Base64 encoded
76
- - Stored as string in bundle metadata
77
-
78
- ## Client-Side Verification
79
-
80
- ### 1. Configure Public Key
81
-
82
- #### Android
83
-
84
- ```kotlin
85
- // capacitor.config.json
86
- {
87
- "plugins": {
88
- "NativeUpdate": {
89
- "publicKey": "base64-encoded-public-key",
90
- "enforceSignature": true
91
- }
92
- }
93
- }
94
- ```
95
-
96
- #### iOS
97
-
98
- ```swift
99
- // Info.plist
100
- <key>NativeUpdatePublicKey</key>
101
- <string>base64-encoded-public-key</string>
102
- <key>NativeUpdateEnforceSignature</key>
103
- <true/>
104
- ```
105
-
106
- ### 2. Verification Process
107
-
108
- The plugin automatically verifies signatures:
109
-
110
- ```typescript
111
- // Internal verification flow
112
- async function verifyBundle(
113
- bundle: ArrayBuffer,
114
- signature: string
115
- ): Promise<boolean> {
116
- const publicKey = await getPublicKey();
117
- return crypto.subtle.verify(
118
- 'RSASSA-PKCS1-v1_5',
119
- publicKey,
120
- base64ToArrayBuffer(signature),
121
- bundle
122
- );
123
- }
124
- ```
125
-
126
- ### 3. Enforcement Modes
127
-
128
- - **Strict Mode** (`enforceSignature: true`): Rejects unsigned/invalid bundles
129
- - **Permissive Mode** (`enforceSignature: false`): Logs warnings but allows installation
130
-
131
- ## Security Best Practices
132
-
133
- ### 1. Key Management
134
-
135
- **DO:**
136
-
137
- - Generate keys on secure, offline machine
138
- - Use hardware security modules (HSM) for production
139
- - Rotate keys periodically (yearly recommended)
140
- - Keep multiple key versions for rollback
141
-
142
- **DON'T:**
143
-
144
- - Store private keys in version control
145
- - Share private keys across environments
146
- - Use weak key sizes (< 2048 bits)
147
-
148
- ### 2. Signing Infrastructure
149
-
150
- ```bash
151
- # Production setup example
152
- ├── signing-server/
153
- │ ├── keys/
154
- │ │ ├── private-v1.key # Current key
155
- │ │ ├── private-v2.key # Next key (pre-generated)
156
- │ │ └── archive/ # Old keys for verification
157
- │ ├── sign-bundle.sh # Signing script
158
- │ └── verify-bundle.sh # Verification script
159
- ```
160
-
161
- ### 3. CI/CD Integration
162
-
163
- #### GitHub Actions Example
164
-
165
- ```yaml
166
- - name: Sign Bundle
167
- env:
168
- PRIVATE_KEY: ${{ secrets.BUNDLE_SIGNING_KEY }}
169
- run: |
170
- echo "$PRIVATE_KEY" > private.key
171
- npx native-update bundle sign dist/bundle.zip --key private.key
172
- rm private.key
173
- ```
174
-
175
- #### Jenkins Example
176
-
177
- ```groovy
178
- withCredentials([file(credentialsId: 'bundle-signing-key', variable: 'KEY_FILE')]) {
179
- sh 'npx native-update bundle sign dist/bundle.zip --key $KEY_FILE'
180
- }
181
- ```
182
-
183
- ## Troubleshooting
184
-
185
- ### Common Issues
186
-
187
- 1. **"Invalid signature" error**
188
- - Verify public key matches private key
189
- - Check base64 encoding/decoding
190
- - Ensure bundle wasn't modified after signing
191
-
192
- 2. **"Missing signature" error**
193
- - Confirm server includes signature in response
194
- - Check `enforceSignature` setting
195
- - Verify signing process completed
196
-
197
- 3. **Performance issues**
198
- - Use SHA-256 for checksum verification first
199
- - Only verify signature on checksum match
200
- - Cache verification results
201
-
202
- ### Verification Tools
203
-
204
- Test signature verification:
205
-
206
- ```bash
207
- # Verify manually
208
- npx native-update bundle verify bundle.zip --key public.key
209
-
210
- # Check signature format
211
- cat bundle.zip.sig | base64 -d | xxd | head
212
-
213
- # Compare checksums
214
- shasum -a 256 bundle.zip
215
- ```
216
-
217
- ## Migration Guide
218
-
219
- ### From Unsigned Bundles
220
-
221
- 1. Generate keys and configure server
222
- 2. Deploy app update with public key
223
- 3. Enable permissive mode initially
224
- 4. Monitor adoption via analytics
225
- 5. Switch to strict mode after 90%+ adoption
226
-
227
- ### Key Rotation
228
-
229
- 1. Generate new key pair
230
- 2. Update server to sign with new key
231
- 3. Deploy app update with both keys
232
- 4. Monitor old key usage
233
- 5. Remove old key after full migration
234
-
235
- ## API Reference
236
-
237
- ### Server Endpoints
238
-
239
- ```http
240
- GET /api/v1/check?version=1.0.0&channel=production
241
- Response: {
242
- "signature": "base64-signature",
243
- "checksum": "sha256:hex-checksum"
244
- }
245
- ```
246
-
247
- ### Plugin Methods
248
-
249
- ```typescript
250
- // Signature verification is handled automatically during sync/download
251
- // Use validateUpdate for manual verification
252
- const result = await NativeUpdate.validateUpdate({
253
- bundlePath: '/path/to/bundle.zip',
254
- checksum: 'expected-sha256-checksum',
255
- signature: 'base64-signature' // Optional
256
- });
257
-
258
- console.log('Validation result:', result.isValid);
259
- if (!result.isValid) {
260
- console.log('Validation details:', result.details);
261
- }
262
- ```
263
-
264
- ## Compliance
265
-
266
- Bundle signing helps meet security requirements for:
267
-
268
- - **PCI DSS**: Integrity monitoring
269
- - **HIPAA**: Data authenticity
270
- - **SOC 2**: Change management
271
- - **ISO 27001**: Cryptographic controls
272
-
273
- ## Additional Resources
274
-
275
- - [NIST Guidelines on Digital Signatures](https://csrc.nist.gov/publications/detail/fips/186/5/final)
276
- - [OWASP Mobile Security Testing Guide](https://owasp.org/www-project-mobile-security-testing-guide/)
277
- - [RSA Cryptography Specifications](https://www.rfc-editor.org/rfc/rfc8017)
package/docs/CLAUDE.md DELETED
@@ -1,110 +0,0 @@
1
- # Native Update - Documentation
2
-
3
- Comprehensive documentation for the native-update Capacitor plugin and platform.
4
-
5
- ## 🔴 3-Day Freshness Rule
6
- Check and update this file at least every 3 days. See root CLAUDE.md.
7
-
8
- ## Structure
9
-
10
- | Folder | Purpose |
11
- |--------|---------|
12
- | `api/` | API reference documentation |
13
- | `architecture/` | System architecture docs |
14
- | `examples/` | Code examples |
15
- | `features/` | Feature documentation |
16
- | `getting-started/` | Quick start guides |
17
- | `guides/` | How-to guides |
18
- | `plans/` | Development plans and roadmap |
19
- | `project-knowledge-base/` | AI-readable domain knowledge |
20
- | `project-profiles/` | Project profile for portfolio/resume |
21
- | `reports/` | Status and analysis reports |
22
- | `security/` | Security documentation |
23
- | `tracking/` | Progress tracker JSON files |
24
-
25
- ## Key Reference Files
26
-
27
- | File | Purpose |
28
- |------|---------|
29
- | `QUICK_START.md` | Getting started guide |
30
- | `CHANGELOG.md` | Version history |
31
- | `ROADMAP.md` | Future plans |
32
- | `MIGRATION.md` | v1 to v2 migration guide |
33
- | `SECURITY.md` | Security overview |
34
- | `KNOWN_LIMITATIONS.md` | Current limitations |
35
- | `TESTING_REQUIREMENTS.md` | Test guidelines |
36
- | `SERVER_REQUIREMENTS.md` | Backend requirements |
37
- | `CLI_REFERENCE.md` | CLI command reference |
38
-
39
- ## Feature Guides
40
-
41
- | File | Topic |
42
- |------|-------|
43
- | `APP_REVIEW_GUIDE.md` | App review integration |
44
- | `LIVE_UPDATES_GUIDE.md` | OTA live updates |
45
- | `NATIVE_UPDATES_GUIDE.md` | App store updates |
46
- | `BUNDLE_SIGNING.md` | Bundle security signing |
47
- | `BACKGROUND_UPDATES.md` | Background update processing |
48
-
49
- ## Project Profile Maintenance Rule
50
-
51
- **CRITICAL: Keep the dated project profile file current**
52
-
53
- - Canonical location: `/docs/project-profiles/`
54
- - Filename pattern: `native-update-capacitor-update-platform-project-profile-last-updated-YYYY-MM-DD.md`
55
- - Update weekly when project is active, or whenever major features, positioning, roadmap, SEO metadata, resume bullets, or portfolio messaging changes
56
- - Always update inside: `Reference Date`, `Last Updated`, `Update History`
57
- - Keep only the most recent 10 update-history records
58
- - All sub-projects with their own `CLAUDE.md` must follow this same rule
59
-
60
- ## Root Portfolio File Maintenance Rule
61
-
62
- - Maintain exactly one root portfolio info file: `NATIVE-UPDATE_portfolio-info_YYYY-MM-DD.md`
63
- - Refresh only after 7+ days unless a major release or material change happens sooner
64
- - Keep at most 10 update-history records
65
- - When portfolio file changes, also update: `README.md`, root `CLAUDE.md`, and the dated project-profile file
66
-
67
- ## AI Knowledge Base Maintenance Rule
68
-
69
- **CRITICAL: Keep `/docs/project-knowledge-base/` current**
70
-
71
- - Update every 2 weeks while project is active
72
- - Also update when: routes, forms, user roles, docs, legal pages, modules, tech stack, integrations, or backend assumptions change
73
-
74
- ### Required Files (minimum)
75
- 1. `README.md` — Knowledge base index
76
- 2. `01-system-overview.md` — System overview
77
- 3. `02-routes-pages-forms-users.md` — Routes, pages, forms, user roles
78
- 4. `03-tech-stack-modules-services.md` — Tech stack, modules, services
79
- 5. `04-data-models-integrations.md` — Data models, integrations
80
- 6. `05-docs-corpus-inventory.md` — Documentation inventory
81
- 7. `06-operations-testing-legal-content.md` — Operations, testing, legal
82
-
83
- ### Sync Triggers
84
- - When `/docs` gains or loses files → update `05-docs-corpus-inventory.md`
85
- - When website routes/pages/forms change → update `02-routes-pages-forms-users.md`
86
- - When modules/services/schema/integrations change → update `03-tech-stack-modules-services.md` and `04-data-models-integrations.md`
87
- - Every file must keep `Reference Date` and `Last Updated` current
88
-
89
- ## Package Update History
90
-
91
- | Date | Updated By | Notes |
92
- |------|------------|-------|
93
- | 2026-03-24 | Codex | Refreshed docs, verified package state |
94
- | 2026-02-02 | Claude | Full update to latest versions |
95
-
96
- ## FilesHub Rule (inherited)
97
- All file storage uses FilesHub API. See root CLAUDE.md.
98
-
99
- ---
100
-
101
- **Last Updated**: 2026-04-25
102
-
103
-
104
- ## Sub-agents & Skills — Main-Context-First (IRON-SOLID)
105
- Default/built-in sub-agents (`general-purpose`, `Explore`, `Plan`, `claude`, `fork`, …) do NOT have
106
- access to `/skills`, so delegating to them silently SKIPS the skills RULE #0 requires. Do all
107
- skill-relevant work in the **MAIN context**; use a sub-agent ONLY when a **custom** agent exists in
108
- `.claude/agents/` for that job; a default `Explore`/`Plan` agent is allowed ONLY for read-only,
109
- no-skill search/exploration. When a relevant skill is missing, **install/enable it** rather than
110
- proceeding skill-less. (Owner directive 2026-07-11; full text in `~/.claude/CLAUDE.md`.)