This is the demo of the newly launched SMS retriever API, which eliminates the need of SMS permission just for your app specific needs, Like user number verification.
This API allows a time frame up to 5 minutes and when your application specific SMS arrives it matches the predefined Hash.
Like this, API eliminates needs of SMS permission to some extent. Please remember, this API does not permit you to read existing SMSes. For that, you must ask the user for SMS permission.