getUserMedia example for Android and IOS

I am trying to get access to the microphone on Android - but I am running into loads of problems.

Has anyone got an example to how to get navigator.mediaDevices.getUserMedia working in Android and IOS?

There is a post but it is over 1 year old and I suspect things might have changed a bit.