Skip to content

chore(app): Android 1.0 (2) with push, and declare the push token in the privacy policy - #1843

Merged
devswha merged 5 commits into
mainfrom
chore/app-owner-assist
Oct 24, 2026
Merged

devswha merged 5 commits into
mainfrom
chore/app-owner-assist

Conversation

@devswha

@devswha devswha commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

Play Alpha 1.0 (1) was built on 2026-10-20, before ovis-push existed (#1744), and its bundle carries no FCM config (no google_app_id in base/resources.pb, no OvisMessagingService in the manifest). iOS build 2 (in App Review) has no push either; native push comes with build 3, so app/store/ios.md is unchanged. A new Android bundle, 1.0 (2), was built with OVIS_GOOGLE_SERVICES and signed with the upload key; it is not uploaded (the owner uploads it).

Changes

  • app/android/app/build.gradle: versionCode 2 (versionName stays 1.0).
  • ovis-site/privacy/ and ovis-site/ko/privacy/: an Alerts section. Once alerts are on, the app registers its APNs or FCM push token with push.ovis.sh, which keeps it until Apple or Google calls it gone or it goes unused for 60 days; alerts are end-to-end encrypted; the relay keeps no logs or IP addresses. The summary no longer says the app sends us nothing.
  • app/store/android.md: 1.0 (2) is the push build; data safety lists the push relay as a third route and the FCM token under Device or other IDs; release name and notes for 1.0 (2).

Checked

  • unzip of the new bundle: google_app_id present, OvisMessagingService in the manifest, merged manifest versionCode="2"; keytool -printcert matches the upload key's SHA-256.
  • Relay without a phone: bun push-relay/test-push.ts fcm <made-up token> gives register 201, push 410 (FCM sign-in works).
  • Every claim in the Alerts section checked against push-relay/ and src/lib/push.ts by a code-review agent (omo-native-code-reviewer), three rounds, final verdict APPROVE.
  • bun run check fast passes.

No code changes in server/, src/ or shared/.

mp added 3 commits October 24, 2026 20:27
Play Alpha 1.0 (1) was built before ovis-push existed and carries no FCM config. 1.0 (2) is built with OVIS_GOOGLE_SERVICES so Android alerts can reach the phone.
Android 1.0 (2) and iOS 1.0 (build 2) register a push token with push.ovis.sh once alerts are on. The privacy policy said the app sends nothing to us, and the store pages still described builds without push.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Deploying ovis with  Cloudflare Pages  Cloudflare Pages

Latest commit: a6572ae
Status: ✅  Deploy successful!
Preview URL: https://c4c0bb64.ovis.pages.dev
Branch Preview URL: https://chore-app-owner-assist.ovis.pages.dev

View logs

@coderabbitai

coderabbitai Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 32 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration
Commits

Reviewing files that changed from the base of the PR and between 8fe7da9 and a6572ae.

Files selected for processing: 4
  • app/android/app/build.gradle
  • app/store/android.md
  • ovis-site/ko/privacy/index.html
  • ovis-site/privacy/index.html
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

Build 2, the one in App Review, has no Push capability or notification extension: native push landed on main after it (#1817) and comes with build 3. The earlier commit here said build 2 had push.
@devswha

devswha commented Oct 24, 2026

Copy link
Copy Markdown
Owner Author

Merge pass review-work for 9f912cf: REVIEW FAILED. One accuracy fix is needed in the privacy pages.

Blocker: two sentences still contradict the new Alerts section (en and ko, lines 42 and 54).

  • Line 42 (summary): "it connects only to the computers you add to it" / "사용자가 추가한 컴퓨터하고만 연결됩니다". With alerts on, the app also connects to push.ovis.sh to register its token.
  • Line 54: "The app connects only to the PC addresses you add or scan … We do not run a server in between" / "중간에 저희 서버가 없고". Your PC's alerts do go through our relay. They are encrypted, but they pass through it.

For a privacy policy, these should be exactly true. Please qualify both sentences in both languages. For example: "…connects only to the computers you add (and, once you turn alerts on, to our push relay, below)", and "Your conversations, terminal output and files never pass through a server of ours; only encrypted alerts do, through the push relay described below."

Checked and correct:

  • Alerts section: every claim matches push-relay/ and src/lib/push.ts. That covers:
    • deletion when Apple or Google calls the token gone;
    • the 60-day expiry, run by a daily job;
    • what happens when alerts are turned off;
    • no logs and no stored IP;
    • end-to-end encryption.
  • Translations: en and ko say the same thing.
  • Which builds have push:
    • android.md: 1.0 (1) without push, 1.0 (2) with it. This matches versionCode 2 / versionName "1.0".
    • ios.md: after 9f912cf it is back to main's text, and build 2 has no push, matching the PR body.
  • Tests: the site and conventions tests pass 28/28, and the typecheck passes.

Non-blocking: section 2 of app/store/android.md builds without OVIS_GOOGLE_SERVICES. Followed as written, the next upload would ship without push while the store forms declare it. Please add the variable to that recipe.

@devswha

devswha commented Oct 24, 2026

Copy link
Copy Markdown
Owner Author

CodeRabbit hit its review limit on this PR ("Review limit reached"), so no CodeRabbit review ran. A code-review agent (omo-native-code-reviewer) reviewed it in three rounds; findings and how each was resolved:

Round 1 (versionCode commit): CHANGES REQUESTED

  • HIGH: app/store/android.md said 1.0 (2) has push while lines 8-9, the data safety header and "Later builds" still described a build without it, and the privacy policy did not declare the push token. Fixed: intro, data safety header, the Device or other IDs row (FCM token, app functionality, optional), Later builds, and an Alerts section on both privacy pages.
  • LOW: release note in the table's "Now" cell; no release name for 1.0 (2). Fixed (cell holds only the value; step 6 gives 1.0 (2) / Push notifications.).

Round 2: CHANGES REQUESTED

  • HIGH: "Two routes leave the phone" and "the only data that reaches the developer" contradicted the push token. Fixed: a third route (push relay), the line qualified, the relay and FCM named as service providers.
  • MEDIUM: the privacy pages said the store listings already name the token, untrue for iOS. Fixed: the pages state the fact without citing the listings.
  • LOW: long line in step 6. Fixed.

Round 3: APPROVE (every claim in the Alerts section checked against push-relay/ and src/lib/push.ts: token sent with the PC's public key, only once alerts are on, deleted when Apple or Google calls it gone or after 60 days unused, no logs, no IP stored; en and ko match).

After approval: another lane found that iOS build 2 (in App Review) has no Push capability or notification extension; native push comes with build 3. The app/store/ios.md changes that said build 2 has push were reverted (9f912cf), so this PR touches only Android and the privacy pages. bun run check fast passes on 9f912cf.

…e on

Answers the merge pass review: the summary and the network section still said the app connects only to the user's PCs and that no server of ours sits in between. Also name OVIS_GOOGLE_SERVICES in the Play build recipe, so a bundle built from it carries push.
@devswha

devswha commented Oct 24, 2026

Copy link
Copy Markdown
Owner Author

Fixed in a6572ae (bun run check fast passes):

  • Blocker: both sentences now say the app also reaches our push relay once alerts are on, in en and ko. Summary (line 42): "connects only to the computers you add to it (and, once you turn alerts on, to our push relay, described below)". Network section (line 54): the app connects to the PCs "and, once you turn alerts on, to our push relay"; "None of it passes through a server of ours ... only encrypted alerts do, through the push relay described below."
  • Non-blocking: the Play build recipe in app/store/android.md section 2 now sets OVIS_GOOGLE_SERVICES=~/.config/ovis-push/google-services.json, with a note that without it the bundle has no push.

Docs and static pages only, so no new review was requested.

@devswha

devswha commented Oct 24, 2026

Copy link
Copy Markdown
Owner Author

Merge pass review-work report. Overall: PASSED.

What this PR does: it bumps the Android app to 1.0 (2) with push, and the privacy policy (English and Korean) declares the push token. The store notes give the release build command with OVIS_GOOGLE_SERVICES.

Earlier review: the merge pass found that the privacy policy said "we do not run a server in between" while also describing the push relay.

a6572ae (docs only), which fixes it:

  • The summary and "What travels over the network" now say the app also reaches our push relay once alerts are on.
  • They say the only thing that passes through a server of ours is the encrypted alerts, through that relay. Agent conversations, terminal output and files never do.
  • The Korean page matches the English one.
  • git merge-tree is clean against main and against fix(app): keep a PC address that redirects to Ovis in the app #1903, which shares app/android/app/build.gradle.

All required checks are green and no review thread is open.

CodeRabbit did not review this PR (rate-limited or skipped). The reviews above stand in for it.

@devswha
devswha merged commit 0cf444a into main Oct 24, 2026
18 of 20 checks passed
@devswha
devswha deleted the chore/app-owner-assist branch October 24, 2026 17:23
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.

1 participant