-
Notifications
You must be signed in to change notification settings - Fork 22
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
Cannot Load iOS Configuration #15
Comments
hi @sean915213 Did you manage to resolve your issue? |
@alex-dokienko I did not. I moved on to another SDK I think. But have since moved on to other projects. |
hi, i'm just stuck because of the same issue. I'm just wondering if someone succeeded to fix or if this plugin is definitely dead. |
@gpelizzo |
@alex-dokienko |
yeah, it requires different configuration inside app registrations side on b2c portal, it's not the same as for android, you need to use tfp url structure + proper redirect urls, sorry won't be able to give more details.Another thing, debuging plugin on xcode side helped me to understand what is wrong. |
@alex-dokienko thanks again. I give myself a few more hours and then I give up and back to Firebase. I didn't think it would take so long, even more than for the Apple plugin ! |
hi, finally I found out ! The config json file was not copy from Resources folder. Adding the file into Xcode Copy Bundle Resources fixed the issue. |
I'm following the latest documents but cannot get past loading the config file to run on an iOS 16.2 simulator. I've placed a file at "ios/Resources/auth_config.json". Then implemented the following code in my main widget:
But the INIT callback is never invoked. Furthermore, if I uncomment the last 2 lines in the
handleRedirectFuture
continuation then the app crashes from a Swift nil reference. So my guess is the loading of the config file simply isn't happening. I've exposed this file as an asset in pubspec.yaml but it doesn't fix anything. Additional info:The text was updated successfully, but these errors were encountered: