only enable text selection if running outside cordova