I have good news and bad news regarding the issue I posted above
Good news first: The wifi connection drop issue is not a problem with DIR 878.
I conducted various tests with other routers, including my ISP router, another DLink cheap router I have and a neighboor router. When connected to any of them my Iphones got disconnected after a few hours.
Now the bad news:iOS is currently on version 12.1.2 and it seems that since version 11.0 many many many users have been complaining about Wifi drops after this update. Just google on Apple forums that you will find many people with same issue.
It seems this issue happens on iPhones 5, 6, 6s, 7, 8, X ...
For my suprise, I asked my sister in law about this issue with her iPhone and she told me that since ever iPhones in her house eventually disconnect from WiFi here and there.
That being said, I conducted more detailed testsI confirmed that iPhone is totally able to roam between wifi networks 2.4G and 5G when signal gets weaker, however, for some unknown and weird reason, it seems that sometimes this roam process does not happen as expected and booom !!! that's when you get WiFi connection drops.
In all my tests, it happens ONLY when I have two wifi networks 2.4G and 5G with same SSID. If I turn 5G radio off, this problem never happens. I could confirm this with DIR 878, Arris Router, Humax Router and my Neighboor router.
WIFI CONNECTION DROP ONLY HAPPENS WHEN YOU HAVE A 5G NETWORK AVAILABLE WITH SAME SSID AS 2.4G AND IF YOUR iPhone IS CONNECTED TO THE 5G WIFI NETWORK.So, now my only hope is wait for the next iOS build. In the meantime, I found that if I keep smart connect on in the DIR 878 router, this issue does not happen anymore even if I have two networks with same SSID available.
This is the latest status about this issue.
@Moderators, please keep this thread active as I will provide more information if something new happens.