GoogleSiginIn vs loginInAsync

The docs says to use logInAsync for Expo Client and GoogleSiginIn for standalone apps. But I use both Expo Client for development, and also build a standalone for production with the same codebase.

So, do I need something like
if (running in Expo Client) { use logInAsync }
else { use GoogleSiginIn }

If this correct? If so, how can I detect whether my code is running inside the Expo client or in standalone mode? I am building for Android, and using SDK 32.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.