Skip to content

Commit b85812f

Browse files
committed
Deploy website
Deploy website version based on a031d0978cff9d544981d3af11897752c2358a21
1 parent 0c23faf commit b85812f

File tree

19 files changed

+81
-28
lines changed

19 files changed

+81
-28
lines changed

docs/components/CastButton.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ <h2><a class="anchor" aria-hidden="true" id="custom-cast-button-and-cast-dialog"
8888
})
8989
}
9090
</span></code></pre>
91-
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 6/20/2021 by Petr Bela</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/guides/volume"><span class="arrow-prev"></span><span>Volume</span></a><a class="docs-next button" href="/docs/components/ExpandedController"><span class="function-name-prevnext">ExpandedController</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#custom-cast-button-and-cast-dialog">Custom Cast Button and Cast Dialog</a></li></ul></nav></div></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>
91+
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 6/21/2021 by Petr Bela</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/guides/volume"><span class="arrow-prev"></span><span>Volume</span></a><a class="docs-next button" href="/docs/components/ExpandedController"><span class="function-name-prevnext">ExpandedController</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#custom-cast-button-and-cast-dialog">Custom Cast Button and Cast Dialog</a></li></ul></nav></div></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>
9292
document.addEventListener('keyup', function(e) {
9393
if (e.target !== document.body) {
9494
return;

docs/components/CastButton/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ <h2><a class="anchor" aria-hidden="true" id="custom-cast-button-and-cast-dialog"
8888
})
8989
}
9090
</span></code></pre>
91-
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 6/20/2021 by Petr Bela</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/guides/volume"><span class="arrow-prev"></span><span>Volume</span></a><a class="docs-next button" href="/docs/components/ExpandedController"><span class="function-name-prevnext">ExpandedController</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#custom-cast-button-and-cast-dialog">Custom Cast Button and Cast Dialog</a></li></ul></nav></div></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>
91+
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 6/21/2021 by Petr Bela</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/guides/volume"><span class="arrow-prev"></span><span>Volume</span></a><a class="docs-next button" href="/docs/components/ExpandedController"><span class="function-name-prevnext">ExpandedController</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#custom-cast-button-and-cast-dialog">Custom Cast Button and Cast Dialog</a></li></ul></nav></div></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>
9292
document.addEventListener('keyup', function(e) {
9393
if (e.target !== document.body) {
9494
return;

docs/getting-started/installation.html

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ <h2><a class="anchor" aria-hidden="true" id="expo"></a><a href="#expo" aria-hidd
5858
<p>Simply follow instructions at <a href="https://github.com/expo/config-plugins/tree/master/packages/react-native-google-cast">@config-plugins/react-native-google-cast</a> which will take care of all the installation and setup steps.</p>
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>
61+
<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>
63+
</blockquote>
6164
<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>
6265
<p>If you're using RN &gt;= 0.60 and you're fine with default settings (without guest mode), you can just run</p>
6366
<p><code>cd ios &amp;&amp; pod install</code></p>
@@ -67,21 +70,21 @@ <h4><a class="anchor" aria-hidden="true" id="b-custom-version-or-guest-mode-rn-0
6770
<li><p>If you don't have <a href="https://cocoapods.org/">CocoaPods</a> set up yet (RN &lt;=0.59), follow instructions in the <a href="https://reactnative.dev/docs/integration-with-existing-apps#configuring-cocoapods-dependencies">react-native documentation</a>.</p></li>
6871
<li><p>In your <code>ios/Podfile</code>, add <strong>one</strong> of these snippets:</p>
6972
<ul>
70-
<li><p>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>
71-
<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/ios/'</span>
73+
<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>
7275
pod <span class="hljs-string">'google-cast-sdk-no-bluetooth'</span>
7376
# <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
7477
# pod <span class="hljs-string">'google-cast-sdk-no-bluetooth'</span>, <span class="hljs-string">'4.6.1'</span>
7578
</code></pre></li>
76-
<li><p>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>
77-
<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/ios/'</span>
79+
<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>
7881
pod <span class="hljs-string">'google-cast-sdk'</span>
7982
# <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
8083
# pod <span class="hljs-string">'google-cast-sdk'</span>, <span class="hljs-string">'4.6.1'</span>
8184
</code></pre>
8285
<p>To finish setting up guest mode, don't forget step 5 in the <a href="setup#ios">Setup</a>.</p></li>
83-
<li><p>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>
84-
<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/ios/'</span>
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>
8588
</code></pre></li>
8689
</ul></li>
8790
<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>
@@ -149,7 +152,7 @@ <h4><a class="anchor" aria-hidden="true" id="b-rn-059"></a><a href="#b-rn-059" a
149152
</ol>
150153
<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>
151154
<p>Not supported yet</p>
152-
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 2/26/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>
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>
153156
document.addEventListener('keyup', function(e) {
154157
if (e.target !== document.body) {
155158
return;

docs/getting-started/installation/index.html

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ <h2><a class="anchor" aria-hidden="true" id="expo"></a><a href="#expo" aria-hidd
5858
<p>Simply follow instructions at <a href="https://github.com/expo/config-plugins/tree/master/packages/react-native-google-cast">@config-plugins/react-native-google-cast</a> which will take care of all the installation and setup steps.</p>
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>
61+
<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>
63+
</blockquote>
6164
<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>
6265
<p>If you're using RN &gt;= 0.60 and you're fine with default settings (without guest mode), you can just run</p>
6366
<p><code>cd ios &amp;&amp; pod install</code></p>
@@ -67,21 +70,21 @@ <h4><a class="anchor" aria-hidden="true" id="b-custom-version-or-guest-mode-rn-0
6770
<li><p>If you don't have <a href="https://cocoapods.org/">CocoaPods</a> set up yet (RN &lt;=0.59), follow instructions in the <a href="https://reactnative.dev/docs/integration-with-existing-apps#configuring-cocoapods-dependencies">react-native documentation</a>.</p></li>
6871
<li><p>In your <code>ios/Podfile</code>, add <strong>one</strong> of these snippets:</p>
6972
<ul>
70-
<li><p>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>
71-
<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/ios/'</span>
73+
<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>
7275
pod <span class="hljs-string">'google-cast-sdk-no-bluetooth'</span>
7376
# <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
7477
# pod <span class="hljs-string">'google-cast-sdk-no-bluetooth'</span>, <span class="hljs-string">'4.6.1'</span>
7578
</code></pre></li>
76-
<li><p>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>
77-
<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/ios/'</span>
79+
<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>
7881
pod <span class="hljs-string">'google-cast-sdk'</span>
7982
# <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
8083
# pod <span class="hljs-string">'google-cast-sdk'</span>, <span class="hljs-string">'4.6.1'</span>
8184
</code></pre>
8285
<p>To finish setting up guest mode, don't forget step 5 in the <a href="setup#ios">Setup</a>.</p></li>
83-
<li><p>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>
84-
<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/ios/'</span>
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>
8588
</code></pre></li>
8689
</ul></li>
8790
<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>
@@ -149,7 +152,7 @@ <h4><a class="anchor" aria-hidden="true" id="b-rn-059"></a><a href="#b-rn-059" a
149152
</ol>
150153
<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>
151154
<p>Not supported yet</p>
152-
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 2/26/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>
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>
153156
document.addEventListener('keyup', function(e) {
154157
if (e.target !== document.body) {
155158
return;

0 commit comments

Comments
 (0)