This example is deprecated, as plug-in conditions can no longer be reliably supported on the latest versions of Android due to restrictions on background processes.
Locale allows developers to create plug-in conditions and settings. The android-display-condition-plugin-for-locale implements an example plug-in condition. This project is the final layer of the Locale Developer Platform documentation.
Although there are multiple ways to approach building a plug-in condition, we recommend forking this project as the starting point.
The application is compatible and optimized for Android API Level 14 and above.
The following steps are necessary to fork this project
- Rename the package name in AndroidManifest.xml
- Rename the package name in proguard-project.txt
- Optional: For CircleCI continous integration (CI)
- Create a Firebase project
- Configure the Firebase project with a service account
- On CircleCI, add environment variables for
GCLOUD_SERVICE_KEY_BASE_64
which is the base64 encoded JSON service key,GCLOUD_PROJECT_ID
which is the project ID, andGCLOUD_DEFAULT_BUCKET
which is the default free bucket included with Firebase Test Lab.