This works no problem:
<Image source={require('./images/ace.png')} />
But this:
var name = 'ace';
<Image source={require('./images/' + name + '.png')} />
I've tried all kinds of variations but it always returns the error:
Requiring unknown module "./images/ace.png". If you are sure the module is there, try restarting the packager.