본문 바로가기

분류 전체보기54

Flutter 버전 업데이트 시 pub-cache 에러 발생 시 flutter 버전을 upgrade 한 후 아래와 같이 에러가 발생했을 때 확인해보니 .pub-cache 내에 있는 package (위 스크린샷에서는 get-3.8.0) 에서 Theme 사용시 파라미터가 없다는 에러였다. pubspec.yaml 파일에서는 get-3.8.0 을 사용하지 않았지만, 사용하고 있는 package에서 dependency로 사용하고 있는듯 하다. pubspec.lock 파일을 보니 get 이라는 package가 명시되어 있었고, 버전은 3.8.0 이었다. 사용하고 있는 package에 대응하여 최신 버전으로 반영이 되어 있지 않을 수 있다고 생각되어 pubspec.lock 파일을 삭제 후 flutter pub get 명령어를 이용하여 pubspec.lock 을 갱신해주니 정상적으.. 2021. 3. 5.
[iOS] 기본 - Property List (프로프티 리스트) Info.plist에 있는 설정 정보들은 앱이 동작하는데 큰 영향을 미치는 파일이다. 상세한 내용 : 애플 문서 - Information Property List Key Reference https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Introduction/Introduction.html About Info.plist Keys and Values About Info.plist Keys and Values To provide a better experience for users, iOS and macOS rely on the presence of special metadata i.. 2020. 4. 24.
[Push Notification] 디바이스 토큰 변경 조건 APN은 다음과 같은 여러 가지 이유로 새로운 장치 토큰을 발행 할 수 있습니다. 사용자가 새 기기에 앱을 설치 사용자가 백업에서 장치를 복원 사용자가 운영 체제를 다시 설치합니다 다른 시스템 정의 이벤트 결과적으로, 앱은 APN-to-Device Connection Trust 및 Device Tokens에 설명 된대로 시작시 디바이스 토큰을 요청해야합니다. 출처 https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/APNSOverview.html Local and Remote Notification Programming Guide: APNs Overview Ap.. 2020. 4. 9.
[iOS] 시스템 권한 페이지로 이동 위 스크린샷과 같이 아이폰 [설정] 에서 나의 앱의 설정 페이지로 가는 코드 (단순한) if let url = URL(string: UIApplication.openSettingsURLString) { if #available(iOS 10.0, *) { UIApplication.shared.open(url, options: [:], completionHandler: nil) } else { UIApplication.shared.openURL(url) } } 2019. 12. 9.