Platform.isIOS not workin on real iOS device

Viewed 100

I made a login with Apple on my login screen, and I made an if statement to check if the platform is iOS to show it in iOS devices.

The problem is when I run the app on the iOS simulator the button shows up, but when I run the app on a real device the button does not show up.

if (Platform.isIOS)
     _LoginWithAppleIdWidget()
0 Answers
Related