You can backup your data by using Android Backup function. Please see this Google website.
When changing models from iPhone
Tap "Data backup/restore" from the iPhone setting screen to output data,
Upload the output data to Google Drive etc.
Make your data accessible from your Android device.
After that, tap "Data backup/restore" on the setting screen of the Android device,
Tap "Restore backup data" → "Select file directly",
Please select the backup data and restore it.
It will now migrate correctly.