Todd Kerpelman
Developer Advocate
Firebase ã«ã¯ãã°ãããã¢ããªãç°¡åã«ä½æã§ããããããã®æ©è½ãå«ã¾ãã¦ãããã¨ã¯ãåãã§ãããã?
ããã§ãã。ãããæ¿ç¥ã®ãã¨ã§ããã。
ããããæ°ã¥ãããããã¾ããã、ããã¾ã§ã¯「ã²ã¼ã 」ã§ã¯ãªã「ã¢ããª」ã«ã¤ãã¦åãä¸ãã¦ãã¾ãã。ã¨ããã®ã、ãã®ã¢ãã¤ã« ã©ã¤ãã©ãªããã°ãããåããããã®ã¯、ã¢ããªã Swift ã Java、Objective-C ã§æ¸ãã¦ããã¨ãã ããã§ã。
ããã§åé¡ã«ãªãã®ã¯、ã»ã¨ãã©ã®ã²ã¼ã ãããããã¼ã¯ C++ ã§ç¬èªã®ã²ã¼ã ã¨ã³ã¸ã³ãä½æãã¦ããã、Cocos2D ã Unity ãªã©ã®ãµã¼ããã¼ãã£è£½ã®ã²ã¼ã ãã©ãããã©ã¼ã ã§ã¢ãã¤ã«ã²ã¼ã ãä½æãã¦ãããã¨ã§ã。ç¾å¨ã、Firebase ã©ã¤ãã©ãªã«ã¯ãã¼ã¿çã¨ãã¦å©ç¨ã§ãã C++ çãããã¾ãã、Unity ãããããã¼ã¯ããªãå¤ã Firebase Database ãã©ã°ã¤ã³ãã使ãã¾ããã§ãã。
ããã、ãããä»æ¥ã¾ã§ã®è©±ã§ã。æ¸å½ã«åªåãç¶ãã¦ããã¨ã³ã¸ãã¢ãçæ§ã®ç¶ç¶çãªãã£ã¼ãããã¯ã®ãããã§、ã¾ã£ããæ°ãã Unity SDK ãå®æãã¾ãã。ããã«ã¯ãã¾ãã¾ãª Firebase ãã©ãããã©ã¼ã ã追å ããã¦ãã、å
¬å¼ã«ãµãã¼ãããã¦ãã¾ã。
ãã® SDK ã«ãã£ã¦、Unity ãããããã¼ã¯ 5 æã«çºè¡¨ãããå¤ãã®æ°ãã Firebase æ©è½ãå©ç¨ã§ããããã«ãªãã¾ã。ãã¨ãã°、次ã®ãããªæ©è½ã§ã。
Firebase Analytics: ç¡åã§å¶éãªãå©ç¨ã§ããã¢ããªãã£ã¯ã¹ ããã±ã¼ã¸ã§、ã²ã¼ã å
ã§çºçããã¤ãã³ããè¨é²ã§ãã¾ã。ã²ã¼ã ã®ãã¬ã¼ã¤ã¼ãã©ãã§è¡ãè©°ã¾ã£ã¦ããã、æéã¨ã¨ãã«ã©ã®ãããå©ç¨è
æ°ãå¢ãã¦ããã、åå½ã®ãã¬ã¼ã¤ã¼ãã©ãã§ãã¬ãã¢ã é貨ã使ã£ã¦ããããªã©ãåæãã¾ããã。Firebase Analytics ã§ã¯ãã®ãããªã¤ãã³ããç°¡åã«è¨é²ã§ãã¾ã。ã¾ã、BigQuery ã¨é£æºã§ããã®ã§、ããªãé«åº¦ãªãã¼ã¿ ãã¤ãã³ã°ãå¯è½ã§ã。
Firebase Real-time Database: ã¢ããªã®ãã¼ã¿ãéæ³ã®ããã«ãã¹ã¦ã®ç«¯æ«ã«åæããããã¼ã¿ãã¼ã¹ã§ã。é常、åæã¯æ°ç¾ããªç§ä»¥å
ã§è¡ããã¾ã。ã²ã¼ã å
ãã£ãã、端æ«éã§ã®ä¿åãã¼ã¿ã®åæ、ã¿ã¼ã³å¶ã®ãã¼ãã²ã¼ã 、ã«ã¼ãã²ã¼ã 、æ¦ç¥ã²ã¼ã ã§ã®æ´»ç¨ãªã©、ãªã¢ã«ã¿ã¤ã ã«è¿ãå¦çãæ±ããããæ©è½ã«é©ãã¦ãã¾ã。ãã ã、ãã«ããã¬ã¼ã¤ã¼åã®ã·ã¥ã¼ãã£ã³ã°ã²ã¼ã ã MOBA ã«ã¯é©ããªãå¯è½æ§ãããã¾ã。ã²ã¼ã ãããããã¼ã«ã¨ã£ã¦「ãªã¢ã«ã¿ã¤ã 」ãå®éã«ä½ãæå³ãããã¯、ããå°ãæ確ã«ããã»ããããããããã¾ãã。
Dynamic Links: ãã¬ã¼ã¤ã¼ãã²ã¼ã å
ã®ä»»æã®è¦ç´ (ã²ã¼ã ãã¤ã³ã¹ãã¼ã«ããã¦ããå ´å)、ã¾ã㯠Play ã¹ã㢠/ App Store(ã¤ã³ã¹ãã¼ã«ããã¦ããªãå ´å)ã«ç§»åããããã¨ãã§ããã¢ãã¤ã« ãã£ã¼ããªã³ã¯ã§ã。ã²ã¼ã ãããããã¼ã«ã¨ã£ã¦æé©ãªã¦ã¼ã¹ã±ã¼ã¹ã¨ãªãã®ã¯、Dynamic Links ãã¢ããªå
å
±æã«æ´»ç¨ãããã¨ã§ããã。Dynamic Links ã使ãã¨、ããã¬ãã«ã®ãªãã¬ã¤ãå
±æããã、ãã¬ã¼ã¤ã¼ãä½ã£ããã°ãããæ°ãã£ã©ã¯ã¿ã¼ãè¦å¡、ã¦ã¼ã¶ã¼ãä½æããã³ã³ãã³ãã«ãªã³ã¯ãå¼µããã¨ãã§ãã¾ã。ãã®ããã®ç¬èªã¤ã³ã¿ã¼ãã§ã¼ã¹ãä½ããããªãå ´åã¯、
Firebase Invites ã使ãã¾ããã。ãããã«æ´å½¢ãããã¡ã¼ã«ã SMS ã¡ãã»ã¼ã¸ã®ä¸ã« Dynamic Link ãå«ãããã¨ãã§ãã¾ã。
Authentication: 「ã²ã¼ã ã§ã¯ãªã、èªè¨¼ã·ã¹ãã ãä½ãããã«ãã¹ã¦ã®æéãã¤ãè¾¼ãã§ããã」ãªã©ã¨è¨ãã²ã¼ã ãããããã¼ã¯ããªãã§ããã。Firebase Auth ã使ãã¨、ã¦ã¼ã¶ã¼ãç°¡åã« Facebook、Google、GitHub ãªã©ã®ãµã¼ããã¼ãã£ã®èªè¨¼ãããã¤ãã«ãã°ã¤ã³ã§ããããã«ãªãã¾ã。ã¾ãã¯、ã¦ã¼ã¶ã¼åã¨ãã¹ã¯ã¼ããç¨ããã«ã¹ã¿ã ã®èªè¨¼ã·ã¹ãã ãä½ããã¨ãã§ãã¾ã。
Cloud Messaging: Firebase Cloud Messaging ã使ãã¨、åä¸ã®ã¨ã³ããã¤ã³ããã iOS 㨠Android ã®ä¸¡æ¹ã®ç«¯æ«ã«éç¥ãéããã¨ãã§ãã¾ã。ã¾ã、Firebase Notifications ããã«ããéç¥ãéããã¨ãã§ããã®ã§、æè¡æ
å½ä»¥å¤ã®ãã¼ã ã¡ã³ãã¼ã§ãéç¥ãéããã¨ãã§ãã¾ã。ã«ã¹ã¿ã ã®ãµã¼ãã¼ç¨ã³ã¼ããè¨è¿°ããã、curl ãå¼ã³åºãããããå¿
è¦ã¯ããã¾ãã。
Remote Config: ã¯ã©ã¦ãçµç±ã§ã²ã¼ã ã®è¨å®å¤ãã¢ãããã¼ããã¾ã。ç§èªèº«、ã²ã¼ã ã§ä½¿ãããã¨ãæãæå¾
ãã¦ããã®ããã®æ©è½ã§ã。ã¿ã¯ã¼ ãã£ãã§ã³ã¹ ã²ã¼ã ãè¨è¨ãããã¨ãããæ¹ãªã、1 ã¤ã®ã¦ããããé£ããããã ãã§ã²ã¼ã å
¨ä½ã®ãã©ã³ã¹ãå°ç¡ãã«ãªã£ã¦ãã¾ããã¨ããããã§ããã。Remote Config ã使ãã¨、ã¯ã©ã¦ãããå¤ã微調æ´ã§ãã¾ã。ããã¦、Firebase Analytics ã§æå¾
éãã®çµæãåºã¦ãããã確èªãããã¨ãã§ãã¾ã。Remote Config ã§ã¯、é人ç´ã®ãã¬ã¼ã¤ã¼ãªã©、ç¹å®ã®ã°ã«ã¼ãã«ã«ã¹ã¿ã ã®å¤ãè¨å®ãããã¨ãå¯è½ã§ã。
ãã®ã©ã¤ãã©ãªã¯ Android 端æ«ã¨ iOS 端æ«ã§å©ç¨ã§ãã¾ãã、Windows、OSX、Linux åãã®ã¹ã¿ãã¡ã½ããã追å ããã¦ãããã、ã²ã¼ã ã®å¯¾è±¡ç«¯æ«ã« PC ãå«ã¾ãã¦ããå ´åã§ãå¤æ°ã®æ¡ä»¶åå²ã³ã¼ãã追å ããå¿
è¦ã¯ããã¾ãã。ã¡ãªã¿ã«、SDK ã® Real-time Database ã®é¨å㯠Unity ã¨ãã£ã¿ã§ç´æ¥åä½ãããã、ãã¹ãããããã°ãæ¯è¼çã¹ã ã¼ãºã«å®è¡ã§ãã¾ã。
ãã²、Firebase SDK for Unity ãã試ããã ãã。
ãã¡ããããã¦ã³ãã¼ãã§ãã¾ã。SDK ã«ã¯、ãã°ãããã²ã¼ã ãç°¡åã«ä½æã§ãããã¾ãã¾ãªæ©è½ãå«ã¾ãã¦ãã¾ã。
ä»åã¯æé«ã®æ°åã§æ¸ããã¨ãã§ãã¾ãã!
Posted by
Yoshifumi Yamaguchi - Developer Relations Team