ACRA process conflict with main process?See original GitHub issue
Hi. A few days ago I open an issue that explain about conflicting the acra process with main app process. I updated the Acra to latest version but nothing changed. Let me explain. For example I start a service normally, like this:
Intent intent = new Intent(SmsApp.getInstance(), ConsumerService.class); SmsApp.getInstance().startService(intent);
Sometime service run on main process and sometime run on ACRA process or some threads that has same problem.
I configure ACRA exactly as you said. As you see in bellow some my Logs show in Acra Process like this:
03-26 10:10:16.855 12311-12346/com.gapafzar.gap:acra D/gap1: RabbitmqService msg
It has to be like this:
03-26 10:10:16.974 12297-12354/com.gapafzar.gap:gap D/gap1: RabbitmqService msg
what is the problem ?
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
That is the only way to test.
I have added a new method
ACRA.isACRASenderServiceProcess() for ACRA-4.8.6 which will tell you the same thing.
Now I check the process name in onCreate() method and if the name equals with my process name let him go on. I know it’s not the best way but actually it works. I will fix it later. Thanks a lot for you Guidance.