본문 바로가기

💻 내 소개 안녕하세요 엄청짱 프로그래머 손다빈 입니다.
  • 나이 : 96년생
  • 특이사항 : 조금씩 늙어가고 있음
  • 좋아하는 음식 : 햄부기, 치킨, 고기

🥷기술
Unity
Godot
Cpp
Javascript
D3
Vue

🐱 우리집 고양이 소개
츄르 먹은 후 츄르 먹기 전
  • 이름 : 콜라
  • 나이 : 14년생
  • 종 : Nado moreum

📱 개인 프로젝트
🏢 참여한 프로젝트
🌱 내 잔디밭
3 contributions on April 14th.5 contributions on April 21st.No contributions on April 28th.No contributions on May 5th.1 contribution on May 12th.1 contribution on May 19th.No contributions on May 26th.3 contributions on June 2nd.4 contributions on June 9th.No contributions on June 16th.1 contribution on June 23rd.4 contributions on June 30th.4 contributions on July 7th.No contributions on July 14th.1 contribution on July 21st.1 contribution on July 28th.1 contribution on August 4th.5 contributions on August 11th.1 contribution on August 18th.1 contribution on August 25th.5 contributions on September 1st.8 contributions on September 8th.No contributions on September 15th.1 contribution on September 22nd.3 contributions on September 29th.11 contributions on October 6th.3 contributions on October 13th.1 contribution on October 20th.5 contributions on October 27th.1 contribution on November 3rd.2 contributions on November 10th.4 contributions on November 17th.4 contributions on November 24th.5 contributions on December 1st.9 contributions on December 8th.No contributions on December 15th.4 contributions on December 22nd.1 contribution on December 29th.15 contributions on January 5th.5 contributions on January 12th.2 contributions on January 19th.No contributions on January 26th.6 contributions on February 2nd.No contributions on February 9th.8 contributions on February 16th.6 contributions on February 23rd.5 contributions on March 2nd.5 contributions on March 9th.11 contributions on March 16th.3 contributions on March 23rd.No contributions on March 30th.11 contributions on April 6th.14 contributions on April 13th.2 contributions on April 15th.1 contribution on April 22nd.2 contributions on April 29th.2 contributions on May 6th.5 contributions on May 13th.3 contributions on May 20th.1 contribution on May 27th.No contributions on June 3rd.1 contribution on June 10th.No contributions on June 17th.5 contributions on June 24th.1 contribution on July 1st.1 contribution on July 8th.3 contributions on July 15th.2 contributions on July 22nd.3 contributions on July 29th.4 contributions on August 5th.2 contributions on August 12th.1 contribution on August 19th.2 contributions on August 26th.No contributions on September 2nd.No contributions on September 9th.No contributions on September 16th.No contributions on September 23rd.2 contributions on September 30th.No contributions on October 7th.No contributions on October 14th.2 contributions on October 21st.No contributions on October 28th.3 contributions on November 4th.2 contributions on November 11th.1 contribution on November 18th.No contributions on November 25th.No contributions on December 2nd.3 contributions on December 9th.No contributions on December 16th.12 contributions on December 23rd.2 contributions on December 30th.No contributions on January 6th.5 contributions on January 13th.2 contributions on January 20th.No contributions on January 27th.No contributions on February 3rd.No contributions on February 10th.9 contributions on February 17th.No contributions on February 24th.6 contributions on March 3rd.No contributions on March 10th.No contributions on March 17th.No contributions on March 24th.No contributions on March 31st.No contributions on April 7th.No contributions on April 14th.6 contributions on April 16th.1 contribution on April 23rd.No contributions on April 30th.No contributions on May 7th.No contributions on May 14th.2 contributions on May 21st.1 contribution on May 28th.4 contributions on June 4th.No contributions on June 11th.1 contribution on June 18th.3 contributions on June 25th.1 contribution on July 2nd.No contributions on July 9th.No contributions on July 16th.No contributions on July 23rd.1 contribution on July 30th.3 contributions on August 6th.2 contributions on August 13th.1 contribution on August 20th.3 contributions on August 27th.1 contribution on September 3rd.No contributions on September 10th.No contributions on September 17th.No contributions on September 24th.No contributions on October 1st.No contributions on October 8th.No contributions on October 15th.No contributions on October 22nd.No contributions on October 29th.5 contributions on November 5th.2 contributions on November 12th.2 contributions on November 19th.1 contribution on November 26th.5 contributions on December 3rd.2 contributions on December 10th.No contributions on December 17th.No contributions on December 24th.4 contributions on December 31st.11 contributions on January 7th.1 contribution on January 14th.No contributions on January 21st.No contributions on January 28th.No contributions on February 4th.1 contribution on February 11th.2 contributions on February 18th.2 contributions on February 25th.1 contribution on March 4th.4 contributions on March 11th.No contributions on March 18th.No contributions on March 25th.No contributions on April 1st.No contributions on April 8th.No contributions on April 15th.1 contribution on April 17th.4 contributions on April 24th.10 contributions on May 1st.1 contribution on May 8th.No contributions on May 15th.1 contribution on May 22nd.No contributions on May 29th.2 contributions on June 5th.4 contributions on June 12th.No contributions on June 19th.2 contributions on June 26th.1 contribution on July 3rd.1 contribution on July 10th.No contributions on July 17th.No contributions on July 24th.No contributions on July 31st.1 contribution on August 7th.2 contributions on August 14th.2 contributions on August 21st.No contributions on August 28th.No contributions on September 4th.6 contributions on September 11th.No contributions on September 18th.No contributions on September 25th.No contributions on October 2nd.No contributions on October 9th.No contributions on October 16th.4 contributions on October 23rd.No contributions on October 30th.3 contributions on November 6th.3 contributions on November 13th.No contributions on November 20th.1 contribution on November 27th.7 contributions on December 4th.1 contribution on December 11th.No contributions on December 18th.No contributions on December 25th.10 contributions on January 1st.No contributions on January 8th.No contributions on January 15th.1 contribution on January 22nd.1 contribution on January 29th.No contributions on February 5th.5 contributions on February 12th.12 contributions on February 19th.No contributions on February 26th.1 contribution on March 5th.2 contributions on March 12th.1 contribution on March 19th.No contributions on March 26th.3 contributions on April 2nd.No contributions on April 9th.No contributions on April 18th.1 contribution on April 25th.1 contribution on May 2nd.4 contributions on May 9th.No contributions on May 16th.6 contributions on May 23rd.No contributions on May 30th.No contributions on June 6th.1 contribution on June 13th.No contributions on June 20th.No contributions on June 27th.No contributions on July 4th.No contributions on July 11th.1 contribution on July 18th.No contributions on July 25th.2 contributions on August 1st.1 contribution on August 8th.No contributions on August 15th.1 contribution on August 22nd.1 contribution on August 29th.No contributions on September 5th.No contributions on September 12th.10 contributions on September 19th.No contributions on September 26th.1 contribution on October 3rd.No contributions on October 10th.1 contribution on October 17th.2 contributions on October 24th.No contributions on October 31st.No contributions on November 7th.2 contributions on November 14th.1 contribution on November 21st.3 contributions on November 28th.4 contributions on December 5th.1 contribution on December 12th.1 contribution on December 19th.8 contributions on December 26th.6 contributions on January 2nd.7 contributions on January 9th.3 contributions on January 16th.No contributions on January 23rd.No contributions on January 30th.No contributions on February 6th.19 contributions on February 13th.7 contributions on February 20th.3 contributions on February 27th.1 contribution on March 6th.6 contributions on March 13th.No contributions on March 20th.No contributions on March 27th.9 contributions on April 3rd.2 contributions on April 10th.No contributions on April 19th.2 contributions on April 26th.2 contributions on May 3rd.2 contributions on May 10th.2 contributions on May 17th.1 contribution on May 24th.No contributions on May 31st.No contributions on June 7th.No contributions on June 14th.1 contribution on June 21st.No contributions on June 28th.1 contribution on July 5th.No contributions on July 12th.No contributions on July 19th.No contributions on July 26th.1 contribution on August 2nd.No contributions on August 9th.No contributions on August 16th.No contributions on August 23rd.No contributions on August 30th.No contributions on September 6th.No contributions on September 13th.1 contribution on September 20th.No contributions on September 27th.5 contributions on October 4th.No contributions on October 11th.1 contribution on October 18th.No contributions on October 25th.No contributions on November 1st.1 contribution on November 8th.2 contributions on November 15th.4 contributions on November 22nd.No contributions on November 29th.No contributions on December 6th.No contributions on December 13th.No contributions on December 20th.1 contribution on December 27th.1 contribution on January 3rd.No contributions on January 10th.2 contributions on January 17th.No contributions on January 24th.No contributions on January 31st.No contributions on February 7th.No contributions on February 14th.No contributions on February 21st.No contributions on February 28th.No contributions on March 7th.4 contributions on March 14th.3 contributions on March 21st.No contributions on March 28th.No contributions on April 4th.No contributions on April 11th.No contributions on April 20th.4 contributions on April 27th.1 contribution on May 4th.6 contributions on May 11th.2 contributions on May 18th.8 contributions on May 25th.No contributions on June 1st.6 contributions on June 8th.No contributions on June 15th.No contributions on June 22nd.No contributions on June 29th.4 contributions on July 6th.No contributions on July 13th.No contributions on July 20th.No contributions on July 27th.No contributions on August 3rd.No contributions on August 10th.No contributions on August 17th.No contributions on August 24th.6 contributions on August 31st.No contributions on September 7th.No contributions on September 14th.6 contributions on September 21st.No contributions on September 28th.2 contributions on October 5th.No contributions on October 12th.No contributions on October 19th.No contributions on October 26th.No contributions on November 2nd.3 contributions on November 9th.No contributions on November 16th.No contributions on November 23rd.No contributions on November 30th.No contributions on December 7th.No contributions on December 14th.No contributions on December 21st.No contributions on December 28th.No contributions on January 4th.14 contributions on January 11th.5 contributions on January 18th.No contributions on January 25th.10 contributions on February 1st.No contributions on February 8th.No contributions on February 15th.No contributions on February 22nd.No contributions on March 1st.No contributions on March 8th.10 contributions on March 15th.No contributions on March 22nd.1 contribution on March 29th.1 contribution on April 5th.2 contributions on April 12th.
Contribution Graph
Day of Week April May June July August September October November December January February March April
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Less
No contributions.
Low contributions.
Medium-low contributions.
Medium-high contributions.
High contributions.
More

Activity overview

Loading A graph representing MyNameIsDabin's contributions from April 14, 2024 to April 15, 2025. The contributions are 100% commits, 0% issues, 0% pull requests, 0% code review.

완전 좋은 Firebase 시작하기 본문

글 묶음/거를때가 된 Cocos2d-x

완전 좋은 Firebase 시작하기

초긍정 개발자 다빈맨 2019. 2. 13. 22:37

| 안녕, Firebase



동영상을 보면 파이어베이스가 추구하는것이 무엇인지 대강 알 수 있습니다. 아래는 파이어베이스의 장점을 요약해보았습니다.


  • 실시간 데이터 베이스 + NoSQL
  • 여러 플랫폼 지원 (Android, IOS, C++, Web 등)
  • 여러 기능들이 통합된 단일 SDK로 제공됩니다
  • 파이어베이스에서 제공하는 웹 콘솔 화면에서 손쉽게 앱을 관리할 수 있습니다.

파이어베이스에서 제공하는 실시간 데이터 베이스의 장점은 서버 프로그램 없이 DB에 바로 접근해서 데이터를 조작할 수 있다는 점입니다. 실제로 간단한 서비스라면 서버 없이 클라이언트만 개발하여 서비스할 수 있다는걸 의미하죠. (예를들면, 채팅 프로그램)

또, 구글이 파이어베이스를 인수하면서 얻게된 신뢰도와 구글 API로 제공되었던 푸시알림, 초대기능, Admob 같은 수익에 필요한 기능 또한 파이어베이스 SDK 하나로 모두 사용할 수 있게 되었습니다. 





| 내 앱에 Firebase 연동하기




위 스크린샷은 파이어베이스 (https://console.firebase.google.com/) 콘솔화면 입니다. 링크에 들어가서 계정이 없다면 당연히 새로 만드셔야 하고 구글 계정이 있다면 연동하실 수 있습니다.


그리고 프로젝트를 추가할 때 개발자 콘솔에 이미 알파버전 이상의 등록된 앱이 있다면 프로젝트 가져오기  버튼을 클릭합니다.



프로젝트 이름을 입력하고 국가를 선택한 후 프로젝트 만들기 를 누릅니다.



여기서는 안드로이드 앱을 기준으로 설명하도록 하겠습니다. Android 앱에 Firebase 추가 를 선택합니다.



패키지 정보와 앱의 이름을 입력한 후 앱 등록 버튼을 클릭합니다.



요게 좀 중요한데 등록이 끝나면 파이어베이스 구성파일을 다운로드 받은다음에 프로젝트 디렉토리에 추가하셔야 합니다.

위 스크린샷에 나온 그대로 app 폴더에 넣어주면 됩니다.



마지막으로 Gradle 에 구글 서비스 플로그인을 적용하도록 코드를 추가하면 끝납니다. 마찬가지로 위 스크린샷의 절차를 따르면 됩니다.


cocos2d-x 프로젝트로 작업을 하는 경우 다음 두 군데 코드를 추가하시면 됩니다.


1. 프로젝트 수준 (<project>/proj.android-studio/build.gradle) 

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.2.2'
        classpath 'com.google.gms:google-services:3.1.0' //추가

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

2. 앱 수준 (<project>/proj.android-studio/app/build.gradle) 

apply plugin: 'com.google.gms.google-services' //코드 마지막 부분에 추가

clean.dependsOn cleanAssets
preBuild.dependsOn copyAssets