Limit access to the app in google play

Asked

Viewed 311 times

0

It is possible to create some criterion that makes it impossible to update my application in the published google play?

Current scenario:

  • I have a sales force system on Android and an ERP on Desktop that exchange information.

It happens that to have this communication, the versions must be updated according to the layout of message exchange. And for this reason, I can’t allow the android app to upgrade to a newer version without first updating the Desktop.

  • 3

    Why doesn’t the Desktop version accept more than one message exchange protocol (versioning the protocols)? Otherwise you will always have a package to update first. And even if it is solved, and who does not want to update the app?

  • That’s where the problem is. For each N users, the desktop versions can be: v1, v2, v3. Playing the app on google play, all users will be able to download the new version. Soon I will have no way to update the desktop in the short term. So I believe that if there was a way to validate the update by google play would solve this problem.

  • You do not need to validate, as long as you are versioning the protocol and sending the version to the Desktop, just update the Desktop first with VN higher than the App, keeping all versions. In this case, you can send the version of the protocol that the Android app uses to the Desktop that using some Pattern (Strategy or Factory for example) it selects the implementation relative to that version. If so, no matter when the user updates the app, will always have a compatibility on the part of the Desktop.

1 answer

1


The most correct thing is that you put in Play an application that manages the versions of your mobile system.

You make this guy available on Play and when the user downloads, this application is who will check whether or not the user can upgrade to the newest version of your system.

Of course these apks from your system must be on a private server (your server).

Thus, the application that is in Play, version manager, is who will check on your server for updates, but only let install if the ERP version of the user that is using the mobile version is in agreement.

In the latter case, there must be a way the manager can also validate this version of ERP, depending on the user.

But then, in the first installation, it could enter the connection data to the company server, for example.

  • I liked the idea, however.. when downloading by . apk (version controller) included in google play, I suppose it will take user intervention to continue the installation. Anyway, it seems to me the most plausible solution. I will test it.

  • You integrate with which ERP, Winthor, Protheus... ?

  • 1

    Hello Cicero, none of them.. I work with ERP itself.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.