NewsApp is a sample mobile application developed using Compose Multiplatform.
NewsApp aims to provide a seamless news reading experience for both Android and iOS users. The app fetches news articles from various
online
newspapers through the NewsAPI.org website.
To run the application you need to supply an API key from NewsAPI.org. When you get the key please
add secrets.properties
file inside composeApp
folder.
Then put the API Key in the secrets.properties
:
API_KEY=<YOUR_API_KEY>
The project is based on Kotlin Multiplatform Wizard and the following dependencies:
- Decompose : Lifecycle-aware business logic components, with routing functionality
- Koin : Dependency injector
- Coroutines : Asynchronous programming
- Ktor : Type safe HTTP client
- Kotlinx : JSON serializer/deserializer
- Material3 : UI - Light and Dark
android.mp4
ios.mp4
Feel free to fork and modify the code as you prefer on your side. PR are welcome here