1

I launch my app on emulator device by command: react-native run-android. I use the Vibration API in my app, how to check if vibration happened ?

Thanks.

  • have u checked: https://stackoverflow.com/a/2704544/4239410. Look into the comments also. – Nabil Dec 21 '18 at 09:58
  • i checked it, but i can't find logcat of android emulator in react-native – Minh Hưng Trần Dec 21 '18 at 10:06
  • Does this answer your question? [In the Android emulator, is it possible to notice vibration effects?](https://stackoverflow.com/questions/2703679/in-the-android-emulator-is-it-possible-to-notice-vibration-effects) – Hilikus Jan 18 '21 at 16:37

2 Answers2

0

As this answer you can look for the vibration message in the logcat, you can use logcat -b system command

Aureo Beck
  • 489
  • 2
  • 5
0

check logcat in the emulator it gives vibration message

Aurangzaib Rana
  • 4,028
  • 1
  • 14
  • 23