How to Record Test Coverage for JavaScript in Mobile Applications
Analogous to recording coverage in the Browser, you can also record it from inside a WebView of a mobile application. If your mobile application is built by a special runtime like Capacitor that takes JavaScript/TypeScript code and wrapps it inside a mobile App, you can also record the coverage with the Teamscale JavaScript Profiler.
Collector Access
In this scenario, the collector will most likely not be running on the device where the app is running. In that case make sure that you declare the right IP address when executing the Instrumenter and that the connection from mobile device to Collector is allowed.
