Source maps with a cordova app running in WebView

andhapp

Posted on
Apr 05 2014

Hi,

I've integrated Raygun4js with our cordova app running on iOS and it works fine. Only issue is the the script where the error is thrown is minified so errors make little sense. I've created a source map and it's in the same place as the minified javascript file. There's a path in the footer of the minified js to the source map file.

It doesn't seem to work. I mean, the errors are shown in the dashboard but there's no reference to the source map.

Is there something else that needs to be done for this to work?

Thanks.


jeremy

Raygun

Posted on
Apr 07 2014

Are both the minified file and the map file publicly accessible? (e.g. not behind an authentication barrier) and do the reported errors contain a column number? If all of those conditions are being satisfied can you email me a link to an example which you think should be working and I can follow it through here manually.


Jeremy


Reply