-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Social Sign In not working on iOS devices #5523
Comments
We finally found what the issue. We completely got rid of Onesignal and Firebase integration from the project. I would like to know why amplify and firebase/onesignal can't coexist in a single project? |
Hi @kavienanj, I'm unsure what the collision was between the packages, but one cause of the obersved behavior is from not setting the iOS minimum deployment target. We have this process outlined in our docs here: https://docs.amplify.aws/gen1/flutter/start/project-setup/platform-setup. Can you confirm these properties were set when you saw the issue? |
@Equartey YESS, You are right. We tried that and it worked. Since we referred to this docs page we have missed that setup https://docs.amplify.aws/flutter/build-a-backend/auth/sign-in-with-web-ui/. In this page, it doesn't mention any platform setup for iOS. Now our app is working as expected. Thank you for your support. I am closing the issue. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Description
The SSO authentication is working perfectly on Android Devices and even iOS Simulator. But not in physical iOS devices. We couldn't find what could be the issue. We used Firebase and Onesignal services too. But even after stripping out the dependencies and making the app this simple the issue still persists.
When the sso button is clicked the prompt appears, but before we press continue its is getting dismissed immediately. After the first time repeated presses doesn't trigger anything.
The code is very simple,
The pubspec.yaml
Behavior on a Physical iOS 18 iPhone,
WhatsApp.Video.2024-10-03.at.17.53.26.mp4
Categories
Steps to Reproduce
Run the above code
Screenshots
No response
Platforms
Flutter Version
3.24.0
Amplify Flutter Version
2.4.1
Deployment Method
Amplify Gen 2
Schema
No response
The text was updated successfully, but these errors were encountered: