We figured out that our sourcemaps weren’t being applied for file://android_assets/etc unless we appended the “android_assets” to the beginning of our sourcemap files (i.e. ~/android_assets/etc). This works for fixing our issue with Android, but means we’ll have to re-upload the sourcemap files a 2nd time for iOS. Was wondering if there was a way to fix this.
This is a limitation of the prefix right now. The
~ prefix literally omits protocol/host/port ONLY, which is why
One workaround is to use data callbacks to modify the data before transport.
How do you do this? Any examples? Where is there any documentation on “data callbacks”?