diff --git a/packages/mobile/src/components/web-app-account-sync/WebAppAccountSync.tsx b/packages/mobile/src/components/web-app-account-sync/WebAppAccountSync.tsx index 463859049c..aea3d41b3b 100644 --- a/packages/mobile/src/components/web-app-account-sync/WebAppAccountSync.tsx +++ b/packages/mobile/src/components/web-app-account-sync/WebAppAccountSync.tsx @@ -2,7 +2,6 @@ import { getErrorMessage } from '@audius/common' import AsyncStorage from '@react-native-async-storage/async-storage' import type { NativeSyntheticEvent } from 'react-native' import { View } from 'react-native' -import Config from 'react-native-config' import StaticServer from 'react-native-static-server' import { WebView } from 'react-native-webview' import type { WebViewMessage } from 'react-native-webview/lib/WebViewTypes' @@ -10,8 +9,6 @@ import { useAsync } from 'react-use' import { ENTROPY_KEY } from 'app/store/account/sagas' -const OLD_WEB_APP_STATIC_SERVER_PORT = Config.OLD_WEB_APP_STATIC_SERVER_PORT - const injected = ` (function() { const entropy = window.localStorage.getItem('${ENTROPY_KEY}') @@ -35,7 +32,8 @@ export const WebAppAccountSync = (props: WebAppAccountSyncProps) => { const { setIsReadyToSetupBackend } = props const { value: uri, error } = useAsync(async () => { - const server = new StaticServer(OLD_WEB_APP_STATIC_SERVER_PORT, { + // Hardcoding port here to test bonce app loading issue + const server = new StaticServer(3101, { localOnly: true, keepAlive: true })