Remove web platform support

The web platform is no longer needed, so remove related code.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-23 11:01:04 +00:00
parent 1ce73d9354
commit 9968780732
3 changed files with 8 additions and 15 deletions

View File

@@ -19,21 +19,21 @@ interface BuildInfoPlugin {
// 기본 플러그인 구현
const BuildInfo: BuildInfoPlugin = {
getBuildInfo: async () => {
console.log('BuildInfo.getBuildInfo() 호출됨 (웹 플러그인)');
console.log('BuildInfo.getBuildInfo() 호출됨 (기본 구현)');
try {
// 환경에서 앱 버전 정보를 가져오는 로직
// 네이티브 환경에서 앱 버전 정보를 가져오는 로직
// 실제 네이티브 환경에서는 이 구현이 네이티브 코드로 대체됨
// android/version.properties 또는 ios의 Info.plist에서
// 설정된 값을 반환하는 네이티브 구현이 런타임에 이 함수를 대체함
// 개발 환경을 위한 기본값
// 네이티브 구현이 없을 경우를 위한 기본값
return {
versionName: '1.0.1',
versionCode: 1,
buildNumber: 2,
platform: 'web',
buildNumber: 3,
platform: 'native',
isDefault: true
};
} catch (error) {
@@ -49,6 +49,6 @@ const BuildInfo: BuildInfoPlugin = {
}
};
// 필요시 웹과 네이티브 환경에서 다르게 동작하도록 설정
// 필요시 네이티브 환경에서 다르게 동작하도록 설정
// 실제 네이티브 플러그인은 runtime에 교체됨
export default BuildInfo;