Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add more target api level policy infos #30

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,9 @@ <h2>{{ page.title }}</h2>
{% if jekyll.environment == 'production' %}
{% include analytics.html %}
{% endif %}
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@9/dist/mermaid.esm.min.mjs';
mermaid.initialize({ startOnLoad: true });
</script>
</body>
</html>
142 changes: 142 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,125 @@ This is an overview of all Android versions and their corresponding identifiers
</table>
</div>

## Target version policy

#### Policy rules
<div class="table-responsive">
<table class="full-width">
<tr>
<th class="nowrap">Name</th>
<th>Definition</th>
</tr>
<tr>
<td class="nowrap"><code>new app</code></td>
<td>Must target an android api level <strong>within one year</strong> from the latest major Android OS version.</td>
</tr>
<tr>
<td class="nowrap"><code>update app</code></td>
<td>Must target an android api level <strong>within one year</strong> from the latest major Android OS version.</td>
</tr>
<tr>
<td class="nowrap"><code>existing app</code></td>
<td>Must target an android api level <strong>within two years</strong> from the latest major Android OS version. Otherwise you have to expect <a href="https://support.google.com/googleplay/android-developer/answer/11926878">restrictions</a>.</td>
</tr>
<tr>
<td class="nowrap"><code>wear os app</code></td>
<td>Must target an android api level <strong>within two years</strong> from the latest major Android OS version. Otherwise you have to expect <a href="https://support.google.com/googleplay/android-developer/answer/11926878">restrictions</a>.</td>
</tr>
<tr>
<td class="nowrap"><code>automobil app</code></td>
<td>Must target an android api level <strong>within two years</strong> from the latest major Android OS version. Otherwise you have to expect <a href="https://support.google.com/googleplay/android-developer/answer/11926878">restrictions</a>.</td>
</tr>
</table>
</div>

#### Required targetSdkVersion for your app in the Google Play Store

This is a list that shows which <code>targetSdkVersion</code> your app needs in the Google Play Store, without any <a href="https://android-developers.googleblog.com/2022/04/expanding-plays-target-level-api-requirements-to-strengthen-user-security.html">restrictions</a>.
jeremyapproppo marked this conversation as resolved.
Show resolved Hide resolved

<div id="target-policy-table" class="table-responsive">
<table class="full-width">
<tr>
<th>SDK / API level</th>
jeremyapproppo marked this conversation as resolved.
Show resolved Hide resolved
<th>Release date</th>
<th>new app</th>
<th>update app</th>
<th>existing app</th>
<th>wear os</th>
<th>android auto</th>
</tr>
<tr>
<td>Level 33</td>
<td><code>2022-08-15</code></td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
<td>Level 32</td>
<td><code>2022-03-07</code></td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
<td>Level 31</td>
<td><code>2021-10-04</code></td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
<td>Level 30</td>
<td><code>2020-09-08</code></td>
<td>❌</td>
<td>❌</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
<td>Level 29</td>
<td><code>2019-09-03</code></td>
<td>❌</td>
<td>❌</td>
<td>❌</td>
<td>❌</td>
<td>❌</td>
</tr>
</table>
</div>

<pre id="target-policy-gantt" class="mermaid" style="background-color: #ccc">
gantt
dateFormat YYYY-MM-DD
Level 33, 2022-08-15 : milestone, m1, 2022-08-15, 1m
Level 32, 2022-03-07 : milestone, m1, 2022-03-07, 1m
Level 31, 2021-10-04 : milestone, m1, 2021-10-04, 1m
Level 30, 2020-09-08 : milestone, m1, 2020-09-08, 1m
Level 29, 2019-09-03 : milestone, m1, 2019-09-03, 1m
section new app
1 year :a1, 2021-08-15, 1y
section upload app
1 year :2021-08-15, 1y
section existing app
2 years :2020-08-15, 2y
section wear os
2 years :2020-08-15, 2y
section android auto
2 years :2020-08-15, 2y
</pre>

#### Links
* [targetSdkVersion policy rules](https://support.google.com/googleplay/android-developer/answer/11926878)
* [SDK/API release dates](https://de.wikipedia.org/wiki/Liste_von_Android-Versionen)

## Definitions

#### Gradle files
Expand Down Expand Up @@ -335,6 +454,29 @@ This is an overview of all Android versions and their corresponding identifiers
</table>
</div>

#### App type

<div class="table-responsive">
<table class="full-width">
<tr>
<th class="nowrap">Name</th>
<th>Definition</th>
</tr>
<tr>
<td class="nowrap"><code>new app</code></td>
<td>An app that is not yet published on Google Play (i.e., a brand new app).</td>
</tr>
<tr>
<td class="nowrap"><code>update app</code></td>
<td>A new version of the app that you’re submitting for review to replace your existing app.</td>
</tr>
<tr>
<td class="nowrap"><code>existing app</code></td>
<td>An app that is published on Google Play.</td>
</tr>
</table>
</div>

#### Code files

<div class="table-responsive">
Expand Down