Ionic sim plugin - couldn't get mobile number

I am trying to get mobile number of the current device, So I installed ionic Sim plugin for my capacitor app.
I have allowed permission to access phone, but still it gives me error saying no permission given.
I have attached the code and error image too.
My code
Android manifest

<uses-permission android:name="android.permission.READ_PHONE_STATE" />

ts file

(info) => alert('Sim info: ’ +info),
(err) => alert(err)

(info) => alert('Has permission: ’ +info)

() => alert(‘Permission granted’),
() => alert(‘Permission denied’)

Please let me know what I have missed.
Thanks in advance.