SwiftUI Example Please!
Are there any examples of implementing Intune into SwiftUI project?
Hey @chasemac, we do not have any Intune SwiftUI sample projects available at the moment.
Hi @vigavadi, I created a SwiftUI wrapper and tried to set everything up just like it is in the sample UIKit Chatr app. Unfortunately I'm unable to get the loginAndEnrollAccount method to do anything. The deRegisterAndUnenrollAccount method does seem to be working and firing off the delegate method.
On a potentially related note, the sample Chatr app doesn't have any reference to MSAL in the main project code base, but the framework is Embedded and Signed The login flow seems to work on the sample app, so I assume the MSAL setup isn't required. Am I missing something here?
@chasemac Have you followed these steps for integrating Intune SDK: https://docs.microsoft.com/en-us/mem/intune/developer/app-sdk-ios ?
+1 to creating a MS-provided SwiftUI example. We won't consider using this framework until there is SPM support as well as a SwiftUI quick start example.
Closing stale issues. Please reopen if you still need help with this.