Upgrading Auth Connect
note
Upgrading from a version before 7.0? Make sure you go through the upgrading to version 7 guide before continuing with this one.
Breaking Changes
Auth Connect 8.0 updates the minimum target SDK versions to align with Capacitor 8:
- Android: Target SDK 36
- iOS: Target iOS 15+
Important Note About Android
Auth Connect 8.0 requires JDK 21. Ensure your Android project is configured to use JDK 21.
Upgrade Steps
Install the latest version
Capacitor
_10npm install @ionic-enterprise/auth@latest
Update Variables
Update your variables.gradle file to use the new SDK versions:
_10ext {_10 minSdkVersion = 24_10 compileSdkVersion = 36_10 targetSdkVersion = 36_10 ..._10}
Capacitor 8 Support
Auth Connect 8 provides compatibility with Capacitor 8. If you are upgrading to Capacitor 8, please refer to the Capacitor 8 Upgrade Guide for general project updates.