At Toura, we perform the vast majority of our day-to-day development in our desktop WebKit browsers - Chrome and Safari. Although the desktop browsers are a very close approximation to the mobile browsers, there’s no substitute for actually performing final QA and fit & finish checks on the mobile browsers themselves followed by a final sanity check with a compiled application.
Weinre, written by Patrick Mueller, provides a client/server environment to present you with a familiar “web inspector”-like experience on apps running on mobile device browsers and webviews.
Installing and configuring Weinre is simple enough and you can accomplish this by following the instructions at the Weinre website. OR, instead of going through all of that and keeping Weinre running (it requires a local process) and poking holes in your firewall, you can use our free hosted Weinre service!
To use the hosted Weinre service:
Boot any app in development mode via:
mulberry serveand point your device browser to your local Mulberry server OR
mulberry testand run the app in your device simulator/emulator
In the lower right hand corner, tap the “Weinre” button
- Go to Toura Weinre and enter the code displayed at the top of the page
- Click the provided link and debug away; that’s it!