first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
/**
* Get the dev server address.
*/
import { PROTOCOL_VERSION } from './ProtocolVersion';
export function getConnectionInfo() {
const getDevServer = require('react-native/Libraries/Core/Devtools/getDevServer').default;
const devServerUrl = getDevServer().url;
const devServer = devServerUrl.replace(/^https?:\/\//, '').replace(/\/?$/, '');
return {
protocolVersion: PROTOCOL_VERSION,
sender: 'app',
devServer,
useWss: devServerUrl.startsWith('https://'),
};
}
//# sourceMappingURL=getConnectionInfo.native.js.map