ããã«ã¡ã¯ãHabrïŒ 1幎ååã
FirebaseéçºããŒã
ãGoogleã®ãã¬ã³ããªãŒãªããŒã ã«
å ãããŸãã ã ãã以æ¥ãBaaSïŒãµãŒãã¹ãšããŠã®ããã¯ãšã³ãïŒã¯ãéçºè
ã110ãã45äžäººã«4å以äžã«æé·ããŸããã ãããŠä»åããDFIDïŒãªã¢ã«ã¿ã€ã ããŒã¿ããŒã¹ïŒããŠãŒã¶ãŒèªèšŒããã¹ãã£ã³ã°ãšãã£ãåããµãŒãã¹ããã¹ãŠæäŸããã¢ããªã±ãŒã·ã§ã³éçºã容æã«ããŸããã 次ã®æ®µéã«é²ããããFirebaseã®äž»èŠãªæ¡åŒµæ©èœãã玹ä»ããŸãã
Firebaseã¯ãAndroidãiOSãããã³ã¢ãã€ã«Webã¢ããªã±ãŒã·ã§ã³ãæ§ç¯ããããã®ãŠãããŒãµã«ãã©ãããã©ãŒã ã«ãªãã€ã€ãããŸãã éçºã®ç°¡çŽ åããŠãŒã¶ãŒã®ç²åŸãšåçåãç®çãšããæ°ããããŒã«ãããã³æ°ããåæ補åãããªããåŸ
ã£ãŠããŸãã
ç§ãã¡ã¯ãåœåFirebaseã§æåã«å®ããããååãåžžã«å¿ å®ã«å®ã£ãŠããŸããã
- éçºè
ã¯ãŠãŒã¶ãŒã§ããããŠãŒã¶ãŒãšã¯ã¹ããªãšã³ã¹ã¯éåžžã«éèŠã§ãã 䜿ãããããé«å質ã®ããã¥ã¡ã³ããçŽæçãªAPIã«ãããéçºè
ã¯æºè¶³ããŠããŸãã
- ã¯ãã¹ãã©ãããã©ãŒã ã åæ§ã«éèŠãªã®ã¯ãiOSãAndroidãã¢ãã€ã«Webã§ãã
- å¯èœãªå Žåã¯è£œåã®çµ±åã Firebaseã«ã¯ã1ã€ã®SDKã1ã€ã®ã³ã³ãœãŒã«ãããã³è³ªåãžã®åçããµããŒããããã³å¿
èŠãªãã¹ãŠã®ããã¥ã¡ã³ããååŸã§ãã1ã€ã®å ŽæããããŸãã ã©ã®æ©èœãã©ã®çµã¿åããã§çµã¿åãããããéžæãããšãå¯èœãªéãããŒã¿ã䜿çšããŠæãéãå¿«é©ãªäœæ¥ãæäŸããããšãã¿ã¹ã¯ã«ãªããŸãã
Firebaseåæ
Firebase Analyticsã¯ãã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ãåæããããã®æ°ããç¡æããŒã«ã§ãã äžéšã圌ã¯Googleã¢ããªãã£ã¯ã¹ããäœããç¶æ¿ããŸããããããã€ãã®éèŠãªéãããããŸãã
ãŸããFirebase Analyticsã¯ãŠãŒã¶ãŒãšã€ãã³ããåé¿ããŸãã ã»ãã·ã§ã³ãããŒãžãã¥ãŒãã¢ããªã±ãŒã·ã§ã³ç»é¢ã¯åªããŠããŸãããGoogleã«ã¯æ¢ã«ãããŸãã ç§ãã¡ã®æ°è£œåã¯ããŠãŒã¶ãŒãã¢ããªã±ãŒã·ã§ã³ã§äœããããã«çŠç¹ãåœãŠãŠããŸãã ãŸãããŠãŒã¶ãŒãã©ãããæ¥ãã®ããæ£ç¢ºã«ç¥ãããšãã§ããŸããææåºåãšãŠãŒã¶ãŒãåŒãä»ããããã®ãã£ãã«ã远跡ãããšãæ確ãªã°ã©ããšè¡šãåŸãããŸãã
第äºã«ãåççãªçµ±åã®ååã«ã€ããŠãã§ã«èª¬æããŸãã-ããã§ã¯ãæ倧éã«å®è£
ãããŠããŸãã FAã¯ãã¢ããªã±ãŒã·ã§ã³å
ã®ãŠãŒã¶ãŒã¢ã¯ãã£ããã£ã«é¢ããä¿¡é Œã§ããæ
å ±ãæäŸããŸããããã«ãããæ°ããæ©èœ
-Audiencesãå®è£
ã§ããŸãã ãªãŒãã£ãšã³ã¹ã«ãããåæ§ã®ããããã£ãæã€ç°ãªããŠãŒã¶ãŒã°ã«ãŒããèå¥ã§ããŸãã ãã®åŸãåäžã®Firebaseç°å¢å
ã§ç°ãªãèŠèŽè
ã®åå¥ã®æ
å ±ãåãåãããšãã§ããŸãã
ã¡ãã»ãŒãžã³ã°ãã¹ãã¬ãŒãžãæ§æã§éçºãã¹ããŒãã¢ãã
æè¿ã®ã¢ããªã±ãŒã·ã§ã³ã§ã¯ãã€ã³ã¿ã©ã¯ãã£ããªã€ã³ã¿ã©ã¯ã·ã§ã³ãããçšåºŠäœ¿çšããŠããããšãéåžžã«å€ããããããã¯ãšã³ããµãŒãã¹ãæ¡å€§ããŠããŸãã Googleã¯ã©ãŠãã¡ãã»ãŒãžã³ã°-ã¯ã©ãŠãããããã€ã¹ã«ããã·ã¥éç¥ãé
ä¿¡ããããã®æã人æ°ã®ãããµãŒãã¹ã¯ãFirebaseã«çµ±åãããFCM-
Firebaseã¯ã©ãŠãã¡ãã»ãŒãžã³ã°ãšåŒã°ããããã«ãªããŸããã å®å
šã«ç¡æã§ãå¶éããªããå®å
šã«æé©åãããŠãããã¯ã©ã€ã¢ã³ãããã€ã¹ã®ããããªãŒãç¯çŽããiOSãAndroidãããã³ææ°ã®ãã©ãŠã¶ãŒã§æé©ã«åäœããŸãã FCMã®äžå¿ãšãªãã®ã¯ã¹ã±ãŒã©ããªãã£ã§ããä»æ¥ã§ã¯ã1700åïŒïŒïŒãè¶
ããã¡ãã»ãŒãžãæ¯æ¥ãçŽ20åã®ç°ãªãããã€ã¹ã«éä¿¡ãããŠããŸãã
ç»åãåç»ãä¿åããæ©èœãè¿œå ããŠããã¡ã€ã«ã転éããæ¹æ³ãåŠç¿ããããã«é·ãéæ±ããããŠããŸãã-çŸåšãGoogle Cloud Storageã®ãããã§ããã®ãããªæ©äŒãæäŸããŠããŸãã
Firebase Storageã䜿çšãããšãéçºè
ã¯ãã¡ã€ã«ãç°¡åãã€å®å
šã«ããŠã³ããŒãããŠä¿åã§ããŸãããŸããGoogleã®å
ç¢ãªãã©ãããã©ãŒã ãšæè¡ã¯ãæ¯é¡ã®ãªãã¢ã¯ã»ã·ããªãã£ãGoogleãµãŒãã¹ãšã®çµ±åãã¹ã±ãŒã©ããªãã£ãæäŸããŸãã ãŸããFirebase Storageã®ã¯ã©ã€ã¢ã³ãSDKã®é«åºŠãªããžãã¯ã«ã泚æãæã£ããããäžå®å®ãªã€ã³ã¿ãŒãããæ¥ç¶ã§ããµãŒãã¹ãæ£åžžã«æ©èœããŸãã
Firebase Remote Configã䜿çšãããšãéçºè
ã¯ã¢ããªã±ãŒã·ã§ã³ããã±ãŒãžãæŽæ°ããã«ã¢ããªã±ãŒã·ã§ã³èŠçŽ ããã®å Žã§åŸ®èª¿æŽããã³æŽæ°ããã¢ããªã±ãŒã·ã§ã³ã¹ãã¢ã§å©çšå¯èœã«ãªãã®ãåŸ
ã£ãŠãããŠãŒã¶ãŒã§æŽæ°ã§ããŸãã ã¢ããªã±ãŒã·ã§ã³ã®ç¹å®ã®èŠçŽ ã®ãªã³/ãªããåãæ¿ããããç¹å®ã®ãŠãŒã¶ãŒãªãŒãã£ãšã³ã¹ã«æŽæ°ããã°ã©ã ãé
åžãããã§ããŸãããããã¯ãã¹ãŠãæ°åã®ã¯ãªãã¯ã§å®è¡ã§ããŸãã
ãã¡ãããæ¢åã®è£œå-BDVRããã¹ãã£ã³ã°ããŠãŒã¶ãŒèªèšŒã«ã€ããŠã¯å¿ããŠããŸããã ãã¹ãã£ã³ã°ã¯ããã¹ãŠã®éçºè
åãã®æ°ããã€ã³ã¿ãŒãã§ãŒã¹ãšç¡æã®ãµãŒãããŒãã£ãã¡ã€ã³ãµããŒããåãåããŸããã ããŒã¿ããŒã¹ã¯è¿ãå°æ¥ã«ã¡ãžã£ãŒã¢ããããŒããåä¿¡ããŸããããããŸã§ã®ãšããäœãèšããŸããã åŸ
ã£ãŠãã ãããã¢ããããŒãã¯ããªãã倱æãããŸããã æ倧ã®æŽæ°ã¯
Firebase Authenticationã§ãããããã§ã¯ãæ°ããSDKãšåèšèšãããããã¯ãšã³ãæ§é ã ãããã»ãã¥ãªãã£ãä¿¡é Œæ§ãããã³ã¹ã±ãŒã©ããªãã£ã®æ¹åã«å¿
èŠã§ãã å
éšã§ã¯ãGoogleãŠãŒã¶ãŒã¢ã«ãŠã³ãã§åäœããä»ã®Google補åãšåããã¯ãããžãŒã䜿çšãããŠããŸãã ãŸãããªã³ã¯ãããã¢ã«ãŠã³ããšé»åã¡ãŒã«ã®æææš©ã®èšŒæãè¿œå ããŸãããããã¯é·ãéæ±ããããŠãããã®ã§ãã
ãããã°ã®ç°¡çŽ åïŒãã¹ãã©ããšã¯ã©ãã·ã¥ã¬ããŒã
èœã¡ãã¢ããªã¯æªãã§ãã ãŠãŒã¶ãŒã¯äžæºã§ãããã¬ãã¥ãŒã§ããããçš®é¡ã®åä»ãªããšãæžãã1ã€æãã€ãã競åä»ç€Ÿã«è¡ããŸãã
FIrebase Crash Reportingã¯ããªãªãŒã¹åŸã®iOS / Androidã¢ããªã±ãŒã·ã§ã³ã®åé¡ãèŠã€ããã®ã«åœ¹ç«ã€æãéèŠãªæ
å ±ãåéããŠéä¿¡ããŸãã ãã¡ããããªãŒãã£ãšã³ã¹æ©èœãããã§åäœããåæ§ã®å
åãæ¢ããŸã-åãããã€ã¹ããã±ãŒã«ãã¢ããªã±ãŒã·ã§ã³äœ¿çšã®ç¹å®ã®é åããŸãã¯ç¹å®ã®äœ¿çšã·ããªãªãªã©ãåæ§ã®åé¡ã«çŽé¢ããŠãããŠãŒã¶ãŒéã§å
±éç¹ããããã©ãããããã«ç¢ºèªã§ããŸãã¢ããªã±ãŒã·ã§ã³ã
ååã®I / OïŒ2015幎ïŒã§ãã¯ã©ãŠããã¹ãã©ã-ããŒã¿ã»ã³ã¿ãŒã«ããå®éã®ããã€ã¹ã§ã®ã¢ããªã±ãŒã·ã§ã³ã®ã¯ã©ãŠããã¹ããå°å
¥ããŸããã ããã§ããã®ãµãŒãã¹ã¯
Firebase Test LabãšåŒã°ããFirebaseããŒã«ãšã®çµ±åã®ãã¹ãŠã®å©ç¹ãåŸãããŸãã
ã¢ããªã±ãŒã·ã§ã³æ©èœã®æ¡å€§
æãæçšãªã¢ããªã±ãŒã·ã§ã³ã§ãããé
ããæ©ãããŠãŒã¶ãŒã®é¢å¿ã®äœäžã«çŽé¢ããŸãã Firebaseã«ã¯ã顧客ã®æ³šç®ãéããã®ã«åœ¹ç«ã€5ã€ã®å¹æçãªããŒã«ããããŸãã
Firebase Notificationsã¯ãFirebase Cloud Messaging APIã«åºã¥ããŠæ§ç¯ãããæ°ããã€ã³ã¿ãŒãã§ã€ã¹ã§ãããFirebase Analyticsããã³Audiencesã®æ©èœã«ãã£ãŠè£å®ãããŸãã ããã«ããããœãŒã¹ã³ãŒããšãã£ã¿ãŒã«è§Šããããšãªããã¢ããªã±ãŒã·ã§ã³ã®ãŠãŒã¶ãŒã«ã¿ãŒã²ãããçµã£ãéç¥ãéä¿¡ã§ããŸãã æ°ããããã¢ãŒã·ã§ã³ãå²åŒãå人çãªæ¡ä»¶ã®æäŸãæ°ããæ©äŒãžã®äººã
ã®æ³šæãåŒãããšã«ã€ããŠè©±ãããããªããŸããã
Firebase Dynamic Linksã¯ã2æ¹åã®ãªã³ã¯ã®äœæ¥ãåæã«æ¹åããŸãã ãŸãããªã³ã¯ããä¿¡é Œã§ããããã®ã«ãªããŸããã ã€ãŸãããŠãŒã¶ãŒãã¯ãªãã¯ããŠGoogle PlayããåããŠã¢ããªã±ãŒã·ã§ã³ãããŠã³ããŒãããå Žåã§ããã¢ããªã±ãŒã·ã§ã³å
ã®ç¹å®ã®å ŽæïŒç¹å®ã®ãããžã§ã¯ããã€ãã³ããäŒç€Ÿãªã©ïŒã«ã€ãªãããŸãã ãã¢ããªã±ãŒã·ã§ã³ãããŠã³ããŒãããŸããã次ã¯äœã§ããããªã©ã®è³ªåãããªã³ã¯ã®ç¹°ãè¿ãã¯ãªãã¯ã¯ãããŸããã ãã®ãããªãæè¿ãã¯ããŠãŒã¶ãŒãã¢ããªã±ãŒã·ã§ã³ãæäœãããšããç¹ã§åªããçµæã瀺ããŸããã
第äºã«ããªã³ã¯ã¯å®è¡ããŠããç°å¢ã«å¿ããŠåçã«ç®çãå€ããããšãã§ããŸãïŒç°ãªãããã€ã¹ããã©ãŠã¶ãã¯ã©ã€ã¢ã³ã-é«åºŠãªïŒutm_sourceã®ãããªãã®ã
Firebase Invitesã䜿çšãããšã玹ä»ãããã¯ãŒã¯ã2ã€ã®æ¹æ³ã§æ§ç¯ã§ããŸã-顧客ã«æ°ãããããã¯ãŒã¯ãããããããšãã§ããŸãã æå°ã®åŽåãæ倧ã®çµæã
Firebase App Indexing ïŒä»¥åã®Google App IndexingïŒã䜿çšãããšãGoogleãŠãŒã¶ãŒã¯ã¢ããªã±ãŒã·ã§ã³ããçŽæ¥çµæãèŠã€ããããšãã§ããŸãã ã€ã³ã¹ããŒã«ããã«ã¢ããªã±ãŒã·ã§ã³ãå®è¡ããAndroid Nã®æ°æ©èœãå éã€ã³ã¹ããŒã«ïŒãŠãŒã¶ãŒããã¹ãŠãå¿
èŠãšããå ŽåïŒãããã³æ°ãããã€ãããã¯ãªã³ã¯æ©èœãèãããšã補åã«æ¬åœã«èå³ããã人ã§ãŠãŒã¶ãŒããŒã¹ãå®æçã«è£å
ããŸãã
åºåãã©ãããã©ãŒã ã§ããAdWordsãFirebaseã«çµ±åãããŸããã Firebaseã¯ãAdWordsã§ãã£ã³ããŒã³ã®é²è¡ç¶æ³ã远跡ããFirebase Analyticsã®é¢é£ã»ã¯ã·ã§ã³ã«èªåçã«å
¥åããŸãã ããããæ¢ã«ãåç¥ã®ããã«ãããã«ã¯ãªãŒãã£ãšã³ã¹ãšã€ãã³ããã©ããã³ã°ã®çµ±åããããŸãããã®æ¹æ³ã§ãAdWordsãã©ã¡ãŒã¿ãŒãæ§æããŠãåºåãã£ã³ããŒã³ã®å¹çãæ倧éã«é«ããããšãã§ããŸãã
AdMobã§ã¢ããªãåçåãã
ããŸããŸãªè£œåãçµ±åããããã»ã¹ã¯åæ¢ãããŸããã§ããã :)ãã®ãããGoogleåºåãã©ãããã©ãŒã ãFirebaseãšã³ã·ã¹ãã ã®äžéšã«ãªããŸããã AdMobã§ã®äœæ¥ãç°¡çŽ åããŸããããããžã§ã¯ãã§Firebase SDKã®äœ¿çšãéå§ãããšããã«ãAdMobããµãŒãã¹ãéå§ããŸãã ããŸããŸãªåºåãã©ãŒãããïŒãã€ãã£ãåºåãå«ãïŒãå質統èšãä»ã®FirebaseèŠçŽ ãšã®çµ±åããã§ã«å«ãŸããŠããŸãã
æ°ããã³ã³ãœãŒã«ãããã¥ã¡ã³ããSDK
æçš¿ã®åé ã§ãFirebaseã«ã¯1ã€ã®SDKã1ã€ã®ã³ã³ãœãŒã«ãããã³è³ªåãžã®åçããµããŒããããã³å¿
èŠãªãã¹ãŠã®ããã¥ã¡ã³ããå
¥æã§ãã1ã€ã®å Žæããããšè¿°ã¹ãŸããã ãã®å Žæã¯
firebase.google.comã§ãã
Firebaseã«æ°ãã家ãã§ããã®ã§ãæãã¢ãã³ãªã€ã³ããªã¢ãéžæããŸããã æ°ããã³ã³ãœãŒã«ã¯ãGoogle PlayãGoogle CloudãFirebaseã®ç®¡çäžã«ãããããžã§ã¯ããªã©ãä»ã®Google補åãšç·å¯ã«çµ±åãããåèšèšãããã€ã³ã¿ãŒãã§ãŒã¹ãåãåããŸããã
Google Cloudãšã®çµ±åã¯éåžžã«æ·±ãã¬ãã«ã§å®è¡ãããŸããã ããšãã°ãFirebase Analyticsã¯ãçããŒã¿ãããã«åæããããã«BiqQueryã«ãšã¯ã¹ããŒãã§ããŸãã Google CloudãšFirebaseã®éã®ããªããžãæ§ç¯ããã¯ã©ãŠãã䜿çšããèœåãæ¡åŒµããŠãããŸãã çµ±åã®ãã1ã€ã®è¯ãäŸã¯ãGoogle Playéçºè
ã¢ã«ãŠã³ããFirebaseã¢ã«ãŠã³ãã«ãªã³ã¯ããããšã§ããããã«ãããã³ã³ãœãŒã«ã¯ãã¹ãŠãéäžããã»ã³ã¿ãŒã«ãªããŸãããŠãŒã¶ãŒã®äžæŽåãã¢ããªã±ãŒã·ã§ã³å
ã®è³Œå
¥ãããŸããŸãªãŠãŒã¶ãŒã°ã«ãŒãã®äœ¿çšãã¿ãŒã³ããå§ãŸãã財åããŒã¿ã§çµããã
æåŸã«ãæ°ããC ++ SDKã®ããŒã¿çãã玹ä»ããŸãã ãã¹ãŠã®ããã¥ã¡ã³ããšå¿
èŠãªãã¹ã¿ãŒã¿ãŒããã¯ãã¯ãåœç€Ÿã®Webãµã€ãã§ãã§ã«
å
¥æå¯èœã§ã ã
äŸ¡æ Œèšå®ããªã·ãŒ
AnalyticsãCrash ReportingãRemote ConfigãDynamic Linksãå«ãã»ãšãã©ã®æ°è£œåã¯å®å
šã«ç¡æã§ãããå¶éã¯ãããŸããã ææãµãŒãã¹-ãã¹ãã©ããã¹ãã¬ãŒãžãDDRVããã¹ãã£ã³ã°-ã®
äŸ¡æ Œã°ãªããã
ç°¡çŽ åãããŸãã ã æ¬æ¥æäŸãããã®ïŒ
- æåã®ã¹ããããã¢ããªã±ãŒã·ã§ã³ã®ãããã¿ã€ããçšèªéãŸãã¯è«æãã¹ã¿ãŒãã¢ããã®ã¹ã¿ãŒãã¢ããã«æé©ãªãããã€ãã®å¶éä»ãã®ç¡æã®SPARKé¢çšã
- ã¢ããªã±ãŒã·ã§ã³éçºã®åæ段éã§äºæž¬å¯èœãªæé¡æéãå¿
èŠãªäººã®ããã®FLAMEæéã®åºå®æéã
- æ¶è²»ããããªãœãŒã¹ã®æ¯æã-倧èŠæš¡ãªé¡§å®¢åãã®BLAZEæ§æå¯èœé¢çšã
çŸããã®äžå€æ§
Google I / O 2016以éãå€ãã®å€æŽãè¡ãããŸããããFirebaseã®åºæ¬ååã¯åããŸãŸã§ãã ç§ãã¡ã®äž»ãªç®æšã¯ãAPIãçŽæçãªã€ã³ã¿ãŒãã§ã€ã¹ãå
æ¬çãªããã¥ã¡ã³ããç·å¯ãªè£œåçµ±åã«ããã·ã³ãã«ã§å¿«é©ãªéçºã§ãã iOSãAndroidãããã³Webã®ã¯ãã¹ãã©ãããã©ãŒã éçºã«åãçµãã§ããŸããåé¡ãçºçããå Žåã¯ãå¯èœãªéãã®ãµããŒããæäŸãããŠããã ããŸãã
ãã§ã«åœç€Ÿã®è£œåã䜿çšããŠããå Žåã¯ãèªåã§ãããæããŸã§äœãå€ãããŸããã å€ã顧客ãšãã®è£œåãåŒãç¶ããµããŒãããŸãããã¢ããããŒããèªãã§Firebaseã®æ°æ©èœãè©äŸ¡ããããšããå§ãããŸãã :)
ä»åŸã®èšç»
ç§ãã¡ã¯çŽ æŽãããä»äºãããŸããããFirebaseã«ã¯ãŸã æ¹åãã¹ãããšããããŸãã ãããŸã§ãJavaScript SDKã¯ãŸã ãã¹ãŠã®æ°æ©èœããµããŒãããŠããŸããã ãããã®æè¡ã®ã®ã£ãããçž®ããããã«å
šåãå°œãããŠãããŸãããæèŠããèããããã ããã°å¹žãã§ãã確ãã«ãæ¹åãã¹ãç¹ããŸã ãããŸãã Firebaseã®æ°æ©èœã«é¢ããæèŠãæ®ãããããã°ãå ±åããããã¢ã€ãã¢ãææ¡ãããã§ã
ãŸã ã
ãããŸã§ã®éãå人çã«æ°ããæ©äŒãè©Šãããšãã§ããŸãã ShazamãSkyScannerãPicCollageãªã©ã®å€§èŠæš¡ãããžã§ã¯ããæ¢ã«è¡ã£ãŠãããããæ°ãã
Webãµã€ãããã§ãã¯ãã
ããã¥ã¡ã³ããè©äŸ¡ããŠã補åã§
Firebaseã
䜿çšããŠã¿
ãŠãã ããã