Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Testing] Firebase Remote Config #51

Closed
L-j-h-c opened this issue Jun 10, 2022 · 1 comment
Closed

[Testing] Firebase Remote Config #51

L-j-h-c opened this issue Jun 10, 2022 · 1 comment
Assignees
Labels

Comments

@L-j-h-c
Copy link
Owner

L-j-h-c commented Jun 10, 2022

FireBase Remote Config이란?

Firebase Remote Config은 앱 업데이트 없이 Cloud에 저장된 정보를 통해 앱의 동작과 모양을 변경할 수 있는 서비스이다.

일반적으로 iOS 앱을 업데이트하고, 새로운 버전이 유저에게 반영되기까지 24~48시간 정도가 소요된다. 이는 즉각적인 공지사항이나 업데이트가 필요할 때 치명적으로 작용할 수 있고, 유저의 요청사항이 발생했을 때 빠른 대응이 불가능하게 만든다. 따라서 이러한 점을 보완하기 위해서 Firebase Remote Config을 이용하여 실시간 공지사항을 띄우거나 변경사항을 반영할 수 있다.

Firebase Remote Config는 기본적으로 클라우드 기반 key-value 저장소이다. 여러 parameter를 설정해 좋은 다음 해당 key의 value를 변경하면 client가 Cloud에 접속할 때 변경된 value를 불러와서 바뀐 값을 기반으로 앱에 변화를 줄 수 있다.

FireBase Remote Config의 활용

  • 실시간 공지 팝업
  • 앱 내 이벤트 메시지 띄우기
  • 버튼 색상이나 크기와 같은 간단한 변화
  • A/B Testing을 추가하여 사용자별로 다른 기능 제공

Remote Config Fetch 전략

Remote Config는 FireBase에 저장된 값을 Fetching해오기 때문에 이를 적용하는 데에 시간이 소요된다. 따라서 자연스럽게 Fetching을 하기 위한 방법들이 존재한다.

  • 앱을 처음 시작할 때 활성화 : 앱을 시작할 때마다 FireBase Remote Config을 Fetching해 온다.
  • 로딩 화면 뒤에서 활성화 : UI의 변경이 있는 Config의 경우에는 로딩 화면을 띄워놓고 Fetching을 한다.
  • 다음 시작 시에 새 값 불러오기 : 이전에 불러온 값은 저장해두고 앱을 시작할 때 활성화한다. 앱을 사용하는 동안 다음 시작에 적용할 값을 불러온다.
@L-j-h-c L-j-h-c self-assigned this Jun 10, 2022
@L-j-h-c
Copy link
Owner Author

L-j-h-c commented Jun 10, 2022

@L-j-h-c L-j-h-c closed this as completed Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant