How to check if local storage string is different from new one and display notification


#1

Hello,
How can I make app to always check (every 5 minuter or so) if older saved string that is saved into local storage is different from new one that I get from website (new post name or post id). So if string from local storage is different from new one, then app fires up a local notification with some message.
Can somebody help me?