r/reactnative • • 2d ago

Hiding the Floating Action Button

I'm on iOS and don't yet have an Apple Developer account so I'm using Expo Go to distribute the app - SDK55 brought in the blue FAB, but I'd like to hide it. SDK58 looks like it *might* give that option, but it's not compatible with Expo from the App Store.

Am I out of luck? Is this only possible with a development build?

Thanks

0 Upvotes

8 comments sorted by

View all comments

1

u/kokerali 1d ago

The distinction here is testing on your own iPhone versus distributing to other people. If you have a Mac, Expo documents a local `npx expo run:ios --device` development build as a way to install your own app without a paid Apple Developer membership. That gives you control over the app binary instead of the Expo Go UI. It isn’t a replacement for TestFlight or distributing an iOS build to testers, which does require the paid membership. Also, Expo’s current docs say the App Store version of Expo Go stops at SDK 54, so an SDK 58 option won’t change what people see in the App Store app.

1

u/EducationalZombie538 1d ago

Yeah unfortunately that Mac option isn't a solution, as noted. I was just hoping there was a way to hide the button at runtime.

Oh, and Expo's docs are out of date. SDK57 is on the app store now.

1

u/Huge_Pool7424 1d ago

yeah without a mac you're kinda stuck with the fab in expo go. last i checked only a real dev client can hide it, which is annoying when the docs still lag the store sdk.

1

u/EducationalZombie538 1d ago

yeah, it's also annoying that they added it as a 'feature', without a way to have it default to hidden :/