Some users have the question that why I am not getting text notifications on my iPhone. If you are one of them then here are some steps you can try to solve the issue.
1. Turn on the "Allow Notifications" on your iPhone. For this open your iPhone's settings > Notifications > Allow Notifications.
2. Secondly, go to Settings > Notifications > Apps & Notifications > turn on the toggle of all apps.
3. Finally check the privacy settings of your phone and turn off location services for iMessage.