일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
Tags
- Bastion Server
- golang
- argocd
- image resizing
- GoF
- Buffered channel
- System Design
- Golines
- Kubernetes
- GoF 디자인패턴
- notification system
- 시스템 설계
- Helm V3
- 컴포짓패턴
- UnBuffered channel
- tenneling
- 대규모 시스템 설계
- 컴포지트패턴
- go
- goroutine
- AWS Infra
- Logrus
- Live Template
- 디자인패턴
- 클래스 관계
- gitops
- 알림 시스템
- Infra
- AWS
- Lambda@Edge
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