Skip to content

Commit a1ecbca

Browse files
committed
Deploy website
Deploy website version based on 5b279f55f3ece2f01bdcb7ab301a1280573dadcf
1 parent b85812f commit a1ecbca

File tree

5 files changed

+24
-69
lines changed

5 files changed

+24
-69
lines changed

docs/getting-started/installation.html

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ <h2><a class="anchor" aria-hidden="true" id="expo"></a><a href="#expo" aria-hidd
5959
<p>Then ignore the rest of this page and jump straight to <a href="usage">Usage</a>.</p>
6060
<h2><a class="anchor" aria-hidden="true" id="ios"></a><a href="#ios" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>iOS</h2>
6161
<blockquote>
62-
<p>Support for building for the iOS Simulator on <strong>M1 Macs</strong> is in beta. It's not published to CocoaPods yet so the process is rather manual. See <a href="https://developers.google.com/cast/docs/ios_sender#xcframework_beta">https://developers.google.com/cast/docs/ios_sender#xcframework_beta</a> for installation instructions. You'll also need to disable autolinking (see b.3) and add this library pod in Manual mode (b.2.iii).</p>
62+
<p>Support for <strong>Arm Macs</strong> is in beta. Make sure you follow steps b.2.iii and b.3.</p>
6363
</blockquote>
6464
<h4><a class="anchor" aria-hidden="true" id="a-autolinking-recommended"></a><a href="#a-autolinking-recommended" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>a. Autolinking (recommended)</h4>
6565
<p>If you're using RN &gt;= 0.60 and you're fine with default settings (without guest mode), you can just run</p>
@@ -71,21 +71,22 @@ <h4><a class="anchor" aria-hidden="true" id="b-custom-version-or-guest-mode-rn-0
7171
<li><p>In your <code>ios/Podfile</code>, add <strong>one</strong> of these snippets:</p>
7272
<ul>
7373
<li><p>i. If you <a href="https://developers.google.com/cast/docs/ios_sender/ios_permissions_changes#need_to_remove_guest_mode_support">don't need guest mode</a>, add</p>
74-
<pre><code class="hljs">pod <span class="hljs-string">'react-native-google-cast/NoBluetooth'</span>, <span class="hljs-built_in">path</span>: <span class="hljs-string">'../node_modules/react-native-google-cast/'</span>
75-
pod <span class="hljs-string">'google-cast-sdk-no-bluetooth'</span>
76-
# <span class="hljs-keyword">or</span> <span class="hljs-keyword">for</span> iOS <span class="hljs-number">10</span>/<span class="hljs-number">11</span> support
74+
<pre><code class="hljs">pod <span class="hljs-string">'react-native-google-cast/NoBluetooth'</span>, <span class="hljs-type">path</span>: <span class="hljs-string">'../node_modules/react-native-google-cast/'</span>
75+
76+
# <span class="hljs-keyword">or</span> <span class="hljs-keyword">for</span> iOS <span class="hljs-number">10</span>/<span class="hljs-number">11</span> support <span class="hljs-keyword">add</span>
7777
# pod <span class="hljs-string">'google-cast-sdk-no-bluetooth'</span>, <span class="hljs-string">'4.6.1'</span>
7878
</code></pre></li>
7979
<li><p>ii. If you <a href="https://developers.google.com/cast/docs/ios_sender/ios_permissions_changes#need_to_keep_guest_mode_support">want to support guest mode</a>, add</p>
80-
<pre><code class="hljs">pod <span class="hljs-string">'react-native-google-cast/GuestMode'</span>, <span class="hljs-built_in">path</span>: <span class="hljs-string">'../node_modules/react-native-google-cast/'</span>
81-
pod <span class="hljs-string">'google-cast-sdk'</span>
82-
# <span class="hljs-keyword">or</span> <span class="hljs-keyword">for</span> iOS <span class="hljs-number">10</span>/<span class="hljs-number">11</span> support
80+
<pre><code class="hljs">pod <span class="hljs-string">'react-native-google-cast/GuestMode'</span>, <span class="hljs-type">path</span>: <span class="hljs-string">'../node_modules/react-native-google-cast/'</span>
81+
82+
# <span class="hljs-keyword">or</span> <span class="hljs-keyword">for</span> iOS <span class="hljs-number">10</span>/<span class="hljs-number">11</span> support <span class="hljs-keyword">add</span>
8383
# pod <span class="hljs-string">'google-cast-sdk'</span>, <span class="hljs-string">'4.6.1'</span>
8484
</code></pre>
8585
<p>To finish setting up guest mode, don't forget step 5 in the <a href="setup#ios">Setup</a>.</p></li>
86-
<li><p>iii. If you want to link the Google Cast SDK manually, add this and follow <a href="https://developers.google.com/cast/docs/ios_sender#manual_setup">Manual Setup</a></p>
87-
<pre><code class="hljs">pod <span class="hljs-string">'react-native-google-cast/Manual'</span>, <span class="hljs-string">path:</span> <span class="hljs-string">'../node_modules/react-native-google-cast/'</span>
88-
</code></pre></li>
86+
<li><p>iii. If you're using Arm (M1/M2) Macs, use the <code>NoBluetoothArm</code> dependency instead.</p>
87+
<pre><code class="hljs">pod <span class="hljs-string">'react-native-google-cast/NoBluetoothArm'</span>, <span class="hljs-string">path:</span> <span class="hljs-string">'../node_modules/react-native-google-cast/'</span>
88+
</code></pre>
89+
<p>If you need Guest Mode support, please create an issue.</p></li>
8990
</ul></li>
9091
<li><p>If you're using RN &gt;= 0.60, and your <code>ios/Podfile</code> contains <code>use_native_modules!</code>, you'll need to disable autolinking for this package, otherwise the dependency you added in the previous step will conflict with the autolinked one. To do so, create <code>react-native.config.js</code> in the root of your project with this content:</p>
9192
<pre><code class="hljs css language-js"><span class="hljs-built_in">module</span>.exports = {
@@ -152,7 +153,7 @@ <h4><a class="anchor" aria-hidden="true" id="b-rn-059"></a><a href="#b-rn-059" a
152153
</ol>
153154
<h2><a class="anchor" aria-hidden="true" id="chrome"></a><a href="#chrome" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Chrome</h2>
154155
<p>Not supported yet</p>
155-
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 4/13/2022 by Petr Bela</em></div><div class="docs-prevnext"><a class="docs-next button" href="/docs/getting-started/setup"><span>Setup</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#expo">Expo</a></li><li><a href="#ios">iOS</a></li><li><a href="#android">Android</a></li><li><a href="#chrome">Chrome</a></li></ul></nav></div></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>
156+
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 7/31/2022 by Petr Bela</em></div><div class="docs-prevnext"><a class="docs-next button" href="/docs/getting-started/setup"><span>Setup</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#expo">Expo</a></li><li><a href="#ios">iOS</a></li><li><a href="#android">Android</a></li><li><a href="#chrome">Chrome</a></li></ul></nav></div></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>
156157
document.addEventListener('keyup', function(e) {
157158
if (e.target !== document.body) {
158159
return;

docs/getting-started/installation/index.html

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ <h2><a class="anchor" aria-hidden="true" id="expo"></a><a href="#expo" aria-hidd
5959
<p>Then ignore the rest of this page and jump straight to <a href="usage">Usage</a>.</p>
6060
<h2><a class="anchor" aria-hidden="true" id="ios"></a><a href="#ios" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>iOS</h2>
6161
<blockquote>
62-
<p>Support for building for the iOS Simulator on <strong>M1 Macs</strong> is in beta. It's not published to CocoaPods yet so the process is rather manual. See <a href="https://developers.google.com/cast/docs/ios_sender#xcframework_beta">https://developers.google.com/cast/docs/ios_sender#xcframework_beta</a> for installation instructions. You'll also need to disable autolinking (see b.3) and add this library pod in Manual mode (b.2.iii).</p>
62+
<p>Support for <strong>Arm Macs</strong> is in beta. Make sure you follow steps b.2.iii and b.3.</p>
6363
</blockquote>
6464
<h4><a class="anchor" aria-hidden="true" id="a-autolinking-recommended"></a><a href="#a-autolinking-recommended" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>a. Autolinking (recommended)</h4>
6565
<p>If you're using RN &gt;= 0.60 and you're fine with default settings (without guest mode), you can just run</p>
@@ -71,21 +71,22 @@ <h4><a class="anchor" aria-hidden="true" id="b-custom-version-or-guest-mode-rn-0
7171
<li><p>In your <code>ios/Podfile</code>, add <strong>one</strong> of these snippets:</p>
7272
<ul>
7373
<li><p>i. If you <a href="https://developers.google.com/cast/docs/ios_sender/ios_permissions_changes#need_to_remove_guest_mode_support">don't need guest mode</a>, add</p>
74-
<pre><code class="hljs">pod <span class="hljs-string">'react-native-google-cast/NoBluetooth'</span>, <span class="hljs-built_in">path</span>: <span class="hljs-string">'../node_modules/react-native-google-cast/'</span>
75-
pod <span class="hljs-string">'google-cast-sdk-no-bluetooth'</span>
76-
# <span class="hljs-keyword">or</span> <span class="hljs-keyword">for</span> iOS <span class="hljs-number">10</span>/<span class="hljs-number">11</span> support
74+
<pre><code class="hljs">pod <span class="hljs-string">'react-native-google-cast/NoBluetooth'</span>, <span class="hljs-type">path</span>: <span class="hljs-string">'../node_modules/react-native-google-cast/'</span>
75+
76+
# <span class="hljs-keyword">or</span> <span class="hljs-keyword">for</span> iOS <span class="hljs-number">10</span>/<span class="hljs-number">11</span> support <span class="hljs-keyword">add</span>
7777
# pod <span class="hljs-string">'google-cast-sdk-no-bluetooth'</span>, <span class="hljs-string">'4.6.1'</span>
7878
</code></pre></li>
7979
<li><p>ii. If you <a href="https://developers.google.com/cast/docs/ios_sender/ios_permissions_changes#need_to_keep_guest_mode_support">want to support guest mode</a>, add</p>
80-
<pre><code class="hljs">pod <span class="hljs-string">'react-native-google-cast/GuestMode'</span>, <span class="hljs-built_in">path</span>: <span class="hljs-string">'../node_modules/react-native-google-cast/'</span>
81-
pod <span class="hljs-string">'google-cast-sdk'</span>
82-
# <span class="hljs-keyword">or</span> <span class="hljs-keyword">for</span> iOS <span class="hljs-number">10</span>/<span class="hljs-number">11</span> support
80+
<pre><code class="hljs">pod <span class="hljs-string">'react-native-google-cast/GuestMode'</span>, <span class="hljs-type">path</span>: <span class="hljs-string">'../node_modules/react-native-google-cast/'</span>
81+
82+
# <span class="hljs-keyword">or</span> <span class="hljs-keyword">for</span> iOS <span class="hljs-number">10</span>/<span class="hljs-number">11</span> support <span class="hljs-keyword">add</span>
8383
# pod <span class="hljs-string">'google-cast-sdk'</span>, <span class="hljs-string">'4.6.1'</span>
8484
</code></pre>
8585
<p>To finish setting up guest mode, don't forget step 5 in the <a href="setup#ios">Setup</a>.</p></li>
86-
<li><p>iii. If you want to link the Google Cast SDK manually, add this and follow <a href="https://developers.google.com/cast/docs/ios_sender#manual_setup">Manual Setup</a></p>
87-
<pre><code class="hljs">pod <span class="hljs-string">'react-native-google-cast/Manual'</span>, <span class="hljs-string">path:</span> <span class="hljs-string">'../node_modules/react-native-google-cast/'</span>
88-
</code></pre></li>
86+
<li><p>iii. If you're using Arm (M1/M2) Macs, use the <code>NoBluetoothArm</code> dependency instead.</p>
87+
<pre><code class="hljs">pod <span class="hljs-string">'react-native-google-cast/NoBluetoothArm'</span>, <span class="hljs-string">path:</span> <span class="hljs-string">'../node_modules/react-native-google-cast/'</span>
88+
</code></pre>
89+
<p>If you need Guest Mode support, please create an issue.</p></li>
8990
</ul></li>
9091
<li><p>If you're using RN &gt;= 0.60, and your <code>ios/Podfile</code> contains <code>use_native_modules!</code>, you'll need to disable autolinking for this package, otherwise the dependency you added in the previous step will conflict with the autolinked one. To do so, create <code>react-native.config.js</code> in the root of your project with this content:</p>
9192
<pre><code class="hljs css language-js"><span class="hljs-built_in">module</span>.exports = {
@@ -152,7 +153,7 @@ <h4><a class="anchor" aria-hidden="true" id="b-rn-059"></a><a href="#b-rn-059" a
152153
</ol>
153154
<h2><a class="anchor" aria-hidden="true" id="chrome"></a><a href="#chrome" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Chrome</h2>
154155
<p>Not supported yet</p>
155-
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 4/13/2022 by Petr Bela</em></div><div class="docs-prevnext"><a class="docs-next button" href="/docs/getting-started/setup"><span>Setup</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#expo">Expo</a></li><li><a href="#ios">iOS</a></li><li><a href="#android">Android</a></li><li><a href="#chrome">Chrome</a></li></ul></nav></div></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>
156+
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 7/31/2022 by Petr Bela</em></div><div class="docs-prevnext"><a class="docs-next button" href="/docs/getting-started/setup"><span>Setup</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#expo">Expo</a></li><li><a href="#ios">iOS</a></li><li><a href="#android">Android</a></li><li><a href="#chrome">Chrome</a></li></ul></nav></div></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>
156157
document.addEventListener('keyup', function(e) {
157158
if (e.target !== document.body) {
158159
return;

0 commit comments

Comments
 (0)