-
Notifications
You must be signed in to change notification settings - Fork 115
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
iOS Error #95
Comments
same error here. Auth works on web and on iOS i get infinite
|
Update, It seems to work (in terms of displaying a webpage) on Android, so the error seems to be just for iOS. |
Hi, the line As you get this in XCode there might be something wrong with your config.
If these steps do not help, please provide a sample repository so I can have a look. |
This issue is maybe a duplicate of #94 because it seems that the app and the Identity Server runs on the same host. |
tried your steps and do not help
i'll provide a sample repo |
Hello, Running the sync command (
How would I resolve this? |
Hi, TL;DR These are the steps, that I do if there are missing iOS dependencies.
If this doesnot work, plz provide a sample repo. |
Okay I can confirm that has now made the iOS app work in terms of displaying the browser when pressing authenticate. Thank you for your help, I will leave this ticket open for a little in-case the other person has not got it working. |
@tomfebry I think it is save to close this one, as your problem is solved and the other user person @bialabs does not reply. |
@moberwasserlechner Agreed. |
Description
Hello, I seem to be having an issue with iOS and opening the webpage to login, it is all working fine on the web and I have not yet managed to test it for Android.
When I press my login button which calls the Authenticate method, on the web a browser window will show to ask for login credentials, on iOS, no webpage is shown, only an error in XCode.
The error in XCode when I attempt to call the authenticate method is:
This goes to this line of code (first line):
I am using the latest iOS Simulator (iPhone 11).
I can only assume that 'windowHandle' is null for some reason?
Capacitor version:
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 2.1.0
@capacitor/core: 2.1.0
@capacitor/android: 2.1.0
@capacitor/electron: 2.1.0
@capacitor/ios: 2.1.0
Installed Dependencies:
@capacitor/electron not installed
@capacitor/ios 2.0.2
@capacitor/core 2.0.2
@capacitor/cli 2.0.2
@capacitor/android 2.0.2
[success] Android looking great! 👌
Found 1 Capacitor plugin for ios:
@byteowls/capacitor-oauth2 (2.0.0)
[success] iOS looking great! 👌
Library version:
OAuth Provider:
Your Plugin Configuration
The text was updated successfully, but these errors were encountered: