Skip to content

turtlekazu/notion-api-test

Repository files navigation

Notion API + Ktor Test App with Compose Multiplatform

This project is based on Compose Multiplatform Wizard template.

Before running

  • check your system with KDoctor
  • install JDK 17 on your machine
  • add local.properties file to the project root and set a path to Android SDK there
  • add plugin Kotlin Multiplatform Mobile to Android Studio
  • (optional) add plugin Compose Multiplatform IDE Support to Android Studio
  • place Notion API Key to local.properties file as notion.api.key property
  • place Notion Database ID to local.properties file as notion.db.id property, this value can be found in the URL of your database(32 characters long string)

Blog

For detail information, please read this article.

Android

To run the application on android device/emulator:

  • open project in Android Studio and run imported android run configuration

To build the application bundle:

  • run ./gradlew :composeApp:assembleDebug
  • find .apk file in composeApp/build/outputs/apk/debug/composeApp-debug.apk

Desktop

Run the desktop application: ./gradlew :composeApp:run

iOS

To run the application on iPhone device/simulator:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published