Expo App crashing in release build. Works fine in debug

I have integrated the react native sendbird ui kit in my Expo app and it’s working fine in Debug mode.
In Release mode the app keeps crashing as soon as it launches, as though sendbird ui kit initialization is throwing an error. This is the error stack trace -

TypeError: undefined is not a function
  at anonymous(node_modules/@sendbird/uikit-react-native/src/contexts/PlatformServiceCtx.tsx:34:null)
  at eventListener(node_modules/@sendbird/uikit-utils/src/hooks/react-native.ts:39:null)
  at anonymous(node_modules/react-native/Libraries/AppState/AppState.js:105:null)
  at apply(native)
  at emit(node_modules/react-native/Libraries/vendor/emitter/EventEmitter.js:115:null)
  at apply(native)
  at __callFunction(node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:428:null)
  at anonymous(node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:113:method)

// If problem, please fill out the below. If question, please delete.
[UIKit Version]
├─ @sendbird/uikit-react-native-foundation@3.2.0
└─ @sendbird/uikit-react-native@3.2.0

[React Native and Expo Versions]

[Reproduction Steps]
// Please provide reproduction steps and, if possible, code snippets.

Every time

[Current impact]
Not able to release the app

I’m facing the same crashing issue but not getting any error and works in debug mode
but when I comment on this platformServices
import * as ExpoNotifications from "expo-notifications"; notification: createExpoNotificationService(ExpoNotifications),
it works fine in non-debug mode but after entering into chat getting an APNsToken error
why this is happening any soln?