Troubleshooting

A newer version of this documentation is available. Swtich to the latest version docs.

App crashes when capturing snapshot (hardware bitmap)

Section titled App crashes when capturing snapshot (hardware bitmap)

While capturing a snapshot you may experience a crash in some situations:

E/AndroidRuntime: FATAL EXCEPTION: main
[...]
java.lang.IllegalArgumentException: Software rendering doesn't support hardware bitmaps

If you use Hardware bitmap, or your image library use hardware bitmap by default (example: coil), the default snapshot method does not support it. To overcome the issue, you can enable the Static snapshot method which supports Hardware bitmaps.

In order for Contentsquare to work, you need to make sure the following endpoints are not blocked by your network (VPN):

RequestEndpointDetail
Config filehttps://mobile-production.content-square.netSee Configuration
Analytics data (EU)https://m.csqtrk.netSee Sending data
Analytics data (US)https://m-aus1.contentsquare.netSee Sending data
Session Replay data (EU)https://ka-aeu1.contentsquare.netSee Session Replay requests
Session Replay data (US)https://ka-aus1.contentsquare.netSee Session Replay requests
Snapshot (EU)https://s.contentsquare.netSee Snapshot capture
Snapshot (US)https://s-aus1.contentsquare.netSee Snapshot capture