Sorry you're having trouble, and sorry for the late reply. I'm not sure what would cause the issues you describe unfortunately.
exitPointerLock is part of the web api so I don't see any reason why it wouldn't be defined, though I haven't really tested on mobile devices yet.
Document.exitPointerLock() - Web APIs | MDN (mozilla.org)