alpha-wallet-android icon indicating copy to clipboard operation
alpha-wallet-android copied to clipboard

Stop app crash when background service not available

Open JamesSmartCell opened this issue 2 years ago • 2 comments

This source:

   Intent i = new Intent(this, PriceAlertsService.class);
   startService(i);

In HomeActivity crashes when the phone doesn't allow background services. Wrap in exception handler so if user has prevented background services the app doesn't crash.

I'm marking as high priority (@hboon - I think it's high priority as a user is having their app crash at startup).

JamesSmartCell avatar Mar 20 '23 05:03 JamesSmartCell

high priority

Thanks for heads-up. Sounds good.

hboon avatar Mar 20 '23 05:03 hboon

Wow, Google crash feed:

image

JamesSmartCell avatar Mar 20 '23 07:03 JamesSmartCell