Closed iamar1k92 closed 1 year ago
AppDeletegate.swift
import UIKit import Flutter
@UIApplicationMain @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool { GeneratedPluginRegistrant.register(with: self) return super.application(application, didFinishLaunchingWithOptions: launchOptions) } }
Again :
https://cheema-enterprises.web.app/#/
I want to make this website facebook login work in iOS device browser, either in safari or chrome.
It works fine in Android (https://cheema-enterprises.web.app) and desktop itself. Hope you'll get the problem. Let me know what more requirements for resolution
Also tested on latest iOS devices, iPhone 13 Pro Max & Simulator (Latest)
iOS 15.5 version
@iamar1k92 try this
physical device?
okay fixed, thank you!
This issue shouldn't be closed, On production you will force to your users to disable the popup blocker on Safari. Is it possible to implement a better workaround here? @darwin-morocho
This issue shouldn't be closed, On production you will force to your users to disable the popup blocker on Safari. Is it possible to implement a better workaround here? @darwin-morocho
We cannot disable the popup blocker. You can do something like "Before call to login check if the user doesn't have the facebook app installed then show a popup with instructions that the login flow will be handled in safari and the user must disable the blocker before perform the login flow"
What version are you using?
4.4.1
What OS and version are you using to local deploy your application?
macOS 12.5
What platforms are you seeing the problem on?
web
pubspec.yaml
Describe the Bug
i have deployed webapp on https://cheema-enterprises.web.app
Facebook login works perfectly on website (PC/Desktop) and also on android using the above website, but when i try to login from iOS device from same website, it doesn't work.
Expected Behavior
It should login from safari from iOS device on website https://cheema-enterprises.web.app, which works fine in android/Desktop.
To Reproduce
Try login from simulator or physical iOS device to login from facebook in the https://cheema-enterprises.web.app/#/ website
Relevant log output
No response
flutter doctor -v
Info.plist (iOS)
No response
Podfile (iOS)
AndroidManifest.xml
No response
MainActivity.java
No response
MainActivity.kt
No response
index.html
No response
Info.plist (macOS)
No response