Programmatically check Play Store for app updates?

how do i check my app version with online play store version for updating. please guide me .

You could use App Update

how to get online published play store app version number?

The plugin will do it for you. Just follow the instructions in the link.

What’s the equivalent for iOS?