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

Cope with different formats of logcat Start proc messages #2

Closed
julianharty opened this issue Sep 8, 2017 · 1 comment
Closed

Cope with different formats of logcat Start proc messages #2

julianharty opened this issue Sep 8, 2017 · 1 comment

Comments

@julianharty
Copy link
Collaborator

There are at least 2 formats of the Start proc message.
Perhaps they vary by Android version?

  1. HTC 510 4.4.3 v2ActivityManagerStart proc org.kiwix.kiwixmobile for activity org.kiwix.kiwixmobile/.utils.SplashActivity: pid=9137 uid=10344 ...
  2. Nexus 7 6.0.1 ActivityManagerStart proc 19482:org.kiwix.kiwixmobile/u0a183 for activity org.kiwix.kiwixmobile/.utils.SplashActivity

I've saved a copy of what seems to be a valid regex: Start proc \d*:*org.kiwix.kiwixmobile which is also available with the examples above at https://regex101.com/r/HWBLxZ/1

What I'm trying to discover is how to use a/the regex in watchForPID in index.js

@ISNIT0
Copy link
Owner

ISNIT0 commented Sep 21, 2017

Both of these log formats now work, opening a new ticket per device from now on.

@ISNIT0 ISNIT0 closed this as completed Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants