From 6ef36e95a0158beb6a56eae53efce0bd100900d5 Mon Sep 17 00:00:00 2001
From: Nils Bergemann <36163350+nbergemann@users.noreply.github.com>
Date: Thu, 30 Nov 2023 15:35:41 +0100
Subject: [PATCH] Update README for Correct Android Configuration in Flutter
Projects
- Updated the path for strings.xml in the README to `android/app/src/main/res/values/strings.xml`, clarifying the correct location for Flutter projects.
- Enhanced the XML snippet in the README to include the full structure of the strings.xml file, ensuring that users have a complete example for reference.
- These changes aim to improve the accuracy and clarity of the instructions for integrating the Facebook SDK in Android part of Flutter projects.
---
README.md | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index c6935371..036bb1ac 100644
--- a/README.md
+++ b/README.md
@@ -19,11 +19,14 @@ You must first create an app at Facebook for developers: https://developers.face
### Configure Android
-Read through the "[Getting Started with App Events for Android](https://developers.facebook.com/docs/app-events/getting-started-app-events-android)" tutorial and in particular, follow [step 3](https://developers.facebook.com/docs/app-events/getting-started-app-events-android#step-3--integrate-the-facebook-sdk-in-your-android-app) by adding the following into `/app/res/values/strings.xml` (or into respective `debug` or `release` build flavor)
+Read through the "[Getting Started with App Events for Android](https://developers.facebook.com/docs/app-events/getting-started-app-events-android)" tutorial and in particular, follow [step 3](https://developers.facebook.com/docs/app-events/getting-started-app-events-android#step-3--integrate-the-facebook-sdk-in-your-android-app) by adding the following into `android/app/src/main/res/values/strings.xml` (or into respective `debug` or `release` build flavor)
```xml
-[APP_ID]
-[CLIENT_TOKEN]
+
+
+ [APP_ID]
+ [CLIENT_TOKEN]
+
```
After that, add that string resource reference to your main `AndroidManifest.xml` file, directly under the `` tag.