$30 off During Our Annual Pro Sale. View Details »

sabotage

 sabotage

yoppie

May 27, 2019
Tweet

More Decks by yoppie

Other Decks in Technology

Transcript

  1. 2013೥4݄ - 2015೥3݄ େֶͰιϑτ΢ΣΞ޻ֶ • High Impact Bugͷݚڀ • Androidʹؔ͢Δݚڀ

    2015೥4݄ - 2017೥3݄ େֶӃͰιϑτ΢ΣΞ޻ֶ WebΞϓϦͱAndroidΞϓϦͷ
 डୗ։ൃͱόΠτ 2017೥4݄ - 2019೥5݄ ͙ΔͳͼͰαʔόʔαΠυ झຯͰAndroid 2019೥6݄ ~ ϑϦʔϥϯε
  2. 2013೥4݄ - 2015೥3݄ େֶͰιϑτ΢ΣΞ޻ֶ • High Impact Bugͷݚڀ • Androidʹؔ͢Δݚڀ

    2015೥4݄ - 2017೥3݄ େֶӃͰιϑτ΢ΣΞ޻ֶ WebΞϓϦͱAndroidΞϓϦͷ
 डୗ։ൃͱόΠτ 2017೥4݄ - 2019೥5݄ ͙ΔͳͼͰαʔόʔαΠυ झຯͰAndroid 2019೥6݄ ~ ϑϦʔϥϯε
  3. ϦϙδτϦͱBitriseΛඥ͚ͮΔ 1. Add New AppϘλϯΛԡԼ
 
 
 
 
 2.

    SET PRIVACY OF THE APPͰʮPrivateʯ or ʮPublicʯΛબ୒ 3. Github, Bitbucket, GitLab, Other/Manual͔Βର৅ͱ͢Δ
 ϦϙδτϦΛબ୒
  4. 4. Setup repository accessͰೝূํ๏Λઃఆ 5. Choose branchͰݕূͱηοτΞοϓΛ͢ΔͨΊͷ
 branchΛࢦఆ
 
 


    
 
 
 
 
 
 
 ଘࡏ͠ͳ͍branchΛࢦఆ͢Δͱ
 ࣍ͷεςοϓͷValidating repositoryͰౖΒΕΔ
  5. • Version
 always latest • DeployGate: API Key
 1. DeployGateͷϓϩϑΟʔϧϖʔδʹ͋ΔAPI

    keyΛίϐʔ
 2. ೖྗ͠Α͏ͱ͢ΔͱϞʔμϧ͕දࣔ͞Ε, Bitrise্Ͱѻ͏
 άϩʔόϧม਺ͱͯ͠ఆٛ͢ΔΑ͏ʹଅ͞ΕΔ
 
 
 
 
 
 
 
 
 3. $DEPLOY_GATE_API_KEYΛ࡞੒͠ʮ1ʯͰίϐʔͨ͠
 ஋Λ୅ೖ
  6. • DeployGate: Owner Name
 DeployGateͰ࣮ࡍʹ࢖͍ͬͯΔΞΧ΢ϯτ໊Λఆٛ • App file path
 binary

    file(APK file)ͷύεΛఆٛ
 Bitrise͕༻ҙ͍ͯ͠Δม਺ʮ$BITRISE_APK_PATHʯΛ
 ॻ͘ͱ௨Δ • DeployGate: App Visibility
 ΞϓϦ໊ͱΞΠίϯͷදࣔΛࢦఆ
  7. 3. 3఺ͷ֬ೝ߲໨ • Connect your app to Firebase͕Connectedʹͳ͍ͬͯΔ͜ͱ
 
 


    
 
 
 
 • AndroidϓϩδΣΫτʹgoogle-services.json͕࡞੒͞Ε͍ͯΔ͜ͱ • Firebaseͷίϯιʔϧը໘ʹϓϩδΣΫτ͕࡞੒͞Ε͍ͯΔ͜ͱ
  8. 4. AnalyticsΛΞϓϦʹೖΕΔ 1. Add Analytics to your appΛϙνΔ
 
 


    
 
 
 
 2. implementation 'com.google.firebase:firebase-core:16.0.4'
 ͕gradleʹ௥Ճ͞ΕΔͷͰ࠷৽ͷόʔδϣϯͷ
 ʮ16.0.8ʯʹमਖ਼
  9. Kotlin 10 warnings 2 infos • Unused import directive
 import

    android.util.Log͸ফ͠๨Ε͕ͪ • Unused symbol
 ࢖͍ͬͯͳ͍ϝιου͕͋Δͱ͍͏warning • privateԽ
 privateʹͰ͖Δͱ͜Ζ͸privateʹ͠Α͏
  10. Android 39 warnings • ImageViewʹcontentDescription͕ͳ͍
 ΞΫηγϏϦςΟ޲্ͷͨΊͷcontentDescription • layoutͷ഑ஔͷࢦఆํ๏
 android:layout_marginLeft →

    android:layout_marginStart • ඞཁͷͳ͍RelativeLayout
 This 'RelativeLayout' layout or its 'RelativeLayout' parent is useless; transfer the 'background' attribute to the other view