Skip to content

Document and configure Android/iOS encryption passphrases (fixes #57)#211

Merged
riderx merged 2 commits into
mainfrom
fix/issue-57-encryption-secret-config
Jul 2, 2026
Merged

Document and configure Android/iOS encryption passphrases (fixes #57)#211
riderx merged 2 commits into
mainfrom
fix/issue-57-encryption-secret-config

Conversation

@riderx

@riderx riderx commented Jul 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Add plugins.CapgoCapacitorDataStorageSqlite.encryptionSecret / encryptionNewSecret in capacitor.config and load them on iOS and Android at plugin startup.
  • Replace outdated jeepq-capacitor Global paths with current @capgo/capacitor-data-storage-sqlite package paths in README and docs/API.md.
  • Document mode values and the recommended Capacitor CLI setup in definitions.ts.

Fixes #57

Test plan

  • bun run verify locally (iOS, Android, web)
  • CI test workflow green

Made with Cursor

Document capacitor.config passphrases and correct Global paths, and load encryptionSecret values on iOS and Android at plugin startup.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 37 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 2dfc3da7-05a2-4c07-be4e-c3479e601920

📥 Commits

Reviewing files that changed from the base of the PR and between ea5f609 and 596a23f.

📒 Files selected for processing (7)
  • README.md
  • android/src/main/java/com/jeep/plugin/capacitor/capgocapacitordatastoragesqlite/CapgoCapacitorDataStorageSqlitePlugin.java
  • android/src/main/java/com/jeep/plugin/capacitor/capgocapacitordatastoragesqlite/cdssUtils/Global.java
  • docs/API.md
  • ios/Sources/CapgoCapacitorDataStorageSqlitePlugin/CapgoCapacitorDataStorageSqlitePlugin.swift
  • ios/Sources/CapgoCapacitorDataStorageSqlitePlugin/Global.swift
  • src/definitions.ts

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Beta npm build

Maintainers can publish this PR to npm for fast testing.

Comment /publish-beta after the PR checks are green.

The workflow will:

  • publish a prerelease package on the beta tag
  • add a pinned pr-211 dist-tag for this exact PR build
  • update this comment with the install command

Security note: beta publish is only enabled for branches inside this repository.

Co-authored-by: Cursor <cursoragent@cursor.com>
@riderx riderx marked this pull request as ready for review July 2, 2026 14:03
@riderx riderx merged commit f823273 into main Jul 2, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set custom encryption secret

1 participant