react native gps foreground service - android, kotlin (1)

react native 에서 gps 트래킹을 해야한다. 앱이 백그라운드에 있어도 동작하도록 네이티브 모듈을 만드는 것만 해도 많이 안하다보니 까다로운데 gps + 서비스 동작을 해야한다니. 기본으로 돌아가기로 했다. 일단 안드로이드 앱에서 GPS 트래킹하는 코드부터 시도해보았다. ### MainActivity.kt ``` package com.example.gpstracker import android.annotation.SuppressLint import android.content.Context import android.content.pm.PackageManager import android.location.LocationListener import android.location.LocationManager import android.os.Bundle import android.util.Log import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material3.Button import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Surface import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.core.app.ActivityCompat import com.example.gpstracker.ui.theme.GpsTrackerTheme val T

한국에서 외국인과 결혼하기 - How to get married with global girlfriend in Korea

중요: 해당 포스팅은 참고용으로 2022년 7월 15일을 기준으로 작성되었습니다. 모든 서식은 하이코리아에서 다운받으시고, 시간이 지남에 따라 작성 방식은 변경될 수 있습니다.

 NOTE : All I wrote and reference here is from July 15th, 2022. You must download all the documents you need from 'Hi Korea' official website, because as time goes by how to write the documents can change.

NOTE : This is for writing Marriage Registration IN KOREA 


혼인신고





제가 직접 작성하면서 헷갈렸던 부분을 위주로 설명합니다.
I will explain below about the parts I confused.

해당 문서는 모두! 한글로 작성해야 합니다. 처음에 저는 아내의 이름을 외국인 등록증에 적힌 그대로 적었다가 한글로 수정해야 했어요. 증인중에 한명을 아내 친구로 했는데 증인 이름 역시 한글로 적어야 합니다.
You must write everything in KOREAN. At the first time, I also wrote my wife's name in English as same as in Alien Registration Card and I fixed it in Korean. One of my witness is wife's friend. I wrote her name in English but I fixed it too.

등록기준지는 가족관계증명서를 떼면 나옵니다. 아버지, 어머니, 본인 모두 각각 조회해봐야 해요.
You can get your 등록기준지 from your Family Relations Certificate. You should check yours, your father's and your mother's each.

저는 증인중 한명을 아내의 친구(미국인)으로 했는데, 외국인 등록증에 적힌 주민번호를 다 작성했음에도 시스템이 연동이 안되어있어서 구청에서 확인을 못하더라구요. 문서에 들어가는 사람 중 외국인이 있는 경우, 외국인 등록증 사본이 필요합니다. 저는 그 친구한테 카톡으로 외국인 등록증 사진을 찍어달라고 요청해서 구청 직원분께 확인시켜드렸습니다.
As I said, one of my witness is wife's friend who is from U.S. In this case, you need their ARC copy even though you write their resident registration number in the document. I didn't know that either. When staff asked me that copy, I asked her to send me the picture of her ARC using kakao talk.

제출인은 결혼 당사자가 직접 문서를 제출하지 않는 경우에만 작성합니다.
Don't write 제출인 part. This is only required if the other person which is not you or your partner report this document.

제 아내는 미국인 입니다. 미국인의 경우 대한민국 미 대사관에 가서 혼인성립요건 구비증명서 (미혼자 증명서) 를 받아오면 됩니다. 구청에 제출할 때에는 해당 문서를 한글로 번역한 번역본도 같이 제출해야하는데, 이는 공증이 필요한 문서가 아니어서 직접 번역을 해도 됩니다. 아내가 해당 문서를 받아왔을 때에는 번역 문서도 같이 주더라구요. (미 대사관 방문은 예약이 필요하니 최대한 빠르게 방문 일정을 예약하시기 바랍니다. 저희의 경우엔 가장 빠른 예약이 1달 뒤였습니다.)
My wife is American. U.S. citizen can take 혼인성립요건 구비증명서 (Affidavit of Eligibility for Marriage) from U.S. Embassy in Korea. You also need Korean translation version of Affidavit of Eligibility for Marriage. Korean translation version doesn't have to be official, so you can translate by yourself. In my case, U.S. Embassy gave us translation version too. P.S. Check your embassy for an appointment early before you plan to register, as many have a long wait time for an appointment. For example, the soonest appointment my wife was able to make was 1 month away, due to the service she needed is only open for a small amount of time each week. 

한국인의 경우 신분증 (주민등록증, 운전면허증 등) 원본을 제출하고
외국인의 경우 외국인 등록증여권 원본 둘 다! 제출합니다. (저의 경우엔 구청 직원분이 두가지 다 요청하셨습니다.)
You need your and your partner's ID card. For Korean, it would be 주민등록증 or driver's license etc. For foreigner, they need ARC AND passport both. (Staff asked me both. So please prepare both just in case)

수정테이프는 사용불가하나 수정 시 취소선을 긋고 옆에 수정한 사람의 서명을 하게 되어있습니다.
You can't use correction tape or white out but you can correct your information using strikethrough. After using strikethrough, you must sign your name next to strikethrough.

혹시 모르니 2~3부 준비하여 증인 서명을 모두 받아가세요. 그렇지 않으면 문서가 훼손되거나 많이 수정해야할 경우 증인 서명을 다시 받아야하는 불상사가 생길 수 있습니다.
Bring 2~3 more copies with witness' signature, or you should have to make them sign again if your document becomes damaged or you need to edit the document too much. Having several blank copies with only the witness' signatures is a type of insurance incase a mistake happens on a document. 

댓글

이 블로그의 인기 게시물

Operating System Concept

카카오 내비 리엑트 네이티브 모듈 만들기 ft.코틀린

Operating System Concepts 9th