google / google/play-services-plugins
Cannot retrieve licenses on the devices with Play Service disabled.
- Dominant language
- Kotlin
- Stars
- 526
- Forks
- 167
- Avg merge
- 7d 21h
- Merged PRs (30d)
- 2
Description
**Describe the bug**
We found there were some types of devices whose Play Service might be **disabled** by default at the very first-time users use it. On that condition, we found the open-source licenses activity cannot display well. What we got is an empty page. From the logcat, we saw the reason is the disable status of Play Service. While as we know, the licenses data have already been packaged into application during compile time. Which means, there is no reason that we get into fail when Play Service is disabled.
**To Reproduce**
Steps to reproduce the behavior:
1. Integrate OSS License plugin
2. Disable Play Service
3. Start `OssLicensesMenuActivity`
4. See empty page
**Expected behavior**
All license can be displayed on the page
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- Gradle version: [e.g. 4.1] 8.0
- Android Studio version [e.g. 3.1 (stable)]: 2022.2.1 Patch 1
- Plugin name and version [e.g. OSS Licenses 16.0.0]: com.google.android.gms:oss-licenses-plugin:0.10.6
**Additional context**
Add any other context about the problem here.
Contributor guide
Assessment
This issue has not been assessed yet.