因應 Apple App Store 資料揭露規定的準備工作
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Apple 要求開發人員在 App Store 發布應用程式時,揭露應用程式資料使用情形的特定資訊。Apple 宣布自 2020 年 12 月 8 日起,新應用程式和應用程式更新都必須揭露上述資訊。本文件包含根據 Apple 的規範,可能須揭露的 ML Kit 程式庫行為。
本頁面只會列出每個 ML Kit iOS SDK 最新版本收集的資料。
已收集的資料
在所有功能中收集的資料
資料 |
ML Kit SDK 預設會收集...
|
裝置資訊
|
裝置資訊 (例如製造商、型號、OS 版本和版本) 和可用的機器學習硬體加速器。用於診斷和使用分析。 |
應用程式資訊
|
軟體包 ID 和應用程式版本。用於診斷和使用分析。 |
裝置或其他 ID
|
不是專門用於識別使用者或實體裝置的單次安裝 ID。用於診斷和使用分析。 |
成效指標
|
成效指標 (例如延遲時間)。用於診斷和使用分析。 |
API 設定
|
API 設定 (例如圖片格式和解析度)。用於診斷和使用分析。 |
事件類型
|
事件類型 (例如功能初始化、模型下載、偵測、資源發布)。用於診斷和使用分析。 |
錯誤代碼
|
功能事件 (例如功能初始化、模型下載、偵測、資源發布) 的錯誤代碼。用於診斷和使用分析。 |
自訂物件偵測與圖片加上標籤
MLKitObjectDetectionCustom
MLKitImageLabelingCustom
翻譯
MLKitTranslate
實體擷取與數位墨水辨識
MLKitEntityExtraction
MLKitDigitalInkRecognition
智慧回覆
MLKitSmartReply
語言 ID
MLKitLanguageID
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eStarting December 8, 2020, Apple requires developers to disclose data collection practices of their apps, including those using ML Kit.\u003c/p\u003e\n"],["\u003cp\u003eML Kit for iOS collects device information, application details, performance metrics, and other data for diagnostics and usage analytics across all features.\u003c/p\u003e\n"],["\u003cp\u003eSpecific ML Kit features, like custom object detection or translation, may collect additional data such as model information or configured languages.\u003c/p\u003e\n"],["\u003cp\u003eSome ML Kit features utilize Firebase services, requiring further data disclosure as outlined in Firebase documentation.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should review the detailed data collection information provided for each ML Kit feature to ensure accurate and complete disclosure to Apple.\u003c/p\u003e\n"]]],["Apple mandates developers disclose app data usage, effective December 8, 2020. The ML Kit iOS SDK collects device, application, and identifier information, performance metrics, API configuration, event types, and error codes, for diagnostics and usage analytics. Custom object detection and image labeling features also collect model details. Translate, Smart Reply features collect configured or identified languages. Entity extraction and digital ink recognition also gather configured languages. Specific features may use Firebase for additional functions.\n"],null,["# Prepare for Apple’s App Store data disclosure requirements\n\nApple requires developers publishing apps on the App Store to disclose\n[certain information](https://developer.apple.com/app-store/app-privacy-details/)\nregarding their apps' data use. Apple has\n[announced](https://developer.apple.com/news/?id=vlj9jty9) that these\ndisclosures are required for new apps and app updates starting December 8, 2020.\nThis document contains ML Kit library behaviors that could require disclosure\naccording to Apple's guidelines.\n\nThis page lists the data collected by only\n[the latest version](https://developers.google.com/ml-kit/release-notes) of each\nML Kit iOS SDK.\n\nCollected data\n--------------\n\n### Data collected in all features\n\n|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Data** | **By default, the ML Kit SDK collects...** |\n| Device information | Device information (such as manufacturer, model, OS version and build) and available ML hardware accelerators. Used for diagnostics and usage analytics. |\n| Application information | Bundle ID and app versions. Used for diagnostics and usage analytics. |\n| Device or other identifiers | Per-installation identifiers that are not intended to uniquely identify a user or physical device. Used for diagnostics and usage analytics. |\n| Performance metrics | Performance metrics (such as latency). Used for diagnostics and usage analytics. |\n| API configuration | API configuration (such as image format and resolution). Used for diagnostics and usage analytics. |\n| Event type | Event type (such as feature initializations, model downloads, detection, resource releases). Used for diagnostics and usage analytics. |\n| Error codes | Error code for feature events (such as feature initializations, model downloads, detection, resource releases). Used for diagnostics and usage analytics. |\n\n### Extra data collected in specific features\n\n#### Custom object detection and image labeling\n\n`MLKitObjectDetectionCustom` \n\n`MLKitImageLabelingCustom`\n\n- If you are using these libraries with custom models, the following data is collected:\n - Name, version, and URI/URL of the machine learning model for diagnostics\n- If you are using [Firebase Model Deployment](https://firebase.google.com/docs/ml/manage-hosted-models) with *`MLKitLinkFirebase`* to remotely host a custom model, refer to the [Firebase ML model downloader](https://firebase.google.com/docs/ios/app-store-data-collection#firebasemlmodeldownloader) and [Firebase installations](https://firebase.google.com/docs/ios/app-store-data-collection#installations) sections in [Prepare for Apple Store data disclosure requirements](https://firebase.google.com/docs/ios/app-store-data-collection).\n\n#### Translate\n\n`MLKitTranslate`\n\n- Configured source and destination languages. Used for diagnostics and usage analytics.\n- ML Kit uses *Firebase remote config* and *Firebase installations* for remote configuration diagnostics. Please refer to the [Firebase remote config](https://firebase.google.com/docs/ios/app-store-data-collection#remote-config) and [Firebase installations](https://firebase.google.com/docs/ios/app-store-data-collection#installations) sections in [Prepare for Apple Store data disclosure requirements](https://firebase.google.com/docs/ios/app-store-data-collection).\n\n#### Entity extraction and digital ink recognition\n\n`MLKitEntityExtraction` \n\n`MLKitDigitalInkRecognition`\n\n- Configured languages. Used for diagnostics and usage analytics.\n\n#### Smart reply\n\n`MLKitSmartReply`\n\n- Identified languages. SmartReply internally uses language identification to only respond to specific languages. Used for diagnostics and usage analytics.\n- ML Kit uses *Firebase remote config* and *Firebase installations* for remote configuration diagnostics. Please refer to the [Firebase remote config](https://firebase.google.com/docs/ios/app-store-data-collection#remote-config) and [Firebase installations](https://firebase.google.com/docs/ios/app-store-data-collection#installations) sections in [Prepare for Apple Store data disclosure requirements](https://firebase.google.com/docs/ios/app-store-data-collection).\n\n#### Language ID\n\n`MLKitLanguageID`\n\n- Identified languages. Used for diagnostics and usage analytics."]]