Skip to content

Latest commit

 

History

History
66 lines (48 loc) · 2.75 KB

README.md

File metadata and controls

66 lines (48 loc) · 2.75 KB

KotlinLearningMap

Quality Gate Status GITHUB-BADGE

Android-master Actions Status Android Actions status

Code

Using Android Studio 3.5 Beta 1, Kotlin, and gradle 4.10

  • Google Maps API
  • Kotlin and Anko
  • Geocoder (gets lat and long location from address) example: val SF = LatLng(37.773972, -122.431297)

Publish apk

  1. In build.gradlew update versionCode and versionName
  2. ./gradlew clean build
  3. Generates signed apk (/app/build/outputs/apk/release)
  4. Upload apk Google Dev Console

Demo

Enter info:

Enter info:

Map shows born locations:

Map shows born locations

Resources

map kotlin tutorial: https://www.mytrendin.com/draw-route-two-locations-google-maps-using-kotlin-android/

read about kotlin tests below: https://github.com/pot8os/Kotlin-Espresso-sample https://fernandocejas.com/2017/02/03/android-testing-with-kotlin/ https://github.com/android10/Android-KotlinInTests https://www.youtube.com/watch?v=_f-qkGJBPts

common views: https://drive.google.com/file/d/0B5XIkMkayHgRMVljUVIyZzNmQUU/view

screenshot and share: http://www.androhub.com/take-a-screenshot-programmatically-in-android/

material colors: https://material.io/guidelines/style/color.html#color-color-palette

Publish to Beta, then promote to Beta -> Release

Using gradle-play-publisher plugin:

  1. update versionCode and versionName
  2. $./gradlew publishApkRelease gradle-play-publisher codepath tutorial

Using fastlane

  1. update versionCode and versionName
  2. $fastlane alpha fastlane

Testing: Integrate reporting with codecov.io

codecov upload token cf25376c-9432-4b0b-9989-5048288f8675

testing tutorial