Kin69 / EasyNotes

EasyNotes: Jetpack Compose MVVM for seamless note-taking. Effortless creation, editing, and organization.
GNU General Public License v3.0
333 stars 26 forks source link

Add 'debug' item to buildTypes #76

Closed Xionical1 closed 2 months ago

Xionical1 commented 2 months ago

When building from source, and having installed the official app through f-droid at the same time, you will encounter an error.

This is due to only a single applicationID available during build.

I have added an additional build type: 'debug' to the build.gradle.kts file, with the applicationIdSuffix set to ".debug" I also set 'isDebuggable' to true while I was in there.

Let me know if there is a better way of accomplishing this goal, or a better way of sending a pull request as I am new to application dev.

Thank you.

Kin69 commented 2 months ago

Thank you for your contribution! Adding a separate debug build type with a .debug package ID is a good approach to avoid conflicts when building from source while having the official app installed from F-Droid.

You've done a great job with your first pull request and it's exactly how it should be.