summaryrefslogtreecommitdiffhomepage
path: root/app/lib/problem-report.android.js
blob: 30a944e1784bacc566d161f16c679631c298b3ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// @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 };