react-native icon indicating copy to clipboard operation
react-native copied to clipboard

[Android] 0.13 Error when ToolbarAndroid config actions

Open bastengao opened this issue 11 years ago • 6 comments

Show error undefine is not an object RCTUIManager.ToolbarAndroid.Constants.ShowAsAction when ToolbarAndroid config actions such as <ToolbarAndroid actions={[{title: 'test', show: 'always'}]} />.

This error disappears using 0.12 version instead of 0.13.

bastengao avatar Oct 27 '15 06:10 bastengao

I encountered the same issue, i am using 0.14.0 version

I cleaned the project in Android Studio, yet still not ok

yychun1217 avatar Nov 17 '15 11:11 yychun1217

I am also facing the same issue with 0.13.2 at windows setup. Can you check please?

MuruganDurai avatar Nov 19 '15 21:11 MuruganDurai

I console RCTUIManager.ToolbarAndroid.Constants in ToolbarAndroid.android.js, it's undefined. It seems ReactToolbarManager.getExportedViewConstants doesn't work. No more help I can do.

bastengao avatar Nov 27 '15 02:11 bastengao

@bastengao Is this still an issue with 0.17?

satya164 avatar Dec 24 '15 20:12 satya164

@satya164 This issue doesn't occur on 0.17.

bastengao avatar Dec 25 '15 05:12 bastengao

Thanks.

satya164 avatar Dec 25 '15 06:12 satya164