일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Buffered channel
- Infra
- 배포 프로세스
- go
- intellij ide
- esbuild
- 코사인 유사성 메트릭스
- Kubernetes
- kube-prometheus-stack
- m4 pro
- elasticsearch
- gitops
- 사설 ip
- apollo router
- 오블완
- goland
- GoF
- javascript
- AWS
- 배포 파이프라인
- 티스토리챌린지
- UnBuffered channel
- cosine similarity metric
- golang
- typescript
- 디자인패턴
- Intellij
- http 413
- Logrus
- body size
Archives
- Today
- Total
Fall in IT.
Ionic3 Background Mode plugin 이슈 해결 본문
반응형
안녕하세요.
오늘은 Ionic3에서 Background Mode plugin 이슈 해결방법에 대해서 알아보겠습니다.
문제
- Ionic3 Background mode plugin을 사용할 경우 앱이 시작되자마자 종료되는 현상 발생
(https://ionicframework.com/docs/native/background-mode/)
분석
- cordova-plugin-ionic-webview plugin과의 충돌로 인해 발생하는 문제로 보임.
(해당 플러그인을 삭제하고 실행 했을때는 정상적으로 동작하는 것을 확인하였습니다.) - 하지만, webview 플러그인은 ionic3에서 기본적으로 필요한 plugin으로 삭제할 경우 ios에서 많은 문제가 발생.
해결방법
- Background Mode plugin 깃헙 페이지의 issue에서 관련 문제를 찾은 결과.
- Background Mode plugin 파일에서 '_(밑줄)한글자'만 삭제하면 해결됩니다. (아래 그림을 참고)
(변경 전: @"_requiresUserActionForMediaPlayback" / 변경 후: @"requiresUserActionForMediaPlayback")
참조
- https://ionicframework.com/docs/native/background-mode/
- https://github.com/katzer/cordova-plugin-background-mode/issues/307
- https://github.com/5uper/cordova-plugin-background-mode/commit/bf7d2dde66daea06d7b1bef3af08e8095f660739
모두 즐거운 코딩하세요~
반응형
'프레임워크 > Ionic Framework' 카테고리의 다른 글
쉘스크립트를 사용하여 Ionic Android Publishing 쉽게하기 (0) | 2018.03.16 |
---|---|
ionic 3 build --prod error Can't resolve './app.module.ngfactory' 해결법 (0) | 2017.12.02 |
Ionic 3에서 Moment.js 사용방법 (0) | 2017.11.27 |
ionic ios에서 숫자에 underline 제거 방법 (0) | 2017.11.06 |
ionic build error code 69 해결방법 (0) | 2016.09.20 |
Comments