React NativePlatform-Specific Code

46 items

1

Platform.select precedence: os, native, default

Quiz
2

Runtime Permissions: iOS vs Android Models

Flashcard
3

Platform.select precedence: os, native, default

Flashcard
4

StatusBar backgroundColor Does Nothing on iOS

Code Quiz
5

Comparing Platform.Version on Android

Code Quiz
6

Ternary Platform Check Gone Wrong

Code Quiz
7

Platform.select in StyleSheet.create

Code Quiz
8

Platform-Specific File Extensions

Code Quiz
9

Detecting Web vs Native

Code Quiz
10

Extension Resolution Order

Code Quiz
11

Platform.isPad Constant

Code Quiz
12

Platform.select Value Mapping

Code Quiz
13

Platform-Specific Style Objects

Code Quiz
14

Default Case in Platform.select

Code Quiz
15

Platform.OS Runtime Branching

Code Quiz
16

Branch Code vs Split Files

Slides / Video
17

Platform Behavior in Shared Components

Slides / Video
18

Organizing Platform-Specific Code

Slides / Video
19

Detecting Platform Constants: isPad & isTV

Slides / Video
20

Conditional Styling per Platform

Slides / Video
21

Native File Extensions for Web Sharing

Slides / Video
22

Platform.Version for OS Checks

Quiz
23

Platform-Specific File Extensions

Quiz
24

Reading Platform.constants

Quiz
25

Platform.select in StyleSheet

Quiz
26

Shared vs Platform-Divergent Code

Quiz
27

Platform.select for Value Maps

Quiz
28

Platform Differences: elevation vs shadow

Quiz
29

Conditional Rendering per Platform

Quiz
30

How Metro Resolves Platform Extensions

Quiz
31

Detecting Tablet with Platform.isPad

Quiz
32

.native.js vs .web.js Resolution

Quiz
33

Platform-Specific Styling Differences

Flashcard
34

Platform.select for OS Value Maps

Flashcard
35

Organizing Platform-Specific Code

Flashcard
36

Platform-Specific File Extensions

Flashcard
37

Platform.isPad, isTV Constants

Flashcard
38

.native.js for Web Code Sharing

Flashcard
39

Automatic Platform Extension Resolution

Flashcard
40

Physical Device vs Simulator

Flashcard
41

Conditional Platform Component Rendering

Flashcard
42

StatusBar and Safe Area Differences

Flashcard
43

Platform.Version for OS Version Checks

Flashcard
44

Platform File Extensions in React Native

Slides / Video
45

Platform.Version for OS Version Checks

Slides / Video
46

Platform.select for Per-Platform Values

Slides / Video
FlashcardIntermediate

Runtime Permissions: iOS vs Android Models

iOS prompts once per permission with Info.plist usage strings, while Android requests dangerous permissions at runtime after manifest declaration.

Question

How do iOS and Android permission models differ at runtime?

Click to reveal answer