mysql - how to check if a new record has been added to a database in php and covert it to react native (Notification message)

one text

Solution:

I recommend you to use sockets.

NPM socket.io is easy to use for front End

For your backend in PHP you can use this library https://github.com/walkor/phpsocket.io

So each time a new record has been added to your database you must use an handler to send a socket request to your client

Source