iOS 设置
Copy a setup prompt with the install steps and the full markdown guide for this plugin.
iOS 支持矩阵
iOS 支持矩阵- Intune iOS SDK 由此插件打包:
21.5.1 - 最低 iOS 版本:
17.0 - 推荐 Xcode 行:
26.x
Ionic 的 Intune 文档目前指出,使用 Xcode 26 构建的应用程序必须使用 Intune iOS SDK,从 2026 年 1 月 19 日开始。这款插件已经采用了更新的 SDK 行。 21.1.0+ starting on January 19, 2026. This plugin is already on that newer SDK line.
Section titled “1. 将 Intune 和 MSAL 设置添加到 Info.plist” Info.plist
添加一个字典: IntuneMAMSettings 复制到剪贴板
<key>IntuneMAMSettings</key><dict> <key>ADALClientId</key> <string>YOUR_CLIENT_ID</string> <key>ADALRedirectUri</key> <string>msauth.com.example.app://auth</string> <key>ADALAuthority</key> <string>https://login.microsoftonline.com/common</string></dict>The plugin reads:
ADALClientIdADALRedirectUriADALRedirectScheme如果您更喜欢只存储方案,则使用以下内容作为回退ADALAuthority作为可选的权威覆盖
2. 将 MSAL 回调转发到 AppDelegate
标题:2. 将 MSAL 回调转发到 AppDelegateimport MSAL
func application( _ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool { return MSALPublicClientApplication.handleMSALResponse( url, sourceApplication: options[.sourceApplication] as? String )}3. 配置 URL 方案和特权
标题:3. 配置 URL 方案和特权遵循 Microsoft 和 Ionic 的 Intune 指南:
- 这个
msauth...重定向 URI 方案 - 钥匙串共享/钥匙串访问组
LSApplicationQueriesSchemesNSFaceIDUsageDescriptionIf your flow needs biometrics
These are app-specific and cannot be inferred by the plugin.
4. 运行 IntuneMAMConfigurator
Section titled “4. 运行 IntuneMAMConfigurator”微软要求运行 IntuneMAMConfigurator against your final app Info.plist and entitlements. Use the latest configurator from the official Intune iOS SDK and rerun it whenever those files materially change.
5. 保持部署目标一致
Section titled “5. 保持部署目标一致”由于内置的 Intune iOS SDK 位于当前 21.x line, your app target should remain at iOS 17.0 或更高版本。
继续从iOS设置
iOS设置的标题:继续如果您正在使用 iOS设置 来规划原生插件工作,连接它与 使用@capgo/capacitor-intune 为原生能力在使用@capgo/capacitor-intune中 Capgo插件目录 为产品工作流程在Capgo插件目录中 Capacitor由Capgo的插件 为Capacitor由Capgo的插件实现细节 添加或更新插件 对于在添加或更新插件中实现详细信息 Ionic Enterprise 插件替代品 对于 Ionic Enterprise 插件替代品中的产品工作流