I am trying to implement login in my ionic v3 application by the firebase phone authentication service.
I've read several tutorials. Between them:
1- https://javebratt.com/firebase-phone-authentication/
2- https://github.com/jestcastro/cordova-plugin-firebase#f778505942bbf7518df75545c6a6b32efa4d5229
-
The comments in link 1 teach how to use the cordova-plugin-firebase of link 2. I tried to do the documentation. I did everything exactly the same, as it is said in the links.
Yet, When I use the function ( window).FirebasePlugin.getVerificationID, from link 2, gives the error: ERROR TypeError: Can not read property 'getVerificationID' of undefined
I did exactly the same. And I've been trying to solve this problem for a few days. Does anyone have a solution?