Question: how to transfer all messages from android to iphone?
Answer: Install Move to iOS. Install Move to iOS on your Android Phone from the Play Store.
Setup On your New iPhone. Follow the setup procedure until you get to the “Apps & Data” screen, then tap on “Move Data from Android“. ... 
Get the Code On your Android Device. ... 
Start to Transfer Android to iPhone.