Expo App crashing in release build/non debug mode. Works fine in debug

Facing the crashing issue in non-debug mode as well as release build and not getting any errors
and when I turn on debug mode it works fine
but in non-debug mode, when I comment below lines of code which are in 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
Followed the same steps as per Send your first message

// If problem, please fill out the below. If question, please delete.
[UIKit Version]
// What version of the SDK are you using?
@sendbird/chat”: “^4.10.10”,
@sendbird/uikit-react-native”: “^3.4.1”,

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

// How frequently is this issue occurring?
Every time

[Current impact]
// How is this currently impacting your implementation?