Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Firebase Remote Config ベストプラクティス

Yuto Yazaki
September 11, 2019

Firebase Remote Config ベストプラクティス

Yuto Yazaki

September 11, 2019
Tweet

More Decks by Yuto Yazaki

Other Decks in Programming

Transcript

  1. 'JSFCBTF3FNPUF$POpH ϕετϓϥΫςΟε  άϦʔάϧʔϓϞόΠϧΞϓϦษڧձ7PM ໼㟒༤ਓ:B[BLJ:VUP

  2. ࣗݾ঺հ άϦʔגࣜձࣾ ޿ࠂɾϝσΟΞࣄۀຊ෦ ϦϛΞࣄۀ෦"QQνʔϜ ໼㟒༤ਓ:B[BLJ:VUP w -*.*"ͷJ04ΤϯδχΞ w ৽ଔೖࣾ೥໨✨ ͓͍͍͠ʂΛ࡞Δ

    ϨγϐಈըϝσΟΞ ঁੑͷͨΊͷ ඒ༰৘ใΞϓϦ ॅ·͍ɾ฻Β͠ͷ ΞΠσΞΞϓϦ
  3. 'JSFCBTF3FNPUF$POpH ϕετϓϥΫςΟε ˞εϥΠυ͸ޙ೔Ξοϓϩʔυ༧ఆ

  4. 'JSFCBTF3FNPUF$POpH ϕετϓϥΫςΟε ˣ ࣦഊࣄྫ͔ΒֶͿ όουϓϥΫςΟε΍ ಡΈࠐΈઓུͷ͓࿩ ˞J04Λલఏʹ࿩͠·͕͢ɺ"OESPJEͰ΋ಉ༷

  5. 'JSFCBTF3FNPUF$POpHͱ͸ ˞ࡉ͔͍આ໌͸୺ંΓ·͢

  6. 'JSFCBTF3FNPUF$POpHͱ͸ w ΞϓϦͷಈ࡞΍֎؍Λ3FNPUFʹ$POpHͰ͖Δπʔϧ w ઌ݄Φʔϓϯιʔεʹͳͬͯ·ͨ͠ʂ IUUQTHJUIVCDPNpSFCBTFpSFCBTFJPTTELUSFFNBTUFS'JSFCBTF3FNPUF$POpH

  7. -*.*"Ͱͷࣄྫ

  8. -*.*"Ͱͷࣄྫʙ͓஌Βͤόφʔͷӡ༻ʙ w ظؒݶఆͰද͍ࣔͤͨ͞όφʔ w ը૾΍ભҠઌΛύϥϝʔλͰࢦఆ w ඇΤϯδχΞͰ΋8FC্ͰઃఆՄೳ

  9. -*.*"Ͱͷࣄྫʙڧ੍Ξοϓσʔτɾ"#ςετʙ w ڧ੍Ξοϓσʔτ w ݹ͍όʔδϣϯΛ࢖͍ͬͯΔ
 ϢʔβʔʹΞοϓσʔτಋઢΛग़͢ w "#ςετ w هࣄίϯςϯπͷग़͠෼͚

    IUUQTXXXTMJEFTIBSFOFUHSFFUFDIpSFCBTFBCUFTUJOHBCBOESPJE
  10. 3FNPUF$POpHͷ࢓૊Έ

  11. 3FNPUF$POpHͷ࢓૊Έ ը૾IUUQTpSFCBTFHPPHMFDPNEPDTSFNPUFDPOpHBQJPWFSWJFX

  12. 3FNPUF$POpHͷ࢓૊Έ ը૾IUUQTpSFCBTFHPPHMFDPNEPDTSFNPUFDPOpHBQJPWFSWJFX ϑΣον ϦΫΤετ αʔό΁ ϦΫΤετ $POpHฦ͢ "DUJWF $POpH $POpHऔಘ

    $POpHऔಘ $POpHऔಘ
  13. 3FNPUF$POpHͷ࢓૊Έ ը૾IUUQTpSFCBTFHPPHMFDPNEPDTSFNPUFDPOpHBQJPWFSWJFX "DUJWF $POpH %FGBVMU $POpH $POpHऔಘ ϑΣον͕׬ྃ͢Δ·Ͱ͸
 σϑΥϧτ஋͕࢖ΘΕΔ

  14. όουϓϥΫςΟεͱ஫ҙ఺

  15. ݕূऴྃޙͦͷ··ύϥϝʔλΛ์ஔ ࢪࡦͷޮՌΛ"#ςετͰݕূ ˣ ݁Ռ͕ग़ͯίϯιʔϧ্ͰύϥϝʔλΛยํʹدͤΔ ˣ ͦͷ··์ஔ͠୲౰ऀ͕୅ΘΓ ˣ ☠࢓༷มߋͰσάϨൃੜ☠ "#ग़͠෼͚͸ίʔυ͕ෳࡶʹͳΓ͕ͪɻ ɹݕূ͕ऴΘͬͨΒ͖ͪΜͱޙย෇͚͠·͠ΐ͏✨

    ϦϑΝΫλͨ݁͠Ռ ɹύϥϝʔλ਺͕ݸ➜ݸʹݮΓ·ͨ͠
  16. ΞϓϦىಈ௚ޙʹ͙͢஋͕ཉ͍͠ " ϑΣον͕׬ྃ͢Δ·ͰϩʔσΟϯάը໘Λग़͢ # ϑΣον׬ྃޙʹಈతʹ6*ద༻ $ Ωϟογϡ஋PSσϑΥϧτ஋Λ࢖͏ "QQ%FMFHBUF 3FNPUF$POpHϑΣον։࢝ ϑΝʔετϏϡʔදࣔ

    'JSFCBTFॳظԽ ϑΣον׬ྃ "QQ 'JSFCBTF ϢʔεέʔεʹΑͬͯద੾ͳಡΈࠐΈઓུΛબ୒ ىಈ௚ޙͷར༻͸ආ͚ͨ΄͏͕٢
  17. #ϑΣον׬ྃޙʹಈతʹద༻ ϑΣονͷฒྻݺͼग़͠ʹ஫ҙʂ⚠

  18. ϑΣονͷฒྻݺͼग़͠ʹ஫ҙ⚠ w ϑΣον͕׬ྃ͢ΔલʹผͷϑΣονΛݺͼग़͢ͱFSSPS* w ࠷ॳͷϑΣονͷΈTVDDFTT ଞ͸FSSPS͕ฦΔ࢓༷ ✅ App SDK Server

    GFUDI GFUDI GFUDI
  19. ϑΣονͷฒྻݺͼग़͠ʹ஫ҙʙ3Y4XJGUͰճආʙ w share(replay:scope:) ΦϖϨʔλΛ࢖͏ ෳ਺ߪಡͯ͠΋ϑΣον࣮ߦ͸ճ͚ͩ

  20. ࢦ਺όοΫΦϑͰϦτϥΠ w ϑΣονʹࣦഊͨ͠Βࢦ਺όοΫΦϑΛࢼ͢

  21. σϑΥϧτ஋Λ͖ͪΜͱఆٛ͠Α͏ ը૾IUUQTpSFCBTFHPPHMFDPNEPDTSFNPUFDPOpHBQJPWFSWJFX ϑΣον ϦΫΤετ αʔό΁ ϦΫΤετ $POpHฦ͢ $POpHऔಘ %FGBVMU $POpH

    ஋͕औΕ͍ͯͳͯ͘΋໰୊ͳ͘ಈ࡞͢ΔઃܭΛ ϓϩμΫτͷίΞͳՕॴͰͷ࢖༻͸ࡉ৺ͷ஫ҙ/ ϑΣονʹࣦഊ͢Δͱ
 %FGBVMU$POpH͕࢖ΘΕΔ
  22. ·ͱΊ

  23. ·ͱΊ w ݕূ͕ऴΘͬͨύϥϝʔλͷޙย෇͚ w ىಈ௚ޙͷར༻͸ͳΔ΂͘ආ͚Δ w ϑΣονͷฒྻݺͼग़͠ʹ஫ҙ⚠ w ࢦ਺όοΫΦϑͰϦτϥΠ✅ w

    σϑΥϧτ஋Λ͖ͪΜͱఆٛ ਖ਼͘͠ݕূ͢ΔͨΊʹ ਖ਼͍͠ಡΈࠐΈઓུΛબ୒͠Α͏3