EddyVerbruggen / EddyVerbruggen/nativescript-feedback

Issue with com.github.tapadoo:Alerter:6.1.0 with Nativescript 8+

Open
#78 2 comments 5 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
128
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Problem compiling the nativescript-feedbaack plugin in nativescript 8+ version

To solve the problem, simply change the nativescript-feedback plugin's include.gradle file to:

repositories {
jcenter()
mavenCentral()
maven { url "https://jitpack.io" } //include this part
}

dependencies {
def supportVer = "27.0.1"
if (project.hasProperty("supportVersion")) {
supportVer = supportVersion
}
implementation "com.android.support:appcompat-v7:$supportVer"
implementation "com.github.tapadoo:Alerter:7.2.4" //include this part
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.3.72"
}

With this change, I correctly added the JitPack repository and updated the Alerter dependency version to 7.2.4. Now Gradle can fetch this library version and build the project correctly.

//IN PORTUGUESE
Problema ao compilar o plugin nativescript-feedbaack na versão nativescript 8+

Para sanar o problema basta alterar o arquivo include.gradle do plugin nativescript-feedback para:

repositories {
jcenter()
mavenCentral()
maven { url "https://jitpack.io" } //incluir essa parte
}

dependencies {
def supportVer = "27.0.1"
if (project.hasProperty("supportVersion")) {
supportVer = supportVersion
}
implementation "com.android.support:appcompat-v7:$supportVer"
implementation "com.github.tapadoo:Alerter:7.2.4" //incluir essa parte
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.3.72"
}

Com essa alteração, adcionei corretamente o repositório JitPack e atualizei a versão da dependência Alerter para 7.2.4. Agora o Gradle pode buscar essa versão da biblioteca e compilar o projeto corretamente.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the plugin's include.gradle file and reproduce the NativeScript 8+ compilation problem. Check the repository declarations and Alerter dependency there, then build the plugin to confirm that Gradle can resolve the dependency and the project compiles successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin, typescript
Domain
build-system, mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.