I'm trying to force the artboard background to be included in SVG exports initiated via plugin, even if the checkbox is not checked in Sketch. This seems to be the way to do it:
var exportRequest = MSExportRequest.exportRequestsFromExportableLayer(artboardCopy);
exportRequest.includeArtboardBackground = true;
However, the SVG file doesn't contain the artboard background. If I check the box and run the script again, the background is included, and if I set includeArtboardBackground to "false" with the box checked, it is not included. So it seems like includeArtboardBackground is only being used if the box is checked.
Am I missing something?