-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS: macOS High Sierra 10.13.2
Node: 8.9.2
Yarn: Not Found
npm: 5.5.1
Watchman: Not Found
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4408382
Packages: (wanted => installed)
react: 16.0.0-beta.5 => 16.0.0-beta.5
react-native: 0.50.3 => 0.50.3
Target Platform: iOS (8.0)
Steps to Reproduce
- Paste below code in your
index.js
componentDidMount() {
if(Platform.OS === 'ios') {
console.log(" ios")
} else {
console.log("android")
}
}
- Enable Remote JS Debugging and check the Console for log
Expected Behavior
Console Log Output: ios
Actual Behavior
Console Log Output:
checkInitialPermissions is the function to be executed only on android. But its executed on iOS.
Reproducible Demo
Follow steps to reproduce
Metadata
Metadata
Assignees
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.