From daa39fb1938464bad01c1b8a2fb78d00f3e8f4fa Mon Sep 17 00:00:00 2001 From: LeeDaeHyeon <38102465+LeeDaeHyeon1110@users.noreply.github.com> Date: Tue, 26 Sep 2023 11:22:37 +0900 Subject: [PATCH] docs: Update README.md --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 550659d..be4fbd9 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,23 @@ To use this plugin, follow the [**plugin installation instructions**](https://pub.dev/packages/screenshot_callback#-installing-tab-). +### Android + +Android detects external storage to determine if a screenshot has occurred. So you need permission to media images (Android 12 or later) or external storage + +Specify your API key in the application manifest +`android/app/src/main/AndroidManifest.xml`: + +```xml + + +``` + +### iOS + +No action is required. Screenshots can be detected by the plug-in itself. + ### Use the plugin Add the following import to your Dart code: