-3

I'm writing java code for an android program, I'm stuck at the version check pop-up window, I want this pop-up to tell the users that their program is out of date and they need to update to the latest version. And I want a button to redirect them to a ota.jason for them to find the new version. Any ideas for the pop-up window functions? Thanks in advance.

  • Welcome to Stack Overflow! Please take the [tour](https://stackoverflow.com/tour) to learn how Stack Overflow works. Read [How to Ask](https://stackoverflow.com/help/how-to-ask) and [Minimal, Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example) for know how to improve the quality of your question. – André Walker Jan 19 '21 at 20:51

1 Answers1

0

You can use firebase remote config (or API). Store the latest version code in firebase remote config (or server database) then compare the current version code of your app and server version code and show the dialog accordingly.

Muhammad Ahmed
  • 1,038
  • 1
  • 7
  • 7