EddyVerbruggen / nativescript-feedback

:loudspeaker: Non-blocking textual feedback for your NativeScript app
MIT License
129 stars 28 forks source link

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

Open marcelbonfim182 opened 2 months ago

marcelbonfim182 commented 2 months ago

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.

Dzenan-Fatkic commented 2 weeks ago

When can we expect a bugfix release?