Use contexts for switching native/web