JobSenderService cannot be executed on my device
See original GitHub issueCustomer define YourOwnSender and send method not called and I debug find JobSenderService cannot be start.
Version
- Android: 10
- ACRA: implementation “ch.acra:acra-core:5.7.0”
- Code:
@AcraCore(
buildConfigClass = BuildConfig::class,
reportFormat = StringFormat.JSON,
applicationLogFile = "applog.log",
applicationLogFileDir = Directory.FILES,
reportContent = [ReportField.APP_VERSION_NAME, ReportField.ANDROID_VERSION, ReportField.PHONE_MODEL, ReportField.CUSTOM_DATA, ReportField.STACK_TRACE, ReportField.LOGCAT],
reportSenderFactoryClasses = [YourOwnSenderfactory::class])
open class MyApplication : Application() {
...
override fun attachBaseContext(base: Context?) {
super.attachBaseContext(base)
ACRA.DEV_LOGGING = true
ACRA.init(this)
}
}
public class YourOwnSenderfactory implements ReportSenderFactory {
@Override
public ReportSender create(Context context, CoreConfiguration config) {
return new YourOwnSender();
}
@Override
public boolean enabled(@NonNull CoreConfiguration coreConfig) {
return true;
}
}
public class YourOwnSender implements ReportSender {
@Override
public void send(Context context, CrashReportData report) throws ReportSenderException {
try {
Log.e("YourOwnSender", report.toJSON());
} catch (Exception e) {
e.printStackTrace();
}
}
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
ReportField - ACRA
Installation unique ID. This identifier allow you to track a specific user application installation without using any personal data. USER_EMAIL.
Read more >Automated Malware Analysis Report for ULRSsQC2Vv.apk ...
Has permission to perform phone calls in the background. Tries to detect Virtualbox. May take a camera picture. Queries the phones location (GPS)....
Read more >org.acra.log.ACRALog.e java code examples - Tabnine
Collect results of the <code>dumpsys meminfo</code> command restricted to this application process. * * @return The execution result.
Read more >Manyverse 0.2005.5-beta crashes on open (#920) · Issues
I'm using the GrapheneOS variant of Android on a Pixel 3A and retrieved as well as updated the Manyverse app via F-Droid (current...
Read more >flutter exception has occurred. gsheetsexception ... - You.com
The caller does not have the permission to execute the specific operation. but ... [✓] Android toolchain - develop for Android devices (Android...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You got a Xiaomi device?
Yeah, a known issue, specifically #804
This isn’t ACRAs fault, Xiaomi messed up their android implementation. We are working on a potential workaround, follow that issue for progress.