You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const initializeAbhaSocket = () => {
return new Promise(async (resolve, reject) => {
try {
// Using different URLs for staging and production modes
let url = isRelease ? "wss://dummy-production-url.com" : "wss://dummy-staging-url.com";
abhaSocket = null;
export var abhaSocket;
const initializeAbhaSocket = () => {
return new Promise(async (resolve, reject) => {
try {
// Using different URLs for staging and production modes
let url = isRelease ? "wss://dummy-production-url.com" : "wss://dummy-staging-url.com";
abhaSocket = null;
});
};
// Exporting the abhaSocket for use in other parts of the application
export { initializeAbhaSocket };
// Note: This WebSocket connection works fine in release mode, but in debug mode,
// it fails to connect and logs errors related to certificates.
The text was updated successfully, but these errors were encountered: