None of the provided examples related to InputAccessoryView feature in 0.55 are not working.
Environment:
OS: macOS High Sierra 10.13.4
Node: 8.5.0
Yarn: 1.5.1
npm: 5.3.0
Watchman: 4.9.0
Xcode: Xcode 9.3 Build version 9E145
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.3 => 0.55.3
Should work and not presented with red screen
provided an error in red screen as follows

Thanks for posting this! It looks like your issue may be missing some necessary information. Can you run react-native info and edit your issue to include these results under the Environment section?
Thank you for your contributions.
I had to use:
const InputAccessoryView = require('InputAccessoryView')
Rather than:
import { InputAccessoryView} from 'react-native'
Thanks. Closing this issue.
@alinz Having a workaround doesn't mean the issue is resolved. The underlying issue is that InputAccessoryView hasn't been made available as an export on the main 'react-native' module, this contradicts the documentation about how to use it.
Looks like it's fixed in master though! 馃帀
Most helpful comment
I had to use:
const InputAccessoryView = require('InputAccessoryView')
Rather than:
import { InputAccessoryView} from 'react-native'