32 items
StatusBar backgroundColor Does Nothing on iOS
Code QuizComparing Platform.Version on Android
Code QuizTernary Platform Check Gone Wrong
Code QuizPlatform.select Value Mapping
Code QuizPlatform.OS Runtime Branching
Code QuizPlatform-Specific File Extensions
Code QuizDetecting Web vs Native
Code QuizPlatform.select in StyleSheet.create
Code QuizPlatform-Specific Style Objects
Code QuizPlatform.isPad Constant
Code QuizExtension Resolution Order
Code QuizDefault Case in Platform.select
Code QuizBranch Code vs Split Files
Slides / VideoPlatform Behavior in Shared Components
Slides / VideoOrganizing Platform-Specific Code
Slides / VideoDetecting Platform Constants: isPad & isTV
Slides / VideoConditional Styling per Platform
Slides / VideoNative File Extensions for Web Sharing
Slides / Video.native.js vs .web.js Resolution
QuizPlatform.select in StyleSheet
QuizShared vs Platform-Divergent Code
QuizPlatform Differences: elevation vs shadow
QuizDetecting Tablet with Platform.isPad
QuizConditional Rendering per Platform
QuizReading Platform.constants
QuizPlatform.select for Value Maps
QuizPlatform.Version for OS Checks
QuizPlatform-Specific File Extensions
QuizHow Metro Resolves Platform Extensions
Quiz.native.js for Web Code Sharing
FlashcardOrganizing Platform-Specific Code
FlashcardPhysical Device vs Simulator
FlashcardDefault Case in Platform.select
Spot why web gets no value from Platform.select.
import { Platform } from 'react-native';
const spacing = Platform.select({
ios: 12,
android: 16,
defaults: 8
});
export default spacing;Why is spacing undefined on platforms like web?