Support via contact form

pull/172/head
M66B 6 years ago
parent c621ac71a3
commit 5ef3d3deb7

@ -2599,4 +2599,4 @@ Requested features should:
Features not fulfilling these requirements will likely be rejected. 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).

@ -407,7 +407,7 @@ public class FragmentAccount extends FragmentBase {
btnSupport.setOnClickListener(new View.OnClickListener() { btnSupport.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View view) { 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);
} }
}); });

@ -133,7 +133,7 @@ public class FragmentGmail extends FragmentBase {
btnSupport.setOnClickListener(new View.OnClickListener() { btnSupport.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View view) { 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);
} }
}); });

@ -433,7 +433,7 @@ public class FragmentIdentity extends FragmentBase {
btnSupport.setOnClickListener(new View.OnClickListener() { btnSupport.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View view) { 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);
} }
}); });

@ -139,7 +139,7 @@ public class FragmentOAuth extends FragmentBase {
btnSupport.setOnClickListener(new View.OnClickListener() { btnSupport.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View view) { 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);
} }
}); });

@ -144,7 +144,7 @@ public class FragmentQuickSetup extends FragmentBase {
btnSupport.setOnClickListener(new View.OnClickListener() { btnSupport.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View view) { 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);
} }
}); });

@ -94,6 +94,7 @@ import java.io.FileOutputStream;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream; import java.io.OutputStream;
import java.io.UnsupportedEncodingException;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
import java.security.MessageDigest; import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException; 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 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 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 final String TEST_URI = "https://play.google.com/apps/testing/" + BuildConfig.APPLICATION_ID;
static ExecutorService getBackgroundExecutor(int threads, String name) { static ExecutorService getBackgroundExecutor(int threads, String name) {
@ -306,8 +307,6 @@ public class Helper {
static Intent getIntentIssue(Context context) { static Intent getIntentIssue(Context context) {
if (ActivityBilling.isPro(context)) { if (ActivityBilling.isPro(context)) {
return new Intent(Intent.ACTION_VIEW, Uri.parse(SUPPORT_URI));
/*
String version = BuildConfig.VERSION_NAME + "/" + String version = BuildConfig.VERSION_NAME + "/" +
(Helper.hasValidFingerprint(context) ? "1" : "3") + (Helper.hasValidFingerprint(context) ? "1" : "3") +
(BuildConfig.PLAY_STORE_RELEASE ? "p" : "") + (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)); intent.putExtra(Intent.EXTRA_SUBJECT, context.getString(R.string.title_issue_subject, version));
return intent; return intent;
*/
} else } else
return new Intent(Intent.ACTION_VIEW, Uri.parse(XDA_URI)); return new Intent(Intent.ACTION_VIEW, Uri.parse(XDA_URI));
} }

Loading…
Cancel
Save