Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

GDG-Venezia/gdg-venezia-showcase-app-old

Repository files navigation

Kotlin Multiplatform Showcase App

Setup

  • creare il file local.properties e inserire la property sdk.dir=<path to android sdk>

Architettura

L'architettura è basata su clean architecture e MVP. La parte comune contiene:

  • modelli (in domain/entities)
  • usecase (in domain/usecases)
  • repository (interfaccia contenuta in domain e implementazione contenuta in data secondo la filosofia della clean architecture, in modo da supportare una eventuale futura separazione dei layer in diversi moduli)
  • presenter (in presentation)
  • interfacce delle view (in presentation) I componenti grafici di Android e iOS saranno responsabili di implementare le interfacce delle view definite nella parte comune.

Riferimenti

iOS

To compile the project from Xcode just open iosApp/iosApp.xcodeproj and run the application. The swift tests also can be executed from Xcode.

After cloning the project, remember to install the Pod

  > cd iosApp
  > pod install

To compile a framework for ios simulator from the command line execute:

  > ./gradlew :app:build

To compile the framework for a device use the device project property:

  > ./gradlew :app:build -Pdevice=true

To run kotlin tests (including the common ones) on an iOS simulator execute:

  > ./gradlew :app:iosTest

By default the iPhone 8 simulator is used. One can change this setting using the iosDevice project property:

  > ./gradlew :app:iosTest -PiosDevice='iPhone 7'

Android

The application can be built and executed on a device or emulator using Android Studio 3.2 or higher. One can also compile the application and run tests from the command line:

   > ./gradlew :androidApp:build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published