summaryrefslogtreecommitdiffhomepage
path: root/app/lib/problem-report.android.js
blob: b0bee2264d657d1d98b17ffcc5fe49366b4f2b74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// @flow
import { MobileAppBridge } from 'NativeModules';

const collectProblemReport = (toRedact: string) => {
  return MobileAppBridge.collectProblemReport(toRedact);
};

const sendProblemReport = (email: string, message: string, savedReport: string) => {
  return MobileAppBridge.sendProblemReport(email, message, savedReport);
};

export { collectProblemReport, sendProblemReport };