-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add authentication example #101
Conversation
See below |
AuthenticationExample/AuthenticationExample.xcodeproj/project.pbxproj
Outdated
Show resolved
Hide resolved
…pbxproj Co-authored-by: David Feinzimer <dfeinzimer@esri.com>
AuthenticationExample/AuthenticationExample/AuthenticationApp.swift
Outdated
Show resolved
Hide resolved
AuthenticationExample/AuthenticationExample/AuthenticationApp.swift
Outdated
Show resolved
Hide resolved
AuthenticationExample/AuthenticationExample/FeaturedMapsView.swift
Outdated
Show resolved
Hide resolved
AuthenticationExample/AuthenticationExample/PortalItemsView.swift
Outdated
Show resolved
Hide resolved
AuthenticationExample/AuthenticationExample/PortalItemsView.swift
Outdated
Show resolved
Hide resolved
Some general usability stuff:
|
Co-authored-by: David Feinzimer <dfeinzimer@esri.com>
…swift Co-authored-by: David Feinzimer <dfeinzimer@esri.com>
Is that consistent for you? I haven't seen that with Xcode 13.4 and iOS 15.5 simulator (iPhone 13 Pro). What is your config? |
@mhdostal thank you for reporting the bugs. I think they should be fixed now |
Xcode 14 beta 2, iPad Pro 9.7 iOS 15.5 simulator. Same behavior with iPhone 13 mini, iOS 16 simulator. |
maybe it's a bug in the Xcode beta. |
I don't see it in your latest bit of code, so it looks like it's OK. |
With the latest code, I'm seeing this in the log:
When I tap the "Cancel" button when signing in. iOS 15.5, iPad Pro 9.7" simulator; Xcode 14 beta 2. |
Anybody know how to set a breakpoint to break on this? |
its this offending code: .toolbar {
ToolbarItem(placement: .navigationBarTrailing) {
Button {
showProfile = true
} label: {
Image(systemName: "person.circle")
}
}
} It's the .toolbar {
// ToolbarItem(placement: .navigationBarTrailing) {
// Button {
// showProfile = true
// } label: {
// Image(systemName: "person.circle")
// }
// }
} However, commenting out the |
So some odd internal SwiftUI thing. I'm not concerned about it then. |
created an issue: #104 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the one suggestion.
Also, is there a good set of test credentials to test this with? I used my own for now but I don't have any items in my account.
Co-authored-by: David Feinzimer <dfeinzimer@esri.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason the sign out button doesn't work on the Xcode 14 beta simulators but it's fine on the Xcode 13 ones.
@mhdostal - I just need your re-approval please sir. |
Add authentication example
swift 2034