ffxsam
ffxsam

Reputation: 27763

What's the equivalent of ActionSheetIOS in Android?

Does React Native have an equivalent of ActionSheetIOS for Android? Some sort of popup menu of options to choose from?

Upvotes: 28

Views: 18813

Answers (3)

ρяσѕρєя K
ρяσѕρєя K

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:

1. Flipboard/bottomsheet

2. tutti-ch/android-bottomsheet

Upvotes: 8

Sibelius Seraphini
Sibelius Seraphini

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

Tom Hayden
Tom Hayden

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

Related Questions