Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to force EULA during Android app installation?

While uploading an Android application to Google Playstore, I didn't see any option to specify EULA text. I am wondering if it is possible to enforce EULA such that a user has to agree to it before the install can happen.

If this is not possible, I would need to programmatically force the user to agree on first use.

like image 367
Peter Avatar asked Feb 12 '14 00:02

Peter


People also ask

Do I need EULA for Android app?

Unlike Apple, Android Apps are not required to include an EULA, nor is there a default EULA in place. Because there is no legal requirement, many Android Apps do not have a governing EULA – potentially leaving App Developers exposed to various risks.

What is EULA on Android?

An EULA is a contract between you and the user who purchases your software - your Android app. It gives the user the right to download your app and use that copy of your app after they submit payment (if applicable).

Does Android studio require license?

3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android.

How do I get an app license?

Explains how to set up your Google Play account, development environment, and testing environment in order to add licensing to your app. Adding Server-Side License Verification to Your App. Provides a step-by-step guide to add server-side licensing verification to your application. Licensing Reference.


1 Answers

I had to handle this recently. I never could figure out how to integrate our EULA with the Google Play Store, so I settled for a solution involving showing the EULA on first use. I had an additional constraint in that I had to re-show the EULA with every app update.

This was the basic overview of my approach:

  • Use SharedPreferences to store the current app version EULA that had been accepted.
  • Compare current app version on startup against the one in SharedPreferences
  • If they don't match, display a custom DialogFragment with a Webview that I would display the EULA in(since mine was an html file). I configured the DialogFragment to be modal. i.e. only have an Accept button and to not be dismissed if they touched outside.
  • Update the current app version in SharedPreferences once accepted.
like image 75
Trevor Carothers Avatar answered Nov 15 '22 00:11

Trevor Carothers