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
FlashcardDetecting Web vs Native
Spot the wrong identifier used to detect web.
import { Platform } from 'react-native';
const isWeb = Platform.OS === 'website';
export default isWeb;Why does this web detection always fail on React Native Web?