This is not supported out of the box with Mendix. However, you should be able to build this using react native.
The links that you posted have all the information that you need.
You will need an extra library in your app to use sms verification. here is one for android – https://www.npmjs.com/package/react-native-sms-retriever
I believe react native can be used only if the solution is upgraded to mendix 8 and uses native profile. I’m still with version 7. Are there any cordova plugins that I can use ?