Generalized native app switch in zip.js.