Reputation: 27763
Does React Native have an equivalent of ActionSheetIOS
for Android? Some sort of popup menu of options to choose from?
Upvotes: 28
Views: 18813
Reputation: 132992
Does React Native have an equivalent of ActionSheetIOS for Android?
No, Native ActionSheet
View is not available in Android. but can develop it by using Bottom sheets Component concept.
Some sort of popup menu of options to choose from?
Some ActionSheetIOS
equivalent View source code is available on Github like:
2. tutti-ch/android-bottomsheet
Upvotes: 8
Reputation: 5633
You could use this package:
https://github.com/exponentjs/react-native-action-sheet
The android part is implemented using JS only
Upvotes: 4
Reputation: 121
I implemented a module for the Android equivalent of ActionSheetIOS - ie the share tray. It's on github:
https://github.com/haydenth/react-native-android-share
Or on npm: https://www.npmjs.com/package/react-native-android-share
Upvotes: 0