Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

harmonyOS4.2 can receive events when connect with USB,and cant receive events when disconnect with USB, WHY? #728

Open
iceblove opened this issue Nov 17, 2024 · 1 comment
Labels
more info required Needs more info to become actionable.

Comments

@iceblove
Copy link

iceblove commented Nov 17, 2024

Hi, all

I've met an issue very strange: my phone is Huawei Nova 9 with HarmonyOS 4.2, and I use eventBus in my APP to transfer events from an Activity to a Service in the APP,and all the two components have already registered to the default eventBus.

When the phone connect to my macbook pro wiith USB-wire , then all events come from eventBus can received and handle perfectly, but when I disconnnect the USB -wire from the macbook pro, the service could not receive any events. WHY?

@greenrobot-team
Copy link
Collaborator

Maybe verify that both instances of the activity and service are alive and in the same process.

You can also look through existing issues or do an internet search to help guide you to a solution.

@greenrobot-team greenrobot-team added the more info required Needs more info to become actionable. label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more info required Needs more info to become actionable.
Projects
None yet
Development

No branches or pull requests

2 participants