How to transfer contacts from Android to iOS

Hello,
I used to have a Samsung Galaxy grand prime device and now I have iPhone 8. But most of my important contacts are saved on Samsung device memory and now I want to transfer them to new iPhone.It is difficult to save one by one. Is there a way to get all the contact at once to my new iPhone?
I know most carrier stores have a transfer device they can transfer your contacts and pictures from one device to another and the service is free if your a customer.

Do you have a gmail account? If so, your contacts should automatically sync when you log in to you new gmail account on your iPhone.

If you on Verizon there are is also a content transfer app you can download to transfer the content from one device to another.
I used Contacts Sync for Google Gmail when I made the switch from Android to Apple and it worked fine:

Contacts Sync for Google Gmail by Playa Apps https://itunes.apple.com/us/app/contacts-sync-for-google-gmail/id454390333?mt=8&at=10l3Vy

Original thread: https://forums.imore.com/threads/how-to-transfer-contacts-from-android-to-ios.409633/