🩸 삽질의 추억
-
[PWA Builder, Android] 앱 상단 URL바 삭제하기 | display : standalone/fullscreen 적용안됨🩸 삽질의 추억 2024. 8. 3. 23:44
상황:PWA Builder의 Package For Store -> Android, Gernerate Package -> Dowload Package를 통해서 apk 파일을 열어 앱을 실행했다. 그런데 이런 URL Bar가 뜸.. 커스텀 크롬 탭처럼..(Custom Chrome Tab, 이하 cct) 뿐만 아니라 display 옵션으로 standalone 혹은 fullscreen 등을 선택했는데도 적용이 되지 않고 cct 형식으로만 디스플레이된다.해결:assetlinks.json 의 파일을 .well-known 디렉토리에 업로드를 하고나서 앱을 열어야 한다. 이유:TWA 를 배포했을 때, 브라우저는 디지털 애셋 링크(https://your-website/.well-known/assetlinks.jso..
-
[signing.keystore] 비밀번호 올바르게 입력했는데 앱 패키징 안됨: Error generating app package🩸 삽질의 추억 2024. 8. 3. 11:47
상황: APK/AAB 패키징을 하는데 다음과 같은 에러가 발생했다. key/keystore 비밀번호, alias도 올바르게 입력했음. 다만 변수는.. signing.keystore 를 실수로 삭제했다가 휴지통에서 찾아 복구한 상태.결론:이거 붙잡고 여러 시도를 해보았지만 시간만 날리고 해결하지 못했다. 아무래도 한번 삭제하면 복구하더라도 keystore 내용이 손상되는 것 같다는 결론을 내렸다. 결국 키를 새로 발급하고 구글플레이스토어에도 업로드 키 재설정 요청을 하는 것으로 방향을 바꿨다. 참고)저 에러는 Package ID 수정 여부와 상관없음.
-
[카카오 로그인API] 요구 안드로이드API 및 iOS 버전임에도 로그인 안됨🩸 삽질의 추억 2024. 8. 1. 00:24
카카오 로그인API로 로그인을 시도하면 net::ERR_CERT_AUTHORITY_INVALID 에러가 발생상황:다만 문제는 일부 기기에서만 발생안드로이드/아이폰 모두 4년 이내의 최신(?) 기종에서는 문제X안드로이드1 - LG G5(8년 전 출시), 안드로이드 6.0 (API Level 23) 설치안드로이드2 - LG X300(7년 전 출시), 안드로이드 8.1 (API Level 27) 설치IOS 1 - 아이폰 6s(9년 전 출시), ios 15.8 설치위 세 기기에서는 로그인 후 홈화면으로 이동이 안되고 net::ERR_CERT_AUTHORITY_INVALID 에러가 발생 카카오 API 문서에 안드로이드는 API 23: Android 6.0(Marshmallow) 이상, iOS 13.0 이상 지원된..
-
[Google Play Console, PWA Builder] "Android App Bundle이 잘못된 키로 서명되었습니다."🩸 삽질의 추억 2024. 7. 1. 16:33
상황: pwa builder(https://www.pwabuilder.com)를 통해 웹앱화 하고,앱 출시를 위해 앱 번들(.aab) 업로드 했더니 다음과 같은 에러 발생.Android App Bundle이 잘못된 키로 서명되었습니다. 제대로 된 서명 키로 App Bundle에 서명한 다음 다시 시도해 보세요.SHA1: 9B:~~~~~~(숨김)~~~~~~:F0지문이 포함된 인증서로 App Bundle에 서명해야 하지만, 업로드한 App Bundle 서명에 사용된 인증서의 지문은SHA1: 08:~~~~~~(숨김)~~~~~~:7C입니다. /.well-known/assetlinks.json 파일 내용[ { "relation": ["delegate_permission/common.handle_all_url..
-
[GitHub Action] ".github/workflows 는 최상단에 둔다"🩸 삽질의 추억 2024. 5. 27. 04:12
상황_프로젝트 구조:rootㄴ SpringBootProject ㄴ src/main ..ㄴ README.mdㄴ .gitignore 즉, spring boot project != repository 인 상황이다. 그래도 항상 .github/workflows 는 최상단에 둔다-> root/.github/workflow/deploy.yml 삽질: 처음엔 프로젝트 파일 안에 뒀음..root/springBootProjectName/.github/workflows/deploy.yml
-
[.gitignore] 예외 처리 안됨🩸 삽질의 추억 2024. 5. 27. 04:04
상황: *.jar 은 커밋 안되게 하고 싶은데!gradle/wrapper/gradle-wrapper.jar 는 커밋되게 하고 싶음근데 룰이 안지켜짐 계속 파일이 ignore 됨(인텔리제이에서 갈색표시) // .gitignore !gradle/wrapper/gradle-wrapper.jar *.jar 해결: gitignore 는 마지막에 작성한 룰이 이전 룰을 덮는다. *.jar !gradle/wrapper/gradle-wrapper.jar 순서를 잘 지킵시다 반대로 적으면(내 처음 상황) *.jar 가 예외를 덮어버림.따라서 예외는 전체룰을 적은 다음에 작성하자 삽질한 이유:다른 사람이 했던 프로젝트였음.. 이전엔 잘 돌아가는 듯해서 당연히 이쪽엔 문제 없을거라 생각;
-
[CaffeineCache] "RemovalListener 는 GC가 실행된 이후 호출된다."🩸 삽질의 추억 2024. 5. 15. 02:04
상황:RemovalListener 가 NullpointerException을 뱉음2024-05-14T09:09:09.130Z WARN 1 --- [] [onPool-worker-6] c.g.b.caffeine.cache.BoundedLocalCache : Exception thrown by removal listener java.lang.NullPointerException: Cannot invoke "java.util.Queue.size()" because "messageQueue" is null @Bean public Cache> chatCache() { RemovalListener> listener = (String key, ConcurrentLinkedQueue queue..
-
[NCP, MongoDB] 인스턴스 랜섬웨어 감염🩸 삽질의 추억 2024. 5. 14. 13:32
목차상황사건의 발단구체적인 상황들추측해결그 외 트러블슈팅상황: 사건의 발단팀원들로부터 디비 밀었냐는 연락을 받음 --> 안밀었는데?스택오버플로우 검색해보니 index에 expireDate 설정하는게 있다고함 --> 그런거 안했는데?이상하군. 하고 디비랑 컬렉션 다시 만듦몇시간 뒤에 들어가보니까 또 없어져있음Gui 로 접속해보니 못보던 디비 발견비트코인 내노란다..랜섬웨어다.. 구체적인 상황1-1. 해당 서버 접속할 땐 공유 와이파이 사용 한 번도x 계속 집 와이파이로만 개발. 1-2. private team repo 에서 작업1-3. 나 포함 모든 팀원이 ssh pem 키나 비밀번호를 어디 유출하거나 올린적이 없음.1-4. 여러 인스턴스가 있고 여러 스프링부트프로젝트와 몽고디비, mysql, red..