felHR85 / UsbSerial

Usb serial controller for Android
MIT License
1.8k stars 587 forks source link

Add missing unregisterReceiver(usbReceiver) call #189

Closed mws-rmain closed 5 years ago

mws-rmain commented 5 years ago

Added unregisterReceiver(usbReceiver) to onDestroy() in UsbService.java of three examples:

Please refer to issue #188

felHR85 commented 5 years ago

@mws-rmain Thanks!! I am preparing a new release. This will be there.

mws-rmain commented 5 years ago

That's great to hear.

I'm currently trying to work through an issue with your library that causes the app to not receive serial data if it is restarted, although the toast indicating the usb is connected is displayed. I saw some mention of issues I believe are similar under 'issues'. I did verify that your example code also displays the same issue.

On Fri, Jan 4, 2019, 1:48 PM Felipe Herranz <notifications@github.com wrote:

@mws-rmain https://github.com/mws-rmain Thanks!! I am preparing a new release. This will be there.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/felHR85/UsbSerial/pull/189#issuecomment-451532879, or mute the thread https://github.com/notifications/unsubscribe-auth/AdHoNFg7cvoMrT1g6alelMamLlIB5x_sks5u_6H8gaJpZM4ZrPbu .

felHR85 commented 5 years ago

@mws-rmain I will try to check it out. Thanks for reporting it