EvanBacon / expo-quick-actions

Add home screen quick actions / shortcuts to your React Native app
MIT License
281 stars 7 forks source link

QuickActions orders #6

Closed popejs closed 7 months ago

popejs commented 9 months ago

I had to reverse the quick actions order in iOS to maintain the same order as Android. It was confusing to me at first on how to achieve the same order. I did the following:

QuickActions.setItems(Platform.OS === 'ios' ? items.reverse() : items);

EvanBacon commented 7 months ago

The quick actions order is based on the placement relative to the screen, it's chosen by the OS. I don't think it makes sense (at the moment) to flip the native behavior on a single platform.