From 86cc0c464952ac3c4d6c7e4e69351a75f686a229 Mon Sep 17 00:00:00 2001
From: M66B <259573+M66B@users.noreply.github.com>
Date: Sun, 31 Mar 2024 08:37:51 +0200
Subject: [PATCH] Enabled ChatGPT and Gemini in Play Store build
---
FAQ.md | 4 ++--
app/build.gradle | 8 ++++----
index.html | 4 ++--
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/FAQ.md b/FAQ.md
index 96193bae25..dab5cecd32 100644
--- a/FAQ.md
+++ b/FAQ.md
@@ -5558,7 +5558,7 @@ It is possible to use **DeepInfra** too (since version 1.2132).
-This feature is experimental and available in the GitHub version only and requires version 1.2053 or later.
+This feature was added in version 1.2053.
@@ -5818,7 +5818,7 @@ For usage instructions, please see [this FAQ](#faq190).
Please read the privacy policy of [Gemini](https://support.google.com/gemini/answer/13594961).
FairEmail does not use third-party libraries to avoid being tracked when Gemini is not being used.
-This feature was added in version 1.2171 and is available in the GitHub version of the app only.
+This feature was added in version 1.2171.
diff --git a/app/build.gradle b/app/build.gradle
index 49b0ff3150..f5bb255502 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -293,10 +293,10 @@ android {
buildConfigField "String", "ANNOUNCEMENT_URI", "\"\""
buildConfigField "String", "CLOUD_URI", "\"\""
buildConfigField "String", "CLOUD_EMAIL", "\"\""
- buildConfigField "String", "OPENAI_ENDPOINT", "\"\""
- buildConfigField "String", "OPENAI_PRIVACY", "\"\""
- buildConfigField "String", "GEMINI_ENDPOINT", "\"\""
- buildConfigField "String", "GEMINI_PRIVACY", "\"\""
+ buildConfigField "String", "OPENAI_ENDPOINT", "\"https://api.openai.com/v1/\""
+ buildConfigField "String", "OPENAI_PRIVACY", "\"https://openai.com/policies/privacy-policy\""
+ buildConfigField "String", "GEMINI_ENDPOINT", "\"https://generativelanguage.googleapis.com/v1beta/\""
+ buildConfigField "String", "GEMINI_PRIVACY", "\"https://support.google.com/gemini/answer/13594961\""
buildConfigField "String", "FDROID", "\"\""
getIsDefault().set(true)
}
diff --git a/index.html b/index.html
index f99243e107..e55e362460 100644
--- a/index.html
+++ b/index.html
@@ -2752,7 +2752,7 @@ adb install /path/to/FairEmail-xxx.apk
This feature is experimental and available in the GitHub version only and requires version 1.2053 or later.
+This feature was added in version 1.2053.
(191) How do I download and keep older messages on my device?
🌎 Google Translate
@@ -2868,7 +2868,7 @@ adb install /path/to/FairEmail-xxx.apkFor usage instructions, please see this FAQ.
Please read the privacy policy of Gemini. FairEmail does not use third-party libraries to avoid being tracked when Gemini is not being used.
-This feature was added in version 1.2171 and is available in the GitHub version of the app only.
+This feature was added in version 1.2171.