diff --git a/FAQ.md b/FAQ.md index 4b85165b9e..cdf2a43dd2 100644 --- a/FAQ.md +++ b/FAQ.md @@ -2599,4 +2599,4 @@ Requested features should: Features not fulfilling these requirements will likely be rejected. -If you have another question, want to request a feature or report a bug, please use *Report issue* in the main navigation/hamburger menu of the app. +If you have another question, want to request a feature or report a bug, please use [this form](https://contact.faircode.eu/?product=fairemailsupport). diff --git a/app/src/main/java/eu/faircode/email/FragmentAccount.java b/app/src/main/java/eu/faircode/email/FragmentAccount.java index f428796b93..3a8e394fee 100644 --- a/app/src/main/java/eu/faircode/email/FragmentAccount.java +++ b/app/src/main/java/eu/faircode/email/FragmentAccount.java @@ -407,7 +407,7 @@ public class FragmentAccount extends FragmentBase { btnSupport.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { - Helper.view(getContext(), Uri.parse(Helper.FAQ_URI + "#user-content-authorizing-accounts"), false); + Helper.view(getContext(), Uri.parse(Helper.SUPPORT_URI), false); } }); diff --git a/app/src/main/java/eu/faircode/email/FragmentGmail.java b/app/src/main/java/eu/faircode/email/FragmentGmail.java index 6d5278314c..4466186eff 100644 --- a/app/src/main/java/eu/faircode/email/FragmentGmail.java +++ b/app/src/main/java/eu/faircode/email/FragmentGmail.java @@ -133,7 +133,7 @@ public class FragmentGmail extends FragmentBase { btnSupport.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { - Helper.view(getContext(), Uri.parse(Helper.FAQ_URI + "#user-content-authorizing-accounts"), false); + Helper.view(getContext(), Uri.parse(Helper.SUPPORT_URI), false); } }); diff --git a/app/src/main/java/eu/faircode/email/FragmentIdentity.java b/app/src/main/java/eu/faircode/email/FragmentIdentity.java index 66454fe404..1fae8de111 100644 --- a/app/src/main/java/eu/faircode/email/FragmentIdentity.java +++ b/app/src/main/java/eu/faircode/email/FragmentIdentity.java @@ -433,7 +433,7 @@ public class FragmentIdentity extends FragmentBase { btnSupport.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { - Helper.view(getContext(), Uri.parse(Helper.FAQ_URI + "#user-content-authorizing-accounts"), false); + Helper.view(getContext(), Uri.parse(Helper.SUPPORT_URI), false); } }); diff --git a/app/src/main/java/eu/faircode/email/FragmentOAuth.java b/app/src/main/java/eu/faircode/email/FragmentOAuth.java index 082ad987f9..67e0d6fc11 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOAuth.java +++ b/app/src/main/java/eu/faircode/email/FragmentOAuth.java @@ -139,7 +139,7 @@ public class FragmentOAuth extends FragmentBase { btnSupport.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { - Helper.view(getContext(), Uri.parse(Helper.FAQ_URI + "#user-content-authorizing-accounts"), false); + Helper.view(getContext(), Uri.parse(Helper.SUPPORT_URI), false); } }); diff --git a/app/src/main/java/eu/faircode/email/FragmentQuickSetup.java b/app/src/main/java/eu/faircode/email/FragmentQuickSetup.java index eb1b1018c1..80d4d20ab2 100644 --- a/app/src/main/java/eu/faircode/email/FragmentQuickSetup.java +++ b/app/src/main/java/eu/faircode/email/FragmentQuickSetup.java @@ -144,7 +144,7 @@ public class FragmentQuickSetup extends FragmentBase { btnSupport.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { - Helper.view(getContext(), Uri.parse(Helper.FAQ_URI + "#user-content-authorizing-accounts"), false); + Helper.view(getContext(), Uri.parse(Helper.SUPPORT_URI), false); } }); diff --git a/app/src/main/java/eu/faircode/email/Helper.java b/app/src/main/java/eu/faircode/email/Helper.java index 6e2e1f191a..25b2c7e064 100644 --- a/app/src/main/java/eu/faircode/email/Helper.java +++ b/app/src/main/java/eu/faircode/email/Helper.java @@ -94,6 +94,7 @@ import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; +import java.io.UnsupportedEncodingException; import java.nio.charset.StandardCharsets; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; @@ -132,7 +133,7 @@ public class Helper { static final String FAQ_URI = "https://github.com/M66B/FairEmail/blob/master/FAQ.md"; static final String XDA_URI = "https://forum.xda-developers.com/showthread.php?t=3824168"; - static final String SUPPORT_URI = "https://support.faircode.eu/"; + static final String SUPPORT_URI = "https://contact.faircode.eu/?product=fairemailsupport"; static final String TEST_URI = "https://play.google.com/apps/testing/" + BuildConfig.APPLICATION_ID; static ExecutorService getBackgroundExecutor(int threads, String name) { @@ -306,8 +307,6 @@ public class Helper { static Intent getIntentIssue(Context context) { if (ActivityBilling.isPro(context)) { - return new Intent(Intent.ACTION_VIEW, Uri.parse(SUPPORT_URI)); -/* String version = BuildConfig.VERSION_NAME + "/" + (Helper.hasValidFingerprint(context) ? "1" : "3") + (BuildConfig.PLAY_STORE_RELEASE ? "p" : "") + @@ -323,7 +322,6 @@ public class Helper { } intent.putExtra(Intent.EXTRA_SUBJECT, context.getString(R.string.title_issue_subject, version)); return intent; -*/ } else return new Intent(Intent.ACTION_VIEW, Uri.parse(XDA_URI)); }