2022/03 11

[AndroidStudio] 사용중이던 Github 계정 바꾸기

IDE 경로 : AndroidStudio -> Preferences -> Version Control -> Github 순서대로 변경하려고 하는 계정을 선택하고 체크 표시를 선택하고 하단에 있는 Apply 를 클릭한다. terminal Push failed remote: Permission to 개인계정/BasicsCodelab.git denied to 회사. unable to access 'https://github.com/개인계정/BasicsCodelab.git/': The requested URL returned error: 403 AndroidStuiod 에 회사, 개인 Github 계정을 2개 등록시켜둔 상황. 여기서 개인 Repository 에 올릴려고 Push를 했으나 403 권한 문제로 소..

Dev/Android 2022.03.30

nodemon 이란 무엇인가?

nodemon nodemon is a tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected. nodemon 을 사용해서 node.js 기반으로 만들어진 어플리케이션을 동작할 경우, 파일이 변경될때마다 어플리케이션을 자동으로 재시작을 해준다. https://www.npmjs.com/package/nodemon nodemon Simple monitor script for use during development of a node.js app.. Latest version: 2.0.15, last pu..

Dev/Others 2022.03.28

[kotlin] Loop 문 사용 Tip

코틀린 반복문 Kotlin 언어의 Loop 문 사용하는 방법입니다. class Test { private val fruits = listOf("Apple", "Banana", "Cherry") @Test fun `Loop - 전통(?)적인 방식 사용`() { for (index in 0 .. fruits.size -1) { val fruit = fruits[index] println("$index: $fruit") } } @Test fun `Loop - until 사용`() { for (index in 0 until fruits.size) { val fruit = fruits[index] println("$index: $fruit") } } @Test fun `Loop - lastIndex 사용`() {..

Dev/Kotlin 2022.03.25

[iOS/Flutter]Push Notification 이 전송되지 않는 문제

해당 이슈는 Flutter 로 개발하면서 발생하는 이슈를 기록 합니다. [이슈] FCM의 Messaging 기능에서 테스트 메시지 전송 기능으로 테스트 메세지를 보내면 Push Notification 가 전달되는데, Firebase Functions 에서 혹은 로컬에서 Emulator 로 Firebase 모듈에서 제공하는 API 를 통해서 Push 를 보내면 iOS Device 에 Push Notification 오질 않는다. [해결] 원인은 정확하게 모르겠으나 결과론적으론 빌드 형태가 문제인걸로 판단된다. Debug 모드로 빌드를 하면 FCM의 Messaging 기능에서 테스트 메세지 전송 기능으로 테스트 Push Notification 은 동작하지만 서버에서 코드로는 Push Notification ..

Dev/iOS 2022.03.23

Xcode 와 iOS Device 번이 맞지 않아서 생기는 오류

원인 나의 실수(?)로 iPhone 버전을 최신으로 올려버려서 Xcode 버전이 호환이 되지 않는 문제가 발생했다.... 내용 Terminal 에서 flutter doctor 명령어로 나온 이슈 [✓] Connected device (1 available) ! Error: Failed to prepare device for development. This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your mac and device in order to correctly detect compatibi..

Dev/iOS 2022.03.17

Android 폰에 GMS 가 없다니?!

디바이스에 GMS 가 없을 경우에 Logcat 에 다음과 같이 찍혀나올 것이다. - Failed to find package android.content.pm.PackageManager$NameNotFoundException: com.google.android.gms - Google Play services missing or without correct permission. 처음에는 권한 이슈 클래스 문제인가 라고 생각했다. 그러나 자세히 보니 GMS 가 없다라는 것을 알게 되었다. 현재 중국에서 개발한 Androis OS 가 탑재된 하드웨어어는 깡통 Android OS 이다. 그래서 익히 알고 사용하고 있는 Google 서비스들이 없다. FCM 를 사용하해서 Push Message 를 받으려고 했다...

Dev/Android 2022.03.04