Log and catch Javascript error in real device



Someone has any suggestion about catching and logging javascript error in real device ? The logs that we found in xcode or android sutdio are about native errors. I saw some libs like atatus, rollbar … which are not free.
Does ionic have tools for this subject ?


We are using sentry and are very happy with that!.

I found this tutorial very helpful: