PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Android and firebase
Android and firebase
Iniciado por mike5tew, 09,ene. 2018 12:45 - 4 respuestas
Publicado el 09,enero 2018 - 12:45
I am attempting to import firebase java libraries into my project. I'm using the “Include Maven Dependencies” section of the generate android application wizard and entering (Group ID: com.google.firebase Artifact ID: firebase-auth Version: 11.8.0). This library is available from googles maven repository (https://maven.google.com) but I can't find a place to enter a repository url. When I attempt to compile the apk gradle returns an error saying “could not find com.google.firebase:firebase-auth:11.8.0”.I'm assuming this is because it is looking in the wrong repository.My question is how do I change the maven repository it is looking in? Or can I access the build.gradle file to change the repository there?
Miembro registrado
794 mensajes
Popularité : +40 (42 votes)
Publicado el 10,enero 2018 - 13:59
Hi. You must edit the file <WMxx folder>\Programs\Framework\Android\WDJava.build, there you can add the repositories you want Gradle to use. For example

repositories {
jcenter()
maven { url 'https://jitpack.io' }
// You need to add the following repository to download the
// new plugin.
maven {
url 'https://maven.google.com'
}
}
Publicado el 11,enero 2018 - 14:58
That is amazing thanks. We have been able to get gradle to use the google repo.

Sadly we are now having trouble getting gradle to apply the google-services plugin.

Just wondering if you have atempted to get windev mobile to use the android firebase services (mainly the realtime database) and successfully got firebase to work with windev before? If so would you mind giving me some pointers?
Publicado el 25,junio 2019 - 19:53
Can you explain step by step what you done ? Please ?

Thanks in advance !
Miembro registrado
794 mensajes
Popularité : +40 (42 votes)
Publicado el 01,julio 2019 - 16:37
You need to write java code directly for that. There is nothing made for WM that I know of.

Rubén