Skip to content

Commit ce660fe

Browse files
committed
Deploy website
Deploy website version based on 785a7153c98baaebdfb4c0c84571682f20f69dda
1 parent 1cce091 commit ce660fe

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

docs/getting-started/installation.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ <h2><a class="anchor" aria-hidden="true" id="expo"></a><a href="#expo" aria-hidd
5757
<p>Since Expo SDK 42, you can use this library in a custom-built Expo app.</p>
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>
60+
<p>If you're unsure please check the <a href="https://github.com/react-native-google-cast/RNGCExpo">example Expo app</a>.</p>
6061
<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>
6162
<blockquote>
62-
<p>Support for <strong>Arm Macs</strong> is in beta. Make sure you follow steps b.2.iii and b.3.</p>
63+
<p>Support for <strong>Arm Macs</strong> is in beta. Make sure you follow steps b.2.iii and b.3, or check out the <a href="https://github.com/react-native-google-cast/RNGCArm">example</a>.</p>
6364
</blockquote>
6465
<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>
6566
<p>If you're using RN &gt;= 0.60 and you're fine with default settings (without guest mode), you can just run</p>
@@ -153,7 +154,7 @@ <h4><a class="anchor" aria-hidden="true" id="b-rn-059"></a><a href="#b-rn-059" a
153154
</ol>
154155
<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>
155156
<p>Not supported yet</p>
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>
157+
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 8/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>
157158
document.addEventListener('keyup', function(e) {
158159
if (e.target !== document.body) {
159160
return;

docs/getting-started/installation/index.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ <h2><a class="anchor" aria-hidden="true" id="expo"></a><a href="#expo" aria-hidd
5757
<p>Since Expo SDK 42, you can use this library in a custom-built Expo app.</p>
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>
60+
<p>If you're unsure please check the <a href="https://github.com/react-native-google-cast/RNGCExpo">example Expo app</a>.</p>
6061
<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>
6162
<blockquote>
62-
<p>Support for <strong>Arm Macs</strong> is in beta. Make sure you follow steps b.2.iii and b.3.</p>
63+
<p>Support for <strong>Arm Macs</strong> is in beta. Make sure you follow steps b.2.iii and b.3, or check out the <a href="https://github.com/react-native-google-cast/RNGCArm">example</a>.</p>
6364
</blockquote>
6465
<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>
6566
<p>If you're using RN &gt;= 0.60 and you're fine with default settings (without guest mode), you can just run</p>
@@ -153,7 +154,7 @@ <h4><a class="anchor" aria-hidden="true" id="b-rn-059"></a><a href="#b-rn-059" a
153154
</ol>
154155
<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>
155156
<p>Not supported yet</p>
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>
157+
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 8/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>
157158
document.addEventListener('keyup', function(e) {
158159
if (e.target !== document.body) {
159160
return;

docs/getting-started/troubleshooting.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,9 @@
5353
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><h1 class="postHeaderTitle">Troubleshooting</h1></header><article><div><span><h2><a class="anchor" aria-hidden="true" id="can-t-see-cast-button-no-cast-devices-available"></a><a href="#can-t-see-cast-button-no-cast-devices-available" 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>Can't see Cast Button / No Cast Devices Available</h2>
5454
<p>This is by far the most common problem with this library. Before creating an issue, please read through this list of known solutions to see if anything helps:</p>
5555
<ul>
56-
<li><p>Most TVs don't support the native Cast SDK protocol, so even if it appears that apps like YouTube are able to Cast, they're in fact communicating directly with their counterpart app on the TV, not using the Cast SDK. Officially, only Chromecast, Android TV, and devices with the official Chromecast logo are supported by the SDK.</p>
56+
<li><p>Most TVs don't support the native Cast SDK protocol, so even if it appears that apps like YouTube and Netflix (and the Chrome browser) are able to Cast, they're in fact communicating directly with their counterpart app on the TV using <a href="https://www.howtogeek.com/215791/use-your-tv%E2%80%99s-hidden-%E2%80%9Cdial%E2%80%9D-feature-to-cast-netflix-and-youtube-without-a-chromecast/#:~:text=and%20Privacy%20Policy.-,Use%20Your%20TV's%20Hidden%20%E2%80%9CDIAL%E2%80%9D%20Feature%20to%20Cast%20Netflix,and%20YouTube%20Without%20a%20Chromecast&amp;text=Many%20modern%20smart%20TVs%20have,computer%20%E2%80%94%20without%20getting%20a%20Chromecast">DIAL</a>, not the Cast SDK. Officially, only Chromecast, Android TV, and devices with the official Chromecast logo are supported by the SDK.</p>
5757
<p>To check if your device is supported:</p>
5858
<ul>
59-
<li><p>Test if you can <a href="https://support.google.com/chromecast/answer/3228332">Cast from Chrome browser</a>.</p></li>
6059
<li><p>Test with the reference <a href="https://github.com/googlecast/CastVideos-ios">CastVideos-ios</a> or <a href="https://github.com/googlecast/CastVideos-android">CastVideos-android</a> apps.</p></li>
6160
<li><p>Try the Google Home, Google Photos, or another Cast-enabled app to make sure they can see the Cast device you're trying to connect to.</p></li>
6261
</ul>
@@ -66,7 +65,7 @@
6665
<li><p>If using a custom receiver application in the <a href="https://cast.google.com/publish">Google Cast SDK Developer Console</a> that's Unpublished, make sure you register your device in the <strong>Cast Receiver Devices</strong>. Once you do that, you need to wait about 15 minutes and then restart your Cast device.</p></li>
6766
<li><p>Check the Debug log in Xcode or Android Studio for any warnings and errors.</p></li>
6867
<li><p>(Android) Make sure the device has Google Play Services available and that you initialize <code>CastContext.getSharedInstance(this);</code> in your <code>MainActivity</code>'s <code>onCreate</code>.</p></li>
69-
<li><p>(Android) If using an <strong>emulator</strong>, due to it running as a virtual machine with its own network, you might need to configure NAT for the virtual device. If you cannot see any Cast devices on the emulator, please test with a real Android device before reporting an issue. Alternatively, you may try using <a href="https://www.genymotion.com/">Genymotion</a> but note it <a href="https://support.genymotion.com/hc/en-us/articles/360017897157-Does-Genymotion-Desktop-work-on-Mac-M1-">doesn't support M1/ARM Macs yet</a>.</p></li>
68+
<li><p>(Android) <strong>emulators</strong> are <a href="https://github.com/googlecast/CastVideos-android/issues/104#issuecomment-816290407">not supported</a>. Please test with a real Android device before reporting an issue. Alternatively, you may try using <a href="https://www.genymotion.com/">Genymotion</a> but note it <a href="https://support.genymotion.com/hc/en-us/articles/360017897157-Does-Genymotion-Desktop-work-on-Mac-M1-">doesn't support M1/ARM Macs yet</a>.</p></li>
7069
<li><p>(iOS) Make sure you've enabled the <strong>Access WiFi Information</strong> capability.</p></li>
7170
<li><p>(iOS) If you disabled discovery autostart in <a href="./setup#ios">iOS Setup</a>, make sure you call <a href="../api/classes/discoverymanager#startdiscovery">startDiscovery</a> somewhere in your JS code.</p></li>
7271
<li><p>(iOS 14+) Double check that you've configured Bonjour services in <code>Info.plist</code>.</p></li>

docs/getting-started/troubleshooting/index.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,9 @@
5353
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><h1 class="postHeaderTitle">Troubleshooting</h1></header><article><div><span><h2><a class="anchor" aria-hidden="true" id="can-t-see-cast-button-no-cast-devices-available"></a><a href="#can-t-see-cast-button-no-cast-devices-available" 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>Can't see Cast Button / No Cast Devices Available</h2>
5454
<p>This is by far the most common problem with this library. Before creating an issue, please read through this list of known solutions to see if anything helps:</p>
5555
<ul>
56-
<li><p>Most TVs don't support the native Cast SDK protocol, so even if it appears that apps like YouTube are able to Cast, they're in fact communicating directly with their counterpart app on the TV, not using the Cast SDK. Officially, only Chromecast, Android TV, and devices with the official Chromecast logo are supported by the SDK.</p>
56+
<li><p>Most TVs don't support the native Cast SDK protocol, so even if it appears that apps like YouTube and Netflix (and the Chrome browser) are able to Cast, they're in fact communicating directly with their counterpart app on the TV using <a href="https://www.howtogeek.com/215791/use-your-tv%E2%80%99s-hidden-%E2%80%9Cdial%E2%80%9D-feature-to-cast-netflix-and-youtube-without-a-chromecast/#:~:text=and%20Privacy%20Policy.-,Use%20Your%20TV's%20Hidden%20%E2%80%9CDIAL%E2%80%9D%20Feature%20to%20Cast%20Netflix,and%20YouTube%20Without%20a%20Chromecast&amp;text=Many%20modern%20smart%20TVs%20have,computer%20%E2%80%94%20without%20getting%20a%20Chromecast">DIAL</a>, not the Cast SDK. Officially, only Chromecast, Android TV, and devices with the official Chromecast logo are supported by the SDK.</p>
5757
<p>To check if your device is supported:</p>
5858
<ul>
59-
<li><p>Test if you can <a href="https://support.google.com/chromecast/answer/3228332">Cast from Chrome browser</a>.</p></li>
6059
<li><p>Test with the reference <a href="https://github.com/googlecast/CastVideos-ios">CastVideos-ios</a> or <a href="https://github.com/googlecast/CastVideos-android">CastVideos-android</a> apps.</p></li>
6160
<li><p>Try the Google Home, Google Photos, or another Cast-enabled app to make sure they can see the Cast device you're trying to connect to.</p></li>
6261
</ul>
@@ -66,7 +65,7 @@
6665
<li><p>If using a custom receiver application in the <a href="https://cast.google.com/publish">Google Cast SDK Developer Console</a> that's Unpublished, make sure you register your device in the <strong>Cast Receiver Devices</strong>. Once you do that, you need to wait about 15 minutes and then restart your Cast device.</p></li>
6766
<li><p>Check the Debug log in Xcode or Android Studio for any warnings and errors.</p></li>
6867
<li><p>(Android) Make sure the device has Google Play Services available and that you initialize <code>CastContext.getSharedInstance(this);</code> in your <code>MainActivity</code>'s <code>onCreate</code>.</p></li>
69-
<li><p>(Android) If using an <strong>emulator</strong>, due to it running as a virtual machine with its own network, you might need to configure NAT for the virtual device. If you cannot see any Cast devices on the emulator, please test with a real Android device before reporting an issue. Alternatively, you may try using <a href="https://www.genymotion.com/">Genymotion</a> but note it <a href="https://support.genymotion.com/hc/en-us/articles/360017897157-Does-Genymotion-Desktop-work-on-Mac-M1-">doesn't support M1/ARM Macs yet</a>.</p></li>
68+
<li><p>(Android) <strong>emulators</strong> are <a href="https://github.com/googlecast/CastVideos-android/issues/104#issuecomment-816290407">not supported</a>. Please test with a real Android device before reporting an issue. Alternatively, you may try using <a href="https://www.genymotion.com/">Genymotion</a> but note it <a href="https://support.genymotion.com/hc/en-us/articles/360017897157-Does-Genymotion-Desktop-work-on-Mac-M1-">doesn't support M1/ARM Macs yet</a>.</p></li>
7069
<li><p>(iOS) Make sure you've enabled the <strong>Access WiFi Information</strong> capability.</p></li>
7170
<li><p>(iOS) If you disabled discovery autostart in <a href="./setup#ios">iOS Setup</a>, make sure you call <a href="../api/classes/discoverymanager#startdiscovery">startDiscovery</a> somewhere in your JS code.</p></li>
7271
<li><p>(iOS 14+) Double check that you've configured Bonjour services in <code>Info.plist</code>.</p></li>

0 commit comments

Comments
 (0)