When your app crash log will be sent to your email via this tool
compile 'com.ydq:crash:1.0.5'
<dependency>
<groupId>com.ydq</groupId>
<artifactId>crash</artifactId>
<version>1.0.5</version>
<type>pom</type>
</dependency>
In Application onCreate() add:
ArrayList<String> receivers = new ArrayList<>();
receivers.add("[email protected]");
CrashCatchSDK.init(this, "[email protected]", "RPLfexaFoGXBaxiyZK9kCw==", receivers);
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]