Skip to content

Commit

Permalink
deploy: 5cf9244
Browse files Browse the repository at this point in the history
  • Loading branch information
jayohms committed Sep 30, 2024
1 parent 24c0f62 commit 1fbfdcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/getting-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ <h2 id="new-project"><a class="anchor" href="#new-project">﹟</a> New Project</
<p>Then select API 28 or higher for the minimum SDK and Kotlin DSL for the build configuration language.</p>
<img src="/assets/android-studio-project-options.png" class="border" width="600" alt="Configure Android Studio project" />
<h2 id="integrate-hotwire-native"><a class="anchor" href="#integrate-hotwire-native"></a> Integrate Hotwire Native</h2>
<p>Add the Hotwire Native dependencies to your app’s module (not top-level) <code>build.gradle.kts</code> file:</p>
<p>Add the Hotwire Native dependencies to your app’s module (not top-level) <code>build.gradle.kts</code> file. You can look up the version number from <a href="https://github.com/orgs/hotwired/packages">https://github.com/orgs/hotwired/packages</a>.</p>
<pre class="language-kotlin"><code class="language-kotlin">dependencies <span class="token punctuation">{</span><br> <span class="token function">implementation</span><span class="token punctuation">(</span><span class="token string-literal singleline"><span class="token string">"dev.hotwire:core:&lt;latest-version>"</span></span><span class="token punctuation">)</span><br> <span class="token function">implementation</span><span class="token punctuation">(</span><span class="token string-literal singleline"><span class="token string">"dev.hotwire:navigation-fragments:&lt;latest-version>"</span></span><span class="token punctuation">)</span><br><span class="token punctuation">}</span></code></pre>
<p>Enable internet access for the app by opening <code>AndroidManifest.xml</code> and adding the following above the <code>&lt;application&gt;</code> node:</p>
<pre class="language-xml"><code class="language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>uses-permission</span> <span class="token attr-name"><span class="token namespace">android:</span>name</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>android.permission.INTERNET<span class="token punctuation">"</span></span><span class="token punctuation">/></span></span></code></pre>
Expand Down

0 comments on commit 1fbfdcf

Please sign in to comment.