$full_url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https://" : "http://") . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; //https 도메인 redirect 하기 if (strpos($full_url, "test.com") !== false) { // header("Location: https://www.aaaaa.com".$_SERVER['REQUEST_URI']); exit; } ?>
오류코드 Uncaught TypeError: Cannot read properties of undefined (reading 'top') 첫번째 해결 방안 (실패) if ('top' in $(el_target).offset()) { // 'top' 속성이 존재하는 경우에 대한 처리 // ... } else { // 'top' 속성이 존재하지 않는 경우에 대한 처리 // ... } 실패 이유 : 1) 오류코드 발생 2) Uncaught TypeError: Cannot use 'in' operator to search for 'top' in undefined 3) $(el_target).offset() 값 자체가 undefined이기때문에 두번째 해결 방안 (성공) var offset = $(el_targe..
WTFPL - Do What The Xuck You Want To Public License "니가 별G랄 다해도 되는 라이센스"
원본 https://bundw.tistory.com/65 Cordova(코르도바) Hosted WebApp에서 Plugin 연동하기 https://bundw.tistory.com/64 Cordova(코르도바) Hybrid Hosted WebApp(하이브리드 웹앱) 베이스 만들기 이미 모바일 홈페이지가 있으며 앱으로 씌워서 스토어에 올리고자 할 경우, 웹앱의 기본이 되는 프로젝트 bundw.tistory.com 백업용 프로젝트의 www/js 폴더에 host.js 파일을 생성하고 아래 내용을 추가합니다. var app = { initialize: function() { this.bindEvents(); }, bindEvents: function() { document.addEventListener('devi..
참고자료 https://bundw.tistory.com/66 Cordova(코르도바) 실행 로딩화면 Splashscreen(스플래시 스크린) 적용 Cordova의 Splashscreen는 Native App과 마찬가지로 Portrait(세로)와 Landscape(가로)를 지원합니다. 그리고 해상도 별로 각 다른 크기의 이미지를 지정해야 합니다. Android는 Portrait와 Landscape별로 이미지.. bundw.tistory.com 1. 스플래시 이미지 준비 / 경로 - land는 가로화면용 - port는 세로화면용 (없어도됨) config.xml - 스플래시 이미지 경로 config.xml - 스플래시 설정 SplashScreen : 스플래시 사용 AutoHideSplashScreen : 자동..
보호되어 있는 글입니다.
구글스토어 상단 이미지 휴대폰 스샷 이미지 레거시 아이콘 ldpi : 36 x 36px mdpi : 48px*48px hdpi : 72px * 72px xhdpi : 96px * 96px xxhdpi : 144px * 144px xxxhdpi : 192px * 192px +구글스토어용 512*512px 적응형 아이콘 mdpi : 108px*108px hdpi : 162px * 162px xhdpi : 216px * 216px xxhdpi : 324px * 324px
https://curl.trillworks.com/#node
https://stackoverflow.com/questions/56766035/how-to-implement-pull-to-refresh-on-existing-hybrid-app-built-using-cordova
상위로 몇개만 내림차순 정렬 du -h --max-depth=1 /var/log | sort -hr 참고 https://superuser.com/questions/1596021/what-is-dev-ploop15234p1-on-my-vps
에러코드 fcm The "chunk" argument must be of type string or an instance of Buffer or Uint8Array 해결방법 // change var strings = fs.readFileSync("platforms/android/res/values/strings.xml").toString(); // to var strings = fs.readFileSync("platforms/android/app/src/main/res/values/strings.xml").toString(); // AND //change fs.writeFileSync("platforms/android/res/values/strings.xml", strings); //to fs.write..