Firebase App Distribution x Bitrise x fastlane で簡単アプリ配信

9d1961575e45a8286cdde5f86dbba312?s=47 akatsuki174
December 17, 2019

Firebase App Distribution x Bitrise x fastlane で簡単アプリ配信

9d1961575e45a8286cdde5f86dbba312?s=128

akatsuki174

December 17, 2019
Tweet

Transcript

  1. Firebase App Distribution x Bitrise x fastlane Ͱ ؆୯ΞϓϦ഑৴ potatotips

    #67 @akatsuki174
  2. ࣗݾ঺հ

  3. • ਢ౻ຘʢ@akatsuki174ʣ • iOS→AndroidΤϯδχΞ • גࣜձࣾTimersॴଐ • ϦϯάϑΟοτɿϨϕϧ100 • Fit

    Boxingɿ47೔໨
  4. • αʔόʔαΠυΤϯδχΞ (PHP, Golang, AWS) • AndroidΤϯδχΞ (Kotlin) • iOSΤϯδχΞ

    (Swift) TimersͰ͸ݱࡏΤϯδχΞશ৬छ࠾༻தʂ
 ৄ͘͠͸”Timers”Ͱݕࡧ
  5. ٕॻതग़ల͠·ͨ͠ 5ষʮKotlinͷnullͱٔΕΔʯࣥච BOOTHͰ΋ൢചதʂ

  6. ࠓ೔ͷ࿩

  7. • Firebase App DistributionʢҎԼFADʣ • Bitrise • fastlane Λ࢖ͬͯAndroid൛ͷςετΞϓϦΛ ࣗಈ഑෍Ͱ͖ΔΑ͏ʹͨ͠࿩

  8. ϒϩάʹͯࠓ೔ͷొஃͷจষ൛ެ։

  9. FADͱ͸

  10. Firebase App Distribution • Firebase ͕ఏڙ͍ͯ͠ΔΞϓϦ഑৴γεςϜ • ൺֱత࠷ۙύϒϦοΫϕʔλʹ

  11. ࣮ݱͨ͜͠ͱ

  12. None
  13. ࠓ೔࿩͢ ൣғ

  14. ΍Δ͜ͱ

  15. ςελʔάϧʔϓͷ࡞੒ ͓֮͑ͯ͘

  16. Firebase App ID ͷ೺Ѳ ͓֮͑ͯ͘

  17. fastlaneಋೖ • ·ͩೖΕͯͳ͍৔߹͸ೖΕΔ • FADͷϓϥάΠϯ΋ೖΕΔ • $ bundle exec fastlane

    add_plugin firebase_app_distribution
  18. Firebase token ͷઃఆ • Bitrise Ͱ Firebase ͕࢖͑ΔΑ͏ token औಘ

    • $ firebase login:ci • Bitrise Ͱ؀ڥม਺ͱͯ͠ઃఆ
  19. lane ࡞੒ ֮͑ͨ΍ͭ ΛషΔ

  20. ϫʔΫϑϩʔ࡞੒

  21. ϫʔΫϑϩʔ࡞੒ આ໌͠·͢

  22. Firebase CLI͕࢖͑ΔΑ͏ɺScript contentʹ ҎԼͷهड़Λ௥Ճ ## firebase tools DL npm install

    firebase-tools
  23. fastlane lane ʹlane໊Λೖྗ android [lane໊]

  24. Slackͷ৽نΞϓϦ࡞੒ը໘͔ΒΞϓϦΛ࡞੒

  25. Ұ൪ԼͷWebhook URLΛίϐʔ͢Δ

  26. BitriseͷSecretsλϒͰ؀ڥม਺ʹઃఆ͠ɺ εςοϓͷWebhook URLʹઃఆ͢Δ

  27. ࣮ߦ݁Ռ

  28. PRΛग़͢ͱ…

  29. ΞϓϦΛड͚औΔʹ͸

  30. ͕࣌ؒͳ͍ͷͰ… ϒϩάΛޚཡ͍ͩ͘͞ʂ ʢͪΐͬͱ͖᪴ϙΠϯτ͋Γ·ͨ͠ʣ

  31. ࢖ͬͯΈͯ

  32. ײ૝ ख͕͔͔ؒΒͣ഑৴ϑϩʔΛ࡞੒Ͱ͖Δ ઐ༻ΞϓϦ͕͋ΔͷͰݟ΍͍͢ աڈͷΞϓϦ͕ফ͑Δʁ ֘౰ͷΞϓϦΛ୳ͮ͠Β͍

  33. ·ͱΊ

  34. ·ͱΊ • FADͰ͸؆୯ʹࣗಈ഑৴͕Ͱ͖Δ • ΞϓϦ഑෍ํ๏ͷબ୒ࢶͱͯ͠ FAD΋ߟ͑ͯΈͯ͸ʁ

  35. ͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ