Split iOS and Android docs into different categories
This commit is contained in:
parent
4af2501e8e
commit
e55b373a61
|
@ -4,7 +4,7 @@ title: Accessibility
|
|||
layout: docs
|
||||
category: Guides
|
||||
permalink: docs/accessibility.html
|
||||
next: native-modules-ios
|
||||
next: direct-manipulation
|
||||
---
|
||||
|
||||
## iOS
|
||||
|
|
|
@ -4,7 +4,7 @@ title: Direct Manipulation
|
|||
layout: docs
|
||||
category: Guides
|
||||
permalink: docs/direct-manipulation.html
|
||||
next: linking-libraries-ios
|
||||
next: debugging
|
||||
---
|
||||
|
||||
It is sometimes necessary to make changes directly to a component
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
id: embedded-app-ios
|
||||
title: Integrating with Existing Apps (iOS)
|
||||
title: Integrating with Existing Apps
|
||||
layout: docs
|
||||
category: Guides
|
||||
category: Guides (iOS)
|
||||
permalink: docs/embedded-app-ios.html
|
||||
next: javascript-environment
|
||||
next: native-modules-android
|
||||
---
|
||||
|
||||
Since React makes no assumptions about the rest of your technology stack – it’s commonly noted as simply the `V` in `MVC` – it’s easily embeddable within an existing non-React Native app. In fact, it integrates with other best practice community tools like [CocoaPods](http://cocoapods.org/).
|
||||
|
|
|
@ -4,7 +4,7 @@ title: Known Issues
|
|||
layout: docs
|
||||
category: Guides
|
||||
permalink: docs/known-issues.html
|
||||
next: activityindicatorios
|
||||
next: native-modules-ios
|
||||
---
|
||||
|
||||
### Missing Modules and Native Views
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
id: linking-libraries-ios
|
||||
title: Linking Libraries (iOS)
|
||||
title: Linking Libraries
|
||||
layout: docs
|
||||
category: Guides
|
||||
category: Guides (iOS)
|
||||
permalink: docs/linking-libraries-ios.html
|
||||
next: debugging
|
||||
next: running-on-device-ios
|
||||
---
|
||||
|
||||
Not every app uses all the native capabilities, and including the code to support
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
id: native-components-android
|
||||
title: Native UI Components (Android)
|
||||
title: Native UI Components
|
||||
layout: docs
|
||||
category: Guides
|
||||
category: Guides (Android)
|
||||
permalink: docs/native-components-android.html
|
||||
next: direct-manipulation
|
||||
next: running-on-device-android
|
||||
---
|
||||
|
||||
There are tons of native UI widgets out there ready to be used in the latest apps - some of them are part of the platform, others are available as third-party libraries, and still more might be in use in your very own portfolio. React Native has several of the most critical platform components already wrapped, like `ScrollView` and `TextInput`, but not all of them, and certainly not ones you might have written yourself for a previous app. Fortunately, it's quite easy to wrap up these existing components for seamless integration with your React Native application.
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
id: native-components-ios
|
||||
title: Native UI Components (iOS)
|
||||
title: Native UI Components
|
||||
layout: docs
|
||||
category: Guides
|
||||
category: Guides (iOS)
|
||||
permalink: docs/native-components-ios.html
|
||||
next: native-components-android
|
||||
next: linking-libraries-ios
|
||||
---
|
||||
|
||||
There are tons of native UI widgets out there ready to be used in the latest apps - some of them are part of the platform, others are available as third-party libraries, and still more might be in use in your very own portfolio. React Native has several of the most critical platform components already wrapped, like `ScrollView` and `TextInput`, but not all of them, and certainly not ones you might have written yourself for a previous app. Fortunately, it's quite easy to wrap up these existing components for seamless integration with your React Native application.
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
id: native-modules-android
|
||||
title: Native Modules (Android)
|
||||
title: Native Modules
|
||||
layout: docs
|
||||
category: Guides
|
||||
category: Guides (Android)
|
||||
permalink: docs/native-modules-android.html
|
||||
next: native-components-ios
|
||||
next: native-components-android
|
||||
---
|
||||
|
||||
Sometimes an app needs access to a platform API that React Native doesn't have a corresponding module for yet. Maybe you want to reuse some existing Java code without having to reimplement it in JavaScript, or write some high performance, multi-threaded code such as for image processing, a database, or any number of advanced extensions.
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
id: native-modules-ios
|
||||
title: Native Modules (iOS)
|
||||
title: Native Modules
|
||||
layout: docs
|
||||
category: Guides
|
||||
category: Guides (iOS)
|
||||
permalink: docs/native-modules-ios.html
|
||||
next: native-modules-android
|
||||
next: native-components-ios
|
||||
---
|
||||
|
||||
Sometimes an app needs access to platform API, and React Native doesn't have a corresponding module yet. Maybe you want to reuse some existing Objective-C, Swift or C++ code without having to reimplement it in JavaScript, or write some high performance, multi-threaded code such as for image processing, a database, or any number of advanced extensions.
|
||||
|
@ -264,7 +264,7 @@ You can then define methods and export your enum constants like this:
|
|||
@"statusBarAnimationFade" : @(UIStatusBarAnimationFade),
|
||||
@"statusBarAnimationSlide" : @(UIStatusBarAnimationSlide) }
|
||||
};
|
||||
|
||||
|
||||
RCT_EXPORT_METHOD(updateStatusBarAnimation:(UIStatusBarAnimation)animation
|
||||
completion:(RCTResponseSenderBlock)callback)
|
||||
```
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
id: running-on-device-android
|
||||
title: Running On Device (Android)
|
||||
title: Running On Device
|
||||
layout: docs
|
||||
category: Guides
|
||||
category: Guides (Android)
|
||||
permalink: docs/running-on-device-android.html
|
||||
next: embedded-app-ios
|
||||
next: activityindicatorios
|
||||
---
|
||||
|
||||
## USB Debugging
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
id: running-on-device-ios
|
||||
title: Running On Device (iOS)
|
||||
title: Running On Device
|
||||
layout: docs
|
||||
category: Guides
|
||||
category: Guides (iOS)
|
||||
permalink: docs/running-on-device-ios.html
|
||||
next: running-on-device-android
|
||||
next: embedded-app-ios
|
||||
---
|
||||
|
||||
Note that running on device requires [Apple Developer account](https://developer.apple.com/register) and provisioning your iPhone. This guide covers only React Native specific topic.
|
||||
|
|
|
@ -4,7 +4,7 @@ title: Testing
|
|||
layout: docs
|
||||
category: Guides
|
||||
permalink: docs/testing.html
|
||||
next: running-on-device-ios
|
||||
next: javascript-environment
|
||||
---
|
||||
|
||||
## Running Tests and Contributing
|
||||
|
|
Loading…
Reference in New Issue