/PharmacyApp

Used Huawei HMS Core Kits. This application shows you the pharmacies on duty. It also takes your location and shows you nearby pharmacies on the map.

Primary LanguageKotlinMIT LicenseMIT

PharmacyApp - "Eczanem" 💊

Pharmacy App

📸 Screenshots




🎯 Goal

  • To learn how to integrate and use Huawei HMS Core kits. That's why I developed the Pharmacy application.
    • Project Goal :
      To inform the user about the duty pharmacies. At the same time, taking the user's location and showing nearby pharmacies on the map.

👇 Used Huawei HMS Core Kits

  • Account Kit
  • ADS Kit
  • Analytics Kit
  • Map Kit
  • Location Kit
  • Site Kit

💡 NOTE : If you want to take a look at these kits I use, you can check this site 👇

https://developer.huawei.com/consumer/en/hms/


🔴 Where did I use these kits?

  • Login Screen ---> I used Account kit
  • Home Screen ---> I used ADS Kit
  • Map Screen
    • Map Kit : for create a map
    • Location Kit : for get user current location
  • Navigation Screen
    • Site Kit : for get nearby pharmacies

👇 Structures Used

  • MVVM

  • Hilt | DI

  • Coroutines

  • Retrofit

  • LiveData

  • Navigation Component

  • ViewBinding

  • SSP\SDP

  • Lottie


✏️ Dependency

    dependencies {

    implementation 'androidx.core:core-ktx:1.10.1'
    implementation 'androidx.appcompat:appcompat:1.6.1'
    implementation 'com.google.android.material:material:1.9.0'
    implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
    testImplementation 'junit:junit:4.13.2'
    androidTestImplementation 'androidx.test.ext:junit:1.1.5'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'

    // Navigation
    def nav_version = "2.6.0"
    implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
    implementation "androidx.navigation:navigation-ui-ktx:$nav_version"

    // Hilt
    implementation "com.google.dagger:hilt-android:2.44"
    kapt "com.google.dagger:hilt-compiler:2.44"

    // Retrofit
    implementation 'com.squareup.retrofit2:retrofit:2.9.0'
    implementation 'com.squareup.retrofit2:converter-gson:2.9.0'

    // Coroutine
    implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4'
    implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")

    // Coroutine Scope
    implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1'
    implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1'

    // SSP-SDP
    implementation 'com.intuit.sdp:sdp-android:1.1.0'
    implementation 'com.intuit.ssp:ssp-android:1.1.0'

    // Lottie
    def lottieVersion = "3.4.0"
    implementation "com.airbnb.android:lottie:$lottieVersion"

    // Account Kit
    implementation 'com.huawei.hms:hwid:6.11.0.300'
    implementation 'com.huawei.hms:hmscoreinstaller:6.11.0.301'

    // Ads Kit
    implementation 'com.huawei.hms:ads-prime:3.4.65.300'

    // Map Kit
    implementation 'com.huawei.hms:maps:6.11.0.304'
    implementation 'com.huawei.hms:maps-basic:6.11.0.304'

    // Location Kit
    implementation 'com.huawei.hms:location:6.11.0.301'

    // Site Kit
    implementation 'com.huawei.hms:site:6.5.1.301'

    // Analytics Kit
    implementation 'com.huawei.hms:hianalytics:6.10.0.302'

👇 API