mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Deploy website
Deploy website version based on 440ea3b6904d0cff7202fc48bfe4bcd6059abea4
This commit is contained in:
@@ -159,7 +159,7 @@ const styles = StyleSheet.create({
|
||||
<tr><th>Type</th><th>Required</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td>enum('small', 'large'), ,number</td><td>No</td></tr>
|
||||
<tr><td>enum('small', 'large'), number</td><td>No</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</span></div></article></div><div class="docs-prevnext"><a class="docs-next button" href="/react-native/docs/next/button"><span>Button</span><span class="arrow-next"> →</span></a></div></div></div></div><footer class="nav-footer" id="footer"><section class="sitemap"><div><h5>Docs</h5><a href="/react-native/docs/getting-started.html">Getting Started</a><a href="/react-native/docs/tutorial.html">Tutorial</a><a href="/react-native/docs/components-and-apis.html">Components and APIs</a><a href="/react-native/docs/more-resources.html">More Resources</a></div><div><h5>Community</h5><a href="/react-native/help.html">The React Native Community</a><a href="/react-native/showcase.html">Who's using React Native?</a><a href="http://stackoverflow.com/questions/tagged/react-native" target="_blank">Ask Questions on Stack Overflow</a><a href="https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md">Contributor Guide</a></div><div><h5>More Resources</h5><a href="/react-native/blog/">Blog</a><a href="https://twitter.com/reactnative" target="_blank">Twitter</a><a href="https://github.com/facebook/react-native" target="_blank">GitHub</a><a href="http://reactjs.org" target="_blank">React</a></div></section><a href="https://code.facebook.com/projects/" target="_blank" class="fbOpenSource"><img src="/react-native/img/oss_logo.png" alt="Facebook Open Source" width="170" height="45"/></a><section class="copyright">Copyright © 2019 Facebook Inc.</section></footer></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>window.fbAsyncInit = function() {FB.init({appId:'1677033832619985',xfbml:true,version:'v2.7'});};(function(d, s, id){var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) {return;}js = d.createElement(s); js.id = id;js.src = '//connect.facebook.net/en_US/sdk.js';fjs.parentNode.insertBefore(js, fjs);}(document, 'script','facebook-jssdk'));
|
||||
|
||||
@@ -159,7 +159,7 @@ const styles = StyleSheet.create({
|
||||
<tr><th>Type</th><th>Required</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td>enum('small', 'large'), ,number</td><td>No</td></tr>
|
||||
<tr><td>enum('small', 'large'), number</td><td>No</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</span></div></article></div><div class="docs-prevnext"><a class="docs-next button" href="/react-native/docs/next/button"><span>Button</span><span class="arrow-next"> →</span></a></div></div></div></div><footer class="nav-footer" id="footer"><section class="sitemap"><div><h5>Docs</h5><a href="/react-native/docs/getting-started.html">Getting Started</a><a href="/react-native/docs/tutorial.html">Tutorial</a><a href="/react-native/docs/components-and-apis.html">Components and APIs</a><a href="/react-native/docs/more-resources.html">More Resources</a></div><div><h5>Community</h5><a href="/react-native/help.html">The React Native Community</a><a href="/react-native/showcase.html">Who's using React Native?</a><a href="http://stackoverflow.com/questions/tagged/react-native" target="_blank">Ask Questions on Stack Overflow</a><a href="https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md">Contributor Guide</a></div><div><h5>More Resources</h5><a href="/react-native/blog/">Blog</a><a href="https://twitter.com/reactnative" target="_blank">Twitter</a><a href="https://github.com/facebook/react-native" target="_blank">GitHub</a><a href="http://reactjs.org" target="_blank">React</a></div></section><a href="https://code.facebook.com/projects/" target="_blank" class="fbOpenSource"><img src="/react-native/img/oss_logo.png" alt="Facebook Open Source" width="170" height="45"/></a><section class="copyright">Copyright © 2019 Facebook Inc.</section></footer></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>window.fbAsyncInit = function() {FB.init({appId:'1677033832619985',xfbml:true,version:'v2.7'});};(function(d, s, id){var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) {return;}js = d.createElement(s); js.id = id;js.src = '//connect.facebook.net/en_US/sdk.js';fjs.parentNode.insertBefore(js, fjs);}(document, 'script','facebook-jssdk'));
|
||||
|
||||
@@ -80,11 +80,15 @@
|
||||
</div>
|
||||
<p>Handle push notifications for your app, including permission handling and icon badge number.</p>
|
||||
<p>To get up and running, <a href="https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/AddingCapabilities/AddingCapabilities.html#//apple_ref/doc/uid/TP40012582-CH26-SW6">configure your notifications with Apple</a> and your server-side system.</p>
|
||||
<p><a href="/react-native/docs/next/linking-libraries-ios#manual-linking">Manually link</a> the PushNotificationIOS library</p>
|
||||
<ul>
|
||||
<li>Add the following to your Project: <code>node_modules/react-native/Libraries/PushNotificationIOS/RCTPushNotification.xcodeproj</code></li>
|
||||
<li>Add the following to <code>Link Binary With Libraries</code>: <code>libRCTPushNotification.a</code></li>
|
||||
</ul>
|
||||
<p>Add the PushNotificationIOS library to your Podfile:
|
||||
./ios/Podfile</p>
|
||||
<pre><code class="hljs">...
|
||||
target <span class="hljs-string">'myAwesomeApp'</span> do
|
||||
# Pods for myAwesomeApp
|
||||
...
|
||||
pod <span class="hljs-string">'React-RCTPushNotification'</span>, :path => <span class="hljs-string">'../node_modules/react-native/Libraries/PushNotificationIOS'</span>
|
||||
...
|
||||
</code></pre>
|
||||
<p>Finally, to enable support for <code>notification</code> and <code>register</code> events you need to augment your AppDelegate.</p>
|
||||
<p>At the top of your <code>AppDelegate.m</code>:</p>
|
||||
<p><code>#import <React/RCTPushNotificationManager.h></code></p>
|
||||
|
||||
@@ -80,11 +80,15 @@
|
||||
</div>
|
||||
<p>Handle push notifications for your app, including permission handling and icon badge number.</p>
|
||||
<p>To get up and running, <a href="https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/AddingCapabilities/AddingCapabilities.html#//apple_ref/doc/uid/TP40012582-CH26-SW6">configure your notifications with Apple</a> and your server-side system.</p>
|
||||
<p><a href="/react-native/docs/next/linking-libraries-ios#manual-linking">Manually link</a> the PushNotificationIOS library</p>
|
||||
<ul>
|
||||
<li>Add the following to your Project: <code>node_modules/react-native/Libraries/PushNotificationIOS/RCTPushNotification.xcodeproj</code></li>
|
||||
<li>Add the following to <code>Link Binary With Libraries</code>: <code>libRCTPushNotification.a</code></li>
|
||||
</ul>
|
||||
<p>Add the PushNotificationIOS library to your Podfile:
|
||||
./ios/Podfile</p>
|
||||
<pre><code class="hljs">...
|
||||
target <span class="hljs-string">'myAwesomeApp'</span> do
|
||||
# Pods for myAwesomeApp
|
||||
...
|
||||
pod <span class="hljs-string">'React-RCTPushNotification'</span>, :path => <span class="hljs-string">'../node_modules/react-native/Libraries/PushNotificationIOS'</span>
|
||||
...
|
||||
</code></pre>
|
||||
<p>Finally, to enable support for <code>notification</code> and <code>register</code> events you need to augment your AppDelegate.</p>
|
||||
<p>At the top of your <code>AppDelegate.m</code>:</p>
|
||||
<p><code>#import <React/RCTPushNotificationManager.h></code></p>
|
||||
|
||||
Reference in New Issue
Block a user