📱📰 Android client for the Nextcloud news/feed reader app
Перейти к файлу
David Luhmer 489954180b add gradle dependency verification
Signed-off-by: David Luhmer <david-dev@live.de>
2024-02-21 09:48:16 +01:00
.github Build(deps): Bump gradle/wrapper-validation-action from 1 to 2 2024-01-30 05:23:30 +00:00
.tx
News-Android-App update version (for google) 2024-02-21 09:11:41 +01:00
docker-nextcloud-test-instances
fastlane update changelog 2024-01-03 16:54:38 +01:00
gradle add gradle dependency verification 2024-02-21 09:48:16 +01:00
security
.gitignore improve gitignore 2024-02-21 09:12:13 +01:00
CHANGELOG.md update changelog 2024-01-03 16:54:38 +01:00
COPYING-AGPL.md
COPYING-README.md
Gemfile
NEWS-POLICY.md add news-policy 2024-01-03 16:37:36 +01:00
PRIVACY.md
README.md add gradle dependency verification 2024-02-21 09:48:16 +01:00
Screengrabfile
build.gradle Build(deps): Bump com.android.tools.build:gradle from 8.2.1 to 8.2.2 2024-01-24 05:13:24 +00:00
executeScreengrab.sh
gradle.properties improve gitignore 2024-02-21 09:12:13 +01:00
gradlew
gradlew.bat
settings.gradle

README.md

Nextcloud News for Android

Android CI GitHub issues GitHub stars License: GPL v3 CHANGELOG.md PayPal this git repo

An Android client for Nextcloud News App.

▶️ Access

Latest Release F-Droid Release Beta channel

Get it on Play Store Get it on F-Droid Donate with PayPal

👀 Screenshots

1 2 3
Feed list Articles Details

👪 Join the team

How to compile the App

Requirements

  1. Android Studio

Download and install

  1. Open cmd/terminal
  2. Navigate to your workspace
  3. Then type in: git clone https://github.com/nextcloud/news-android.git
  4. Import the Project in Android Studio and start coding!

Testing with Android Auto

  1. Open Android Studio, click on "Tools" -> "SDK Manager"
  2. Select and install "Android Auto API Simulators"
  3. Open terminal, go to /extras/google/simulators (e.g. cd ~/Library/Android/sdk/extras/google/simulators)
  4. Install apk using adb (../../../platform-tools/adb install media-browser-simulator.apk)
  5. Install apk using adb (../../../platform-tools/adb install messaging-simulator.apk)

Advanced Testing Android Auto (e.g. Voice Features) Link

  1. Install Android 9 in an Emulator (Android 10 didn't work with the Android Auto App)
  2. Install Android Auto from PlayStore
  3. Follow instructions on training website (see link above)
  4. `~/Library/Android/sdk/platform-tools/adb forward tcp:5277 tcp:5277
  5. cd ~/Library/Android/sdk/extras/google/auto
  6. ./desktop-head-unit
  7. From inside the terminal type: mic play ./voice/pause.wav

That's all. I hope it works for you! If something is not working, please send me an email to david-dev@live.de

Updating the database schema

  • Edit Database Schema in LastestVersion.java
    • Make sure to increase version number inside getVersionNumber function
  • Open build.gradle and uncomment imports annotated with // Required for DAO generation
  • In Android Studio - choose "DatabaseOrmGenerator" configuration
  • Hit the "Run" Button

Updating Dependencies

This project uses Gradle's Dependency Verification Feature:

In case you get the following error "Dependency verification failed" or in case you updated a dependencies you need to run the following commands to allow the new version:

# run in the project root
./gradlew --write-verification-metadata pgp,sha256 help
./gradlew --export-keys

Analyze Dependencies

./gradlew build --scan  

Contributors