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

Aggressive freee Mobile Team

laprasDrum
September 28, 2017

Aggressive freee Mobile Team

2017/9/28 大阪ベンチャーモバイル最前線NIGHT vol1 の登壇資料

laprasDrum

September 28, 2017
Tweet

More Decks by laprasDrum

Other Decks in Technology

Transcript

  1. 2013/3 2014/1 νʔϜൃ଍ 2014/2 2014/4 2014/5 2014/7 νʔϜղࢄ 2015/9 2015/4

    2016/6 2016/7 2016/12 2017/5 େ෦෼͕2ਓӡ༻ ۀ຿ҕୗͷํ1ਓʹ ୹ظ͓ؒख఻͍ͯ͠௖͍ͯ·ͨ͠
  2. ձܭ freeeʢ2014/2~ʣ • ։ൃظؒ1ϲ݄ • Rx (ReactiveCocoa & RxJava) &

    MVVM Λॳظ࠾༻ ViewModel User Interactions Web API Utils Web API External Actions Internal Actions ඇಉظॲཧ Gesture ൃՐҎ֎ͷ ಺෦ॲཧ ViewController Activity/Fragment Rx Rx Models
  3. freee for νʔϜʢ2015/9~ʣ • ։ൃظؒ1ϲ݄ • Full Swift ʹରͯ͠ Full

    Kotlin Λॳظ࠾༻ • ౰࣌ͷ Kotlin ͷόʔδϣϯ͸ M9 • flux ΞʔΩςΫνϟͷॳظ࠾༻ • Fat ViewModel Խ͖ͯͨ͠ձܭ freee ʹର͢ΔԾઆݕূ • ViewModel ≒ Action + Store
  4. ViewModel User Interactions Web API Utils Web API External Actions

    Internal Actions ඇಉظॲཧ Gesture ൃՐҎ֎ͷ ಺෦ॲཧ ViewController Activity/Fragment Models
  5. Actions User Interactions Dispatcher Web API Utils EmitChange (DataBinding) Web

    API External Actions Internal Actions NotificationCenter ExecutorService ViewModel ඇಉظॲཧ Gesture ൃՐҎ֎ͷ ಺෦ॲཧ ViewController Activity/Fragment Store Models
  6. ·͖͜Έ΍͘͢ • αʔόʔαΠυ΍ϑϩϯτΤϯυ෼ִ͚ͯͳ͘։ൃ͢Δ͜ͱ͕ଟ͍ • ॳظ͸ϞόΠϧઐ໳ͷਓ͸গͳ͔ͬͨ • iOS / Android ͱ΋ʹΞʔΩςΫνϟΛ౷Ұ

    • MVVM ΍ flux ͷڞ௨Խ • ͲͪΒ͔ͷίʔυʹ৮ΕΕ͹ଞํ΋ཧղ͠΍͍͢Α͏ʹ • Kotlin ͷૣظ࠾༻͸ Swift ͱͷ਌࿨ੑʹدͤͨ݁Ռ • Java ίʔυͷࢿ࢈Λ࠶ར༻Մೳɾ͍ͭͰ΋ Java ʹఫୀ͠௚ͤΔ҆৺ײ͕ ܾΊखͱͯ͠͸ڧ͍
  7. શྗ౤ࢿͭͭ͠ӡ༻ • ٕज़ɾΞʔΩςΫνϟಋೖ͸ΞϓϦͷӡ༻อकͱฒߦͰ΍Γ͖ͬͯΔ • ౰ͨΓલ͕ͩ඼࣭վળͷखΛࢭΊͯ͸͍͚ͳ͍ • ઃܭࢥ૝ͱ iOS / Android

    Ͱͷ࣮૷ͷམͱ͠ॴΛ೗Կʹૉૣ͘ਐΊΔ͔ • ࣦഊ͋Γ͖Ͱ߈ΊΔ • ৽͍͠ߟ͑ํɾٕज़͸ࡲΓ੾ΕΔ·Ͱ࢖͍౗͞ͳ͍ͱݟ͑ͯ͜ͳ͍΋ ͷ͕͋Δ • Web ϑϩϯτΤϯυʹݶΒͣ XAML ͷྺ࢙ͳͲ΋ࢀߟʹͭͭ͠ • ϞόΠϧಛ༗ͷը໘ͷϥΠϑαΠΫϧͱরΒ͠߹Θͤͳ͕Β
  8. ࣗಈԽɾࣗಈԽɾࣗಈԽ • BuildVersion ΍ versionName ͷखಈΞοϓσʔτແବ… • lane λεΫԽ •

    iOS: branch ໊ͷόʔδϣϯͰ increment_version_number • Android: branch ໊ͷόʔδϣϯͰ increment_version_name master 10.2.3 Bitrise ͕ Webhook ͯ͠ lane λεΫΛ࣮ߦ
  9. ࣗಈԽɾࣗಈԽɾࣗಈԽ • ϦϦʔε΋ࣗಈԽ͍ͨ͠ͳ… • Android ͸ apk Λ Developer Console

    ͷ α ൛ʹࣗಈΞοϓϩʔυ͢ΔΑ͏ʹ lane Խ • ͋ͱ͸ஈ֊తϦϦʔεͰΫϥογϡϨϙʔτΛݟकΓͭͭ੡඼Խ • ਖ਼ࣾһ͕૿͑·ͨ͠ʂདྷि͔ΒΠϯλʔϯੜདྷ·͢ʂ • iOS ͩͱূ໌ॻͷॳظઃఆͱ͔େม… • fastlane match ͰηοτΞοϓΛࣗಈԽ ✌