Lock camera to phone movement with monoscopic view

I am targeting Android and iOS platforms.
How can I lock the camera to the motion of the mobile phone itself like VR libraries do? I tried using GoogleVR plugin but I need to keep the monoscopic view and not have two different renders for the left and right eye.