Add Firebase phone verification to ionic4

Hi there, I need to use Firebase phone Verification to my ionic4 application, there are plenty of tutorials for ionic3 which guiding to the task. However, I couldn’t find a topic or tutorial for ionic4. Hence if you guys have a piece of codes or anything to help, please share them with me, I would appreciate your help.
Note: following ionic 3 tutorials, I faced an issue which asked on StackOverflow . If you guys know the answer, please don’t hesitate.