Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1001 Bytes

README.md

File metadata and controls

43 lines (34 loc) · 1001 Bytes

Crash

When your app crash log will be sent to your email via this tool

Use

1.Gradle intergration(* 强烈建议使用gradle加载 use Gradle dependency (recommended))

compile 'com.ydq:crash:1.0.5'

2.Maven intergration

<dependency>
  <groupId>com.ydq</groupId>
  <artifactId>crash</artifactId>
  <version>1.0.5</version>
  <type>pom</type>
</dependency>

two sdk:

1.CrashCatchSDK

In Application onCreate() add:
ArrayList<String> receivers = new ArrayList<>();
receivers.add("[email protected]");
CrashCatchSDK.init(this, "[email protected]", "RPLfexaFoGXBaxiyZK9kCw==", receivers);

2.EmailerSDK

Anywhere:
List<String> receivers = new ArrayList<>();
receivers.add("[email protected]");
EmailerSDK.setReceivers(receivers);
EmailerSDK.setAccoutPwd("[email protected]", "RPLfexaFoGXBaxiyZK9kCw==");
EmailerSDK.sendTextByEmail(MainActivity.this, "this is a test email ");

if you have problems ,contact [email protected]