Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MailSender not showing share window on Xiaomi Android 10

See original GitHub issue

I am using ACRA 5.5.1 in React Native 0.61.2. I am using Dailog + Mailer feature to send the crash reports. `@AcraCore(buildConfigClass = BuildConfig.class, reportFormat = StringFormat.JSON) @AcraMailSender(mailTo = “email”, resSubject = R.string.acra_mail_subject, reportFileName = “ErrorReport”, reportAsFile = true) @AcraToast(resText = R.string.acra_toast_text) public class MainApplication extends Application implements ReactApplication {

@Override protected void attachBaseContext(Context base) { super.attachBaseContext(base); CoreConfigurationBuilder builder = new CoreConfigurationBuilder(this) .setBuildConfigClass(BuildConfig.class) .setReportFormat(StringFormat.JSON); builder.getPluginConfigurationBuilder(ToastConfigurationBuilder.class) .setResText(R.string.acra_toast_text); builder.getPluginConfigurationBuilder(MailSenderConfigurationBuilder.class) .setMailTo(“email”) .setResSubject(R.string.acra_mail_subject) .setReportFileName(“ErrorReport”) .setReportAsFile(true); ACRA.init(this, builder); }}`

Now, when I am using the APK in android 5.0, everytime my app crashes it open up a small window at bottom to share the report via email. Phone is Sony Xperia E2362.

But when I am using the APK in Android 10, phone xiaomi poco f1. It doesn’t show me any window to share the file. But right after I install my app, xiaomi scans the app and gives one option to open it. And when I open the app from that window I get that share report via email popup, after the app crashes. But not when I normally open my app from app menu. Bellow image shows the app scanning window which shows an option to open app and the second image which shows the share report via email when I use scanning window to open app.

I don’t know what am I missing. Please help.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

mikehardycommented, Jun 19, 2020

you can also have a look at and see if you are able to effect things with settings changes

If you are, then you can detect the restrictions during normal app execution and open the settings panel without too much fuss - it’s device-specific code which is never fun but the snippets are all over stackoverflow at least

I just got finished with another Xiaomi bug myself - they don’t let you set TextField ActionCode handlers, so you can’t help your users with contextual text actions. It’s always something with them in my experience. Super popular though so 🤷

F43nd1rcommented, Aug 5, 2020

Superseded by #804

Read more comments on GitHub >

github_iconTop Results From Across the Web

SenderService rejected on Xiaomi Android 10 #804 - GitHub
MailSender not showing share window on Xiaomi Android 10 #786. Closed. Mailer or HTTP sender not working when toast is used on android...
Read more >
Sharing screen from android not showing on my Windows ...
I used to be able to join a Teams meeting on two devices. I could share my screen on an Android tablet. My...
Read more >
Present during a video meeting - Android - Google Help
When you join to present, only your window or application is shown in the video meeting. No audio or other video is shared....
Read more >
How To Split Screen On Xiaomi Redmi Note 10 Pro - YouTube
Learn how to split screen on Redmi Note 10 pro. With a 6.67 inch display, split screen allows you to use two applications...
Read more >
3 Effective Ways for Screen Mirroring Xiaomi to PC [Newest]
We are going to show you how to mirror Xiaomi to PC and TV here.. ... This flexibility makes screen sharing easy no...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found