Lib-jitsi-meet + React Native + Simulator = Strophe request error

Hello,

I have already written a web application and everything works fine. Now I’m trying to make a mobile application with React Native and lib-jitsi-meet. I’m get polyfills and lib import from main jitsi-meet project.
Then I’m call connect from JitsiConnection it is error:

 LOG  2022-04-25T19:18:34.997Z [modules/xmpp/xmpp.js] (TIME) Strophe connecting:	 1650914314997
 DEBUG  2022-04-25T19:18:35.045Z [modules/RTC/RTCUtils.js] Available devices:  []
 ERROR  2022-04-25T19:18:35.048Z [modules/xmpp/strophe.util.js] Strophe: request id 1.1 error 0 happened
 WARN  2022-04-25T19:18:35.050Z [modules/xmpp/strophe.util.js] Strophe: request errored, status: 0, number of errors: 1
 DEBUG  2022-04-25T19:18:35.051Z [modules/xmpp/strophe.util.js] lastErrorStatus set to: 0
 ERROR  2022-04-25T19:18:35.080Z [modules/xmpp/strophe.util.js] Strophe: request id 2.2 error 0 happened
 WARN  2022-04-25T19:18:35.082Z [modules/xmpp/strophe.util.js] Strophe: request errored, status: 0, number of errors: 2
 DEBUG  2022-04-25T19:18:35.083Z [modules/xmpp/strophe.util.js] lastErrorStatus set to: 0
 ERROR  2022-04-25T19:18:43.090Z [modules/xmpp/strophe.util.js] Strophe: request id 3.3 error 0 happened
 WARN  2022-04-25T19:18:43.092Z [modules/xmpp/strophe.util.js] Strophe: request errored, status: 0, number of errors: 3
 DEBUG  2022-04-25T19:18:43.093Z [modules/xmpp/strophe.util.js] lastErrorStatus set to: 0
 ERROR  2022-04-25T19:19:10.101Z [modules/xmpp/strophe.util.js] Strophe: request id 4.4 error 0 happened
 WARN  2022-04-25T19:19:10.103Z [modules/xmpp/strophe.util.js] Strophe: request errored, status: 0, number of errors: 4
 DEBUG  2022-04-25T19:19:10.104Z [modules/xmpp/strophe.util.js] lastErrorStatus set to: 0
 LOG  2022-04-25T19:19:10.105Z [modules/xmpp/xmpp.js] (TIME) Strophe connfail[giving-up]:	 1650914350105
 LOG  2022-04-25T19:19:10.106Z [modules/statistics/statistics.js] {"type":"operational","action":"connection.failed","attributes":{"error_type":"connection.otherError","error_message":"giving-up"}}

My connection config:

export const defaultConnectionConfig = {
  hosts: {
    domain: `beta.meet.jit.si`,
    muc: `conference.beta.meet.jit.si`
  },
  bosh: `//beta.meet.jit.si/http-bind`,

  clientNode: `https://beta.meet.jit.si/jitsimeet`
};

The error occurs in the Android and iOS simulator. How to connect from the emulator?

Where did you get this from? This is wrong or maybe we dropped that config and is not used anymore …

Thank you! Removed this line but did not help.
I added a scheme indication to BOSH address and it worked. This is how the connection works with this config:

export const defaultConnectionConfig = {
  hosts: {
    domain: `beta.meet.jit.si`,
    muc: `conference.beta.meet.jit.si`,
  },
  bosh: `https://beta.meet.jit.si/http-bind`,
};