File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,9 @@ const BROWSER_PATTERNS: BrowserPattern[] = [
3333 } ,
3434] ;
3535
36- // 테스트 용 (실제로는 우리의 앱 정보를 사용해야 함)
37- const NAVER_APP_INFO = {
38- androidPackage : 'com.nhn.android.search' ,
39- iosAppId : '393499958' ,
36+ const MEMEWIKI_APP_INFO = {
37+ androidPackage : 'com.mimu_bird_meme' ,
38+ iosAppId : '6751053974' ,
4039} ;
4140
4241const useInAppBrowserDetect = ( ) => {
@@ -64,14 +63,14 @@ const useInAppBrowserDetect = () => {
6463
6564 const moveToStore = useCallback ( ( ) => {
6665 if ( isAndroid ) {
67- window . location . href = `market://details?id=${ NAVER_APP_INFO . androidPackage } ` ;
66+ window . location . href = `market://details?id=${ MEMEWIKI_APP_INFO . androidPackage } ` ;
6867 } else if ( isIOS ) {
69- window . location . href = `itms-apps://itunes.apple.com/app/id${ NAVER_APP_INFO . iosAppId } ` ;
68+ window . location . href = `itms-apps://itunes.apple.com/app/id${ MEMEWIKI_APP_INFO . iosAppId } ` ;
7069 } else {
7170 // 폴백 URL (웹 버전)
7271 window . location . href = isAndroid
73- ? `https://play.google.com/store/apps/details?id=${ NAVER_APP_INFO . androidPackage } `
74- : `https://apps.apple.com/app/id${ NAVER_APP_INFO . iosAppId } ` ;
72+ ? `https://play.google.com/store/apps/details?id=${ MEMEWIKI_APP_INFO . androidPackage } `
73+ : `https://apps.apple.com/app/id${ MEMEWIKI_APP_INFO . iosAppId } ` ;
7574 }
7675 } , [ isAndroid , isIOS ] ) ;
7776
You can’t perform that action at this time.
0 commit comments