# Can't resolve 'expo-secure-store' with Kinde Next.js SDK (fixed in 2.8.1)

## What's going on

Using @kinde-oss/kinde-auth-nextjs in an Expo/React Native context failed with Can't resolve 'expo-secure-store'. The SDK pulled in the Expo secure storage module unconditionally, so bundlers without Expo could not resolve it. The import chain broke the build even though the app never used Expo features directly.

## The verified fix

Fixed in @kinde-oss/kinde-auth-nextjs 2.8.1; upgrade to 2.8.1 or newer. A maintainer confirmed the fix and a reporter verified it works. The fix removed the unconditional import so non-Expo bundlers no longer try to resolve the Expo module.
Source: https://github.com/kinde-oss/kinde-auth-nextjs/issues/347

## How to use this

Take the question above and check if it matches what you're seeing. If it does, work through the verified fix step by step. Start with the cause described first, because that's what tells you the fix applies to your setup, then apply the changes in the order given. Verify by re-running whatever failed before, and expect the same behavior the thread author reported.
