You can get these apps only from official app stores: Google Play for Android and App Store for iOS. A Google or Apple account is required to install them on your phone. These platforms ensure you receive updates automatically.
The purchase is a one-time payment, which gives you a lifetime license for the app. You can keep the app if you switch devices, as long as you are using the same account.