1

Is there any way android provides to restrict my custom application to get it published other than Google play store? And this app will not be a paid app so I can't use LVL feature and as per below discussion, we can't publish free app with licensing check:

LVL behavior on client side license validity check for free apps

So, not able to find any ways to restrict it to publish my free app to other stores :(.

Why I want to restrict it to publish it to other stores:

Because any hackers can download your app from google play store and inject malware in it and publish infected app to other stores.

Please provide me the guidelines to achieve it.

Community
  • 1
  • 1
piks
  • 1,621
  • 8
  • 32
  • 59

3 Answers3

2

It doesn't matter. If you're worried about someone injecting malware into your APK just think- they can just as easily lie, say that they're your app, and upload pure malware. They don't actually need to be your app.

Gabe Sechan
  • 90,003
  • 9
  • 87
  • 127
2

Beat them to it. Publish your app on the alternative app stores so that when they try to upload the package name is already taken by your original, clean version.

pgs
  • 13,385
  • 2
  • 25
  • 17
1

Here's an idea. Get the installer from here when your app opens and check if it is from Google Play by comparing it to com.android.vending. If it is not, block any use of the app.

But of course hackers can still download your app, remove this kind of security and upload it to other stores. But I guess this can give you an idea? Also Gabe Sechan's answer is possible too.

Community
  • 1
  • 1
Keale
  • 3,924
  • 3
  • 29
  • 46