forked from Blendman974/faceclaw
Metadata updates for Play Store distribution
This commit is contained in:
1 parent
70ec2a0d6a
commit
8b70585da8
12 files changed
+132
-47
No files matched your search
@@ -28,7 +28,7 @@ import { LIST_ROW_TEXT_INSET, lineStep } from "./metrics";
|
||||
import { Layer, type LayerContext } from "./layers";
|
||||
import { GrayImage } from "~/graphics/image";
|
||||
import type { DataCollectionLevel } from "../analytics/analytics-store";
|
||||
import { IOS_PRIVACY_SUMMARY } from "../analytics/privacy-disclosure";
|
||||
import { ANDROID_PRIVACY_SUMMARY, IOS_PRIVACY_SUMMARY } from "../analytics/privacy-disclosure";
|
||||
|
||||
export type NightscoutSettings = {
|
||||
siteUrl: string;
|
||||
@@ -858,7 +858,7 @@ const DATA_COLLECTION_LABELS: Record<DataCollectionLevel, string> = {
|
||||
// What each level collects is set out in app/analytics/analytics-store.ts and
|
||||
// the privacy policy (PRIVACY); keep these in step with both.
|
||||
const DATA_COLLECTION_SUMMARIES: Record<DataCollectionLevel, string> = {
|
||||
none: "Disable all data sharing",
|
||||
none: "No Faceclaw statistics",
|
||||
minimal: "Version, devices, and connection reliability statistics",
|
||||
full: "More detailed usage data",
|
||||
};
|
||||
@@ -877,7 +877,7 @@ export const dataCollectionSetting = new ConfigSettingEnum<DataCollectionLevel>(
|
||||
values: ["none", "minimal", "full"],
|
||||
formatValue: (value) => DATA_COLLECTION_LABELS[value],
|
||||
description:
|
||||
(global.isIOS ? IOS_PRIVACY_SUMMARY + " " : "") +
|
||||
(global.isIOS ? IOS_PRIVACY_SUMMARY : ANDROID_PRIVACY_SUMMARY) + " " +
|
||||
"Optional statistics Faceclaw may send its developers once a day, to help fix problems and improve the " +
|
||||
"app. None: no Faceclaw statistics are stored or sent. Minimal: the app version, which devices are " +
|
||||
"paired and in use, and how reliable the connection to them is. Full: also settings chosen from fixed " +
|
||||
|
||||
Reference in new issue
Block a user