Files
firezone/kotlin/android
dependabot[bot] 2d5460c616 build(deps): Bump com.google.android.material:material from 1.11.0 to 1.12.0 in /kotlin/android (#5318)
Bumps
[com.google.android.material:material](https://github.com/material-components/material-components-android)
from 1.11.0 to 1.12.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/material-components/material-components-android/releases">com.google.android.material:material's
releases</a>.</em></p>
<blockquote>
<h2>1.12.0</h2>
<h1>What's new since 1.11.0</h1>
<ul>
<li><code>Slider</code> and <code>Progress Indicator</code> have been
updated to better support Non-Text Contrast Accessibility
requirements.</li>
<li>Predictive Back Fragment/View support added to Material motion
transitions (<code>MaterialSharedAxis</code>,
<code>MaterialFadeThrough</code>, <code>MaterialFade</code>,
<code>MaterialElevationScale</code>).</li>
</ul>
<h2>Important</h2>
<p>Required <code>minSdkVersion</code> is now 19 or higher, for Material
and AndroidX (<a
href="https://android-developers.googleblog.com/2023/10/androidx-minsdkversion-19.html">blog
post</a>).</p>
<h2>Dependency Updates</h2>
<table>
<thead>
<tr>
<th>Dependency</th>
<th>Previous version</th>
<th>New version</th>
</tr>
</thead>
<tbody>
<tr>
<td>androidx.transition</td>
<td>1.2.0</td>
<td>1.5.0</td>
</tr>
</tbody>
</table>
<h2>Library Updates</h2>
<ul>
<li><code>Gradle</code>
<ul>
<li>Update library minSdkVersion to 19.
(1bbb43d155df64d24463455fe6fb291b6940a7b2)</li>
<li>Upgrade to //third_party/gradle to 8.4
(1756f233ec3ac2085c07acf26a65b94e11038bd3)</li>
</ul>
</li>
<li><code>Carousel</code>
<ul>
<li>Shifted keylines in contained strategies when there exists padding,
and clipToPadding=false (1ef42e2f23a5ce21d5963c62fe2a7332dadaf296)</li>
<li>Fixed Javadoc formatting error in
<code>FullScreenCarouselStrategy</code> class documentation.
(a0a1c6e04499c324b61c0a5b7b628cd4f9fc3cbc)</li>
<li>Added support for cross axis wrap_content RecyclerViews
(e88a1b98d240c451a8f1f3920958be28cd2ac563)</li>
<li>Added documentation recommending snapping for multi-browse strategy
(9e64a1f5f682f435018b6ba4546085745f1b4a8f)</li>
<li>Add attributes to change small item size
(92a5444de95501dbf5bc12eaaa7a969b44fe2151)</li>
</ul>
</li>
<li><code>CollapsingToolbarLayout</code>
<ul>
<li>Fix text shadow fading when transitioning between expanded and
collapsed states (7674e12ea818793fe654f7691941f0bdc97c75f3)</li>
</ul>
</li>
<li><code>Checkbox</code>
<ul>
<li>Updated string translations
(198e08cf5ebf77b140c194d6267270d6e52f99ed)</li>
</ul>
</li>
<li><code>Dialog</code>
<ul>
<li>Unified scrim opacity in Material themes/theme overlays.
(f3e4439ca69f993baa6626ad6a82937c2d283155)</li>
</ul>
</li>
<li><code>Divider</code>
<ul>
<li>Fixed divider instantly appearing or disappearing on insertion or
removal (ef4a0c5e36315904d7bce7f0f33d59b734f2657b)</li>
</ul>
</li>
<li><code>i18n</code>
<ul>
<li>Update translated strings
(a8307ef79280c1db52728127ae12809e58b82e8f)</li>
</ul>
</li>
<li><code>MaterialDatePicker</code>
<ul>
<li>Fix date validation on Samsung devices
(5aa6edfaed08a6dff8439b51e91cd43e2ffb0386)</li>
</ul>
</li>
<li><code>MaterialAutoCompleteTextView</code>
<ul>
<li>Enabled switch access in MaterialAutoCompleteTextView.
(14a7b4036334e4d0573a46731ea18a388f87dc98)</li>
</ul>
</li>
<li><code>NavigationDrawer</code>
<ul>
<li>Fixed wrong item selected after click
(a3af20a86970a77c6225c5254c6540bb81bdc049)</li>
</ul>
</li>
<li><code>NavigationRail</code>
<ul>
<li>Added label padding for when the label is long enough to reach the
sides of the nav rail (2439dc0e8141a44418d32148c16e0cfc7a5beba7)</li>
<li>Increased padding in between items as per design specs
(16eca7eef3af53fe594d66440db796dab8762777)</li>
</ul>
</li>
<li><code>Predictive Back</code>
<ul>
<li>Animated corners during predictive back when no
drawerLayoutCornerSize is set
(c8b9b1c0bb8e51501246c902073acc45aedeebd6)</li>
</ul>
</li>
<li><code>ProgressIndicator</code>
<ul>
<li>Updated inactive track color from primary container to secondary
container. (c8cb0c60379adfd76efbf54adeac316a9bfaec4e)</li>
<li>Updated the setter of track thickness to not update track corner
radius. (540f5ee9839ca3472e990f597d6f0a2b203b1b4f)</li>
<li>Added the limit to not have stop indicator size bigger than track
thickness. (689e04f9edd1398f53bfc149aa78a2ab864953ba)</li>
<li>Fixed the rounded ends overlapping bug with semi-transparent
track/indicator color in Circular default style.
(8167c115e34e6b206a8446d98ce22c574d8a1584)</li>
<li>Removed the call to draw a transparent full track.
(3f80fdb9e1f31df4c970025e34450726bbb822ec)</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="88acfcdb63"><code>88acfcd</code></a>
[Tokens] Update tokens to v4.0.0</li>
<li><a
href="5390215d0c"><code>5390215</code></a>
[Gradle] Update androidx transition dependency to 1.5.0</li>
<li><a
href="5bc50a0f63"><code>5bc50a0</code></a>
Update library version to 1.12.0</li>
<li><a
href="5950041902"><code>5950041</code></a>
[Gradle] Update androidx transition dependency to 1.5.0-rc01</li>
<li><a
href="6b064e8055"><code>6b064e8</code></a>
Update library version to 1.12.0-rc01</li>
<li><a
href="a4f19d1d76"><code>a4f19d1</code></a>
Update library version to 1.12.0-beta01</li>
<li><a
href="8c63848829"><code>8c63848</code></a>
[Gradle] Update androidx transition dep to version 1.5.0-beta01</li>
<li><a
href="92bc02c37c"><code>92bc02c</code></a>
[NTC][Slider] Make tick size defaults to the stop indicator size if
set</li>
<li><a
href="387f59b706"><code>387f59b</code></a>
[Search] Exclude icons from search bar handwriting bounds</li>
<li><a
href="a3af20a869"><code>a3af20a</code></a>
[NavDrawer][a11y] Fix wrong item selected after click</li>
<li>Additional commits viewable in <a
href="https://github.com/material-components/material-components-android/compare/1.11.0...1.12.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.android.material:material&package-manager=gradle&previous-version=1.11.0&new-version=1.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 18:41:59 +00:00
..
2024-03-08 01:55:27 +00:00
2024-02-20 15:01:17 -06:00

Firezone Android client

This README contains instructions for building and testing the Android client locally.

Dev Setup

  1. Install Rust

  2. Install Android Studio

  3. Install your JDK 17 of choice. We recommend just updating your CLI environment to use the JDK bundled in Android Studio to ensure you're using the same JDK on the CLI as Android Studio.

  4. Install the Android SDK through Android Studio.

    • Open Android studio, go to Android Studio > Preferences
    • Search for sdk
    • Find the Android SDK nav item under System Settings and select
    • Click the Edit button next to the Android SDK Location field
    • Follow the steps presented to install Android SDK
  5. Install NDK using Android Studio

    To see which version is installed, make sure to select the Show Package Details checkbox in the Android SDK settings page in Android Studio

    Android SDK Tools

    Make sure the correct NDK version is installed by looking at: ../../rust/connlib/clients/android/connlib/build.gradle.kts

  6. Set the following ENV variables in the start up config for your shell:

    JAVA_HOME=/Applications/Android\ Studio.app/Contents/jbr/Contents/Home
    ANDROID_HOME=/Users/<username>/Library/Android/sdk
    NDK_HOME=$ANDROID_HOME/ndk-bundle
    PATH=$PATH:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin
    
  7. Make sure the following Rust targets are installed into the correct toolchain.

    aarch64-linux-android
    arm-linux-androideabi
    armv7-linux-androideabi
    i686-linux-android
    x86_64-linux-android
    

    Ensure you've activated the correct toolchain version for your local environment with rustup default <toolchain> (find this from the root /rust/rust-toolchain.toml file), then run:

    rustup target add aarch64-linux-android arm-linux-androideabi armv7-linux-androideabi i686-linux-android x86_64-linux-android
    
  8. Perform a test build: ./gradlew assembleDebug.

Release Setup

We release from GitHub CI, so this shouldn't be necessary. But if you're looking to test the release variant locally:

  1. Download the keystore from 1Pass and save to app/.signing/keystore.jks dir.
  2. Download firebase credentials from 1Pass and save to app/.signing/firebase.json
  3. Now you can execute the *Release tasks with:
export KEYSTORE_PATH="$(pwd)/app/.signing/keystore.jks"
export FIREBASE_CREDENTIALS_PATH="$(pwd)/app/.signing/firebase.json"
HISTCONTROL=ignorespace # prevents saving the next line in shell history
 KEYSTORE_PASSWORD='keystore_password' KEYSTORE_KEY_PASSWORD='keystore_key_password' ./gradlew assembleRelease