Phiên bản chính sách / Policy version: v10 · Ngày hiệu lực / Effective date: 05/12/2026

Chính sách quyền riêng tư — Sổ tay quán nhỏ

Chính sách áp dụng cho ứng dụng Sổ tay quán nhỏ, mã ứng dụng com.nguyenhuy.sotayquannho.

Chủ thể phát hành và chịu trách nhiệm xử lý dữ liệu: Nguyễn Xuân Huy.

Email hỗ trợ và quyền riêng tư: Victorhuyga@gmail.com.

1. Dữ liệu trên điện thoại

Ứng dụng không yêu cầu tạo tài khoản. Thông tin quán, thực đơn, bàn, đơn hàng, lịch sử, thu chi, ảnh món ăn và thông tin ngân hàng/QR do bạn nhập được lưu trong cơ sở dữ liệu và thư mục riêng trên điện thoại. Các dữ liệu kinh doanh này không được gửi đến dịch vụ xác minh gói sử dụng của nhà phát triển.

Thời điểm và trạng thái dùng thử, mã cài đặt ngẫu nhiên, bằng chứng quyền sử dụng và thông tin cần thiết để khôi phục gói cũng được lưu trong vùng dữ liệu riêng của ứng dụng. Khi quyền dùng thử hoặc trả phí còn hợp lệ, ứng dụng hỗ trợ bán hàng ngoại tuyến.

2. Xác minh và khôi phục gói mua qua Google Play

Khi bạn mua, khôi phục hoặc khi ứng dụng đối chiếu quyền đã mua, ứng dụng gửi purchase token của Google Play, mã ứng dụng, mã sản phẩm và mã cài đặt ngẫu nhiên qua HTTPS đến backend Billing trên Cloudflare Workers/D1. Backend sử dụng Google Play Developer API để xác minh giao dịch, xác nhận đã tiếp nhận giao dịch, cấp hoặc khôi phục quyền và xác định thời điểm hết hạn.

Backend lưu token đã mã hóa và các tham chiếu cần thiết, gồm mã đơn hàng, sản phẩm/base plan, hạn gói, trạng thái xác nhận, hoàn tiền/thu hồi và thời điểm xử lý. Google Play gửi thông báo thay đổi giao dịch qua Google Cloud Pub/Sub để backend đối chiếu. Google Play/Google Cloud và Cloudflare tham gia xử lý theo chức năng của từng dịch vụ. Nhà phát triển không nhận số thẻ, mã CVV hoặc mật khẩu thanh toán của bạn.

3. Mục đích xử lý và mã cài đặt

Dữ liệu Billing được dùng để cung cấp quyền đã mua, khôi phục quyền, đối chiếu hết hạn hoặc hoàn tiền/thu hồi, tránh cấp trùng và chống giả mạo. Mã cài đặt là giá trị ngẫu nhiên do ứng dụng tạo, không phải IMEI, số điện thoại hoặc mã định danh phần cứng. Mã này được xử lý để ràng buộc bằng chứng quyền sử dụng có chữ ký với lần cài đặt; bảng giao dịch D1 hiện không có cột lưu riêng mã cài đặt.

4. Kết nối mạng và hoạt động ngoại tuyến

Ứng dụng kết nối Google và Cloudflare qua HTTPS để đối chiếu thời gian và hạn chế ảnh hưởng của việc đổi đồng hồ. Các kết nối có thông tin mạng thông thường như địa chỉ IP; backend dùng khóa băm từ IP để giới hạn tần suất yêu cầu. Các nhà cung cấp có thể xử lý thông tin kỹ thuật và nhật ký vận hành/an ninh theo chính sách của họ.

Ứng dụng không kiểm tra Billing định kỳ hằng tuần. Quyền đã xác minh được lưu trên điện thoại để dùng ngoại tuyến trong thời hạn hợp lệ. Khi mất mạng, thay đổi hoàn tiền hoặc thu hồi có thể chỉ cập nhật sau khi thiết bị kết nối lại và đối chiếu quyền.

5. Sao lưu, chia sẻ và Bluetooth

Bạn chủ động xuất hoặc nhập tệp ZIP qua trình chọn tệp của Android. Nếu chọn nơi lưu đám mây hoặc ứng dụng khác, bản sao chịu chính sách của nơi nhận. Cấu hình hiện tại tắt Android Auto Backup và loại trừ dữ liệu khỏi sao lưu/chuyển tự động; hành vi chuyển dữ liệu trên một số thiết bị có thể khác. Tệp ZIP đã xuất không tự mất khi gỡ ứng dụng.

Khi bạn in hóa đơn hoặc đồng bộ Bluetooth tại chỗ, dữ liệu được truyền đến thiết bị bạn chọn, không qua backend Billing. Quyền Bluetooth, ảnh và tệp phục vụ các chức năng bạn sử dụng. Các chức năng bán hàng cơ bản không yêu cầu danh bạ, tin nhắn hoặc vị trí. Bạn nên bảo vệ bản sao lưu và chỉ kết nối thiết bị tin cậy.

6. Bảo mật và quảng cáo

Trao đổi Billing dùng HTTPS; purchase token lưu trên D1 được mã hóa ở tầng ứng dụng. Bằng chứng quyền sử dụng có chữ ký để ứng dụng kiểm tra; token lưu trên điện thoại được mã hóa bằng khóa Android Keystore. Điều này không có nghĩa mọi trường trong Room, hồ sơ giao dịch, tệp ZIP hoặc mọi kết nối Bluetooth đều được ứng dụng mã hóa riêng hay mã hóa đầu cuối. Bạn nên bảo vệ điện thoại và tài khoản Google của mình.

Bản v10 được rà soát chưa tích hợp Google Mobile Ads/AdMob hoặc UMP. Chính sách không mô tả AdMob là dịch vụ đang hoạt động. Việc sử dụng Google Play Billing và các dịch vụ liên quan vẫn có xử lý dữ liệu giao dịch và thông tin kỹ thuật phục vụ hoạt động, bảo mật và độ tin cậy của dịch vụ.

Thư viện Google Play Billing gửi thông tin chẩn đoán hoạt động đến Google qua Google DataTransport/HTTPS. Phần mã SDK đã rà soát có kết quả/mã lỗi, thông báo kỹ thuật và thông tin lỗi được rút gọn; mã và phiên bản ứng dụng/SDK; phiên bản Android và thông tin cấu hình thiết bị, hệ điều hành; mã tương quan ngẫu nhiên cho phiên BillingClient; loại mạng, mã nhà mạng SIM khi có, múi giờ và ngôn ngữ/quốc gia trong cài đặt locale. Các thông tin này hỗ trợ theo dõi hoạt động và độ ổn định của dịch vụ. Chuỗi nhận diện bản dựng hệ điều hành không được ứng dụng dùng để chống cài lại; mã quốc gia locale không phải bằng chứng ứng dụng đọc vị trí GPS. Đây không phải tích hợp quảng cáo AdMob.

7. Lưu giữ và xóa dữ liệu

Backend hiện chưa đặt thời hạn tự động xóa hồ sơ giao dịch và lịch sử thông báo Billing trên D1. Các hồ sơ này không tự xóa khi gói hết hạn, được hoàn tiền, khi bạn xóa dữ liệu điện thoại hoặc gỡ ứng dụng. Dữ liệu hàng đợi thử lại được dọn theo kết quả xử lý, không phải theo một thời hạn lưu lịch sử giao dịch đã đặt.

Các subscription Pub/Sub Production hiện giữ thông báo chưa được xác nhận tối đa 24 giờ và không giữ lại thông báo đã được xác nhận theo cấu hình hiện có. Đây là thời gian giữ thông báo đang chờ xử lý, không phải thời hạn lưu hồ sơ D1. Bản khôi phục và nhật ký do nhà cung cấp quản lý có vòng đời riêng; không có cam kết rằng thao tác xóa một bản ghi sẽ lập tức xóa mọi bản sao tại nhà cung cấp.

Bạn có thể quản lý hoặc xóa dữ liệu cục bộ bằng chức năng của ứng dụng/Cài đặt Android và tự xóa các tệp đã xuất. Việc này không xóa hồ sơ Billing trên máy chủ hoặc lịch sử đơn hàng do Google Play quản lý. Hiện ứng dụng chưa cung cấp chức năng tự phục vụ xóa hồ sơ Billing trên máy chủ.

Qua email liên hệ nêu trên, bạn có thể gửi câu hỏi hoặc yêu cầu về quyền riêng tư, nêu tên ứng dụng, nội dung cần xử lý và thông tin liên hệ. Không gửi purchase token, khóa bí mật, mật khẩu, dữ liệu thẻ hoặc bản sao dữ liệu bán hàng qua email/chat để chứng minh quyền mua gói.

Phạm vi xử lý hiện có gồm tiếp nhận, hỏi thêm để làm rõ yêu cầu, xem xét thông tin và giải thích khả năng hoặc giới hạn xử lý. Xác nhận địa chỉ email, mã đơn hàng, ảnh chụp hoặc mã cài đặt riêng lẻ không đủ để cho phép xóa hồ sơ của một người. Hiện chưa có luồng xác minh quyền sở hữu và xử lý yêu cầu xóa hồ sơ Billing trên máy chủ hoàn chỉnh đang vận hành. Khi chưa đủ cơ sở xác minh hoặc chưa thể thực hiện an toàn, hồ sơ Billing và quyền đã mua không tự bị thay đổi; người yêu cầu cần được thông báo giới hạn thực tế. Việc tiếp nhận email không có nghĩa dữ liệu đã được xóa. Chính sách này không đặt thời hạn lưu hoặc xử lý/xóa mới và không loại bỏ các nghĩa vụ pháp luật áp dụng.

8. Đối tượng sử dụng và cập nhật

Ứng dụng phục vụ người vận hành cửa hàng, không được thiết kế hướng tới trẻ em. Chính sách sẽ được cập nhật khi tính năng hoặc cách xử lý dữ liệu thay đổi; ngày hiệu lực được thông báo khi bản cập nhật được công bố.


Privacy Policy — Sổ tay quán nhỏ

This policy applies to the Sổ tay quán nhỏ app, application ID com.nguyenhuy.sotayquannho.

Publisher responsible for data processing: Nguyễn Xuân Huy.

Support and privacy email: Victorhuyga@gmail.com.

1. Data on your phone

The app does not require an app account or sign-in. Store details, menus, tables, orders, sales history, income, expenses, item photos and bank/QR information you enter are stored in the database and private app files on your phone. These business records are not sent to the developer's billing verification service.

The original trial record, a random installation identifier, entitlement proof and information needed to restore purchased access are also stored in private app storage. The app supports offline sales while the trial or paid entitlement remains valid.

2. Verifying and restoring Google Play purchases

When you purchase, restore or the app reconciles purchased access, the app sends the Google Play purchase token, application ID, product ID and random installation identifier over HTTPS to the billing backend on Cloudflare Workers/D1. The backend uses the Google Play Developer API to verify purchases, acknowledge receipt, grant or restore access and determine its expiry.

The backend stores the encrypted token and necessary references, including order ID, product/base plan, expiry, acknowledgement and refund/revocation status, and processing timestamps. Google Play sends purchase updates through Google Cloud Pub/Sub for reconciliation. Google Play/Google Cloud and Cloudflare process data as part of their respective services. The developer does not receive your payment card number, CVV or payment password.

3. Purposes and installation identifier

Billing data is used to provide and restore purchased access, reconcile expiry or refunds/revocations, avoid duplicate grants and prevent fraudulent purchases. The installation identifier is a random value generated by the app, not an IMEI, phone number or hardware identifier. It is processed to bind signed entitlement proof to an installation; the D1 purchase table currently has no separate installation-identifier column.

4. Network connections and offline use

The app connects to Google and Cloudflare over HTTPS to compare trusted time information and reduce the effect of clock changes. These connections include ordinary network information such as IP addresses; the backend uses a hashed IP key for rate limiting. Providers may process technical information and operational/security logs under their own policies.

The app does not perform scheduled weekly billing checks. Verified access is stored on the phone for offline use within its valid term. While the device is offline, refund or revocation changes may only be reflected after it reconnects and reconciles purchased access.

5. Backups, sharing and Bluetooth

You explicitly export or import ZIP backups through Android's file picker. If you select cloud storage or another app, the copy is subject to the recipient's policies. The current configuration disables Android Auto Backup and excludes app data from automatic backup/transfer; transfer behavior can differ on some devices. Exported ZIP files are not automatically removed when you uninstall the app.

When you print a receipt or synchronize locally over Bluetooth, data is sent to the device you select, not through the billing backend. Bluetooth, selected photos and files support the functions you use. Basic sales functions do not require contacts, messages or location. Protect your backups and connect only to trusted devices.

6. Security and advertising

Billing traffic uses HTTPS. Purchase tokens stored in D1 are encrypted at the application layer. Entitlement proof is digitally signed for the app to verify; tokens on the phone are encrypted using an Android Keystore key. This does not mean that every Room field, transaction metadata field, ZIP backup or Bluetooth connection is separately encrypted by the app or end-to-end encrypted. Protect your phone and Google account.

The reviewed v10 build does not integrate Google Mobile Ads/AdMob or UMP. This policy does not describe AdMob as an active service. Google Play Billing and related services still process purchase data and technical information for operation, security and reliability.

The Google Play Billing library sends operational diagnostics to Google through Google DataTransport/HTTPS. The reviewed SDK code includes operation results/error codes, technical messages and truncated error information; app identifiers and app/SDK versions; the Android version and device/operating-system configuration; a random correlation value for the BillingClient session; network type, SIM operator code where available, time zone and the language/country in the device's locale settings. This information supports monitoring service operation and reliability. The app does not use the operating-system build identifier to prevent reinstalls; a locale country code is not evidence that the app reads GPS location. This is not an AdMob advertising integration.

7. Retention and deletion

The billing backend currently has no automatic deletion period for purchase records or billing-notification history in D1. These records are not automatically deleted when access expires, a purchase is refunded, you clear phone data or you uninstall the app. Retry-queue data is removed based on processing outcomes, not a configured purchase-history retention period.

The existing Production Pub/Sub subscriptions retain unacknowledged notifications for up to 24 hours and do not retain acknowledged notifications under the current configuration. This is the retention of pending notifications, not the D1 record-retention period. Provider-managed recovery copies and logs have separate lifecycles; deleting one record does not imply immediate removal of every provider copy.

You can manage or delete local data using the app's functions or Android Settings and delete exported files yourself. This does not delete backend billing records or order history managed by Google Play. The app currently has no self-service function for deleting server-side billing records.

You can use the contact email above for privacy questions or requests, stating the app name, what you want addressed and your contact information. Do not send purchase tokens, private keys, passwords, payment-card data or copies of business records through email/chat to prove a purchase.

The current handling scope covers receiving requests, asking for clarification, reviewing information and explaining the available actions or limitations. An email address, order ID, screenshot or installation identifier alone is insufficient to authorize deletion of someone's records. A complete operational ownership-verification and server-side billing-deletion request process is not currently available. Where ownership cannot be sufficiently verified or processing cannot be performed safely, billing records and purchased access are not automatically changed; the requester should be informed of the actual limitations. Receiving an email does not mean that data has been deleted. This policy does not introduce a retention period or request-handling/deletion deadline and does not remove applicable legal obligations.

8. Intended users and updates

The app is intended for store operators and is not designed for children. This policy will be updated when features or data handling change; an effective date will be provided when an approved update is published.