Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/platform-specific-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const Component = Platform.select({
<Component />;
```

### Detecting the Android version <div className="label android" title="This section is related to Android platform">Android</div>
### Detecting the Android version <div className="label android">Android</div>

On Android, the `Platform` module can also be used to detect the version of the Android Platform in which the app is running:

Expand All @@ -86,7 +86,7 @@ if (Platform.Version === 25) {

**Note**: `Version` is set to the Android API version not the Android OS version. To find a mapping please refer to [Android Version History](https://en.wikipedia.org/wiki/Android_version_history#Overview).

### Detecting the iOS version <div className="label ios" title="This section is related to iOS platform">iOS</div>
### Detecting the iOS version <div className="label ios">iOS</div>

On iOS, the `Version` is a result of `-[UIDevice systemVersion]`, which is a string with the current version of the operating system. An example of the system version is "10.3". For example, to detect the major version number on iOS:

Expand Down
14 changes: 0 additions & 14 deletions website/core/PlatformTag.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions website/versioned_docs/version-0.85/platform-specific-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const Component = Platform.select({
<Component />;
```

### Detecting the Android version <div className="label android" title="This section is related to Android platform">Android</div>
### Detecting the Android version <div className="label android">Android</div>

On Android, the `Platform` module can also be used to detect the version of the Android Platform in which the app is running:

Expand All @@ -86,7 +86,7 @@ if (Platform.Version === 25) {

**Note**: `Version` is set to the Android API version not the Android OS version. To find a mapping please refer to [Android Version History](https://en.wikipedia.org/wiki/Android_version_history#Overview).

### Detecting the iOS version <div className="label ios" title="This section is related to iOS platform">iOS</div>
### Detecting the iOS version <div className="label ios">iOS</div>

On iOS, the `Version` is a result of `-[UIDevice systemVersion]`, which is a string with the current version of the operating system. An example of the system version is "10.3". For example, to detect the major version number on iOS:

Expand Down