FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV Mobile 2024
→
Android and firebase
Android and firebase
Iniciado por mike5tew, 09,ene. 2018 12:45 - 4 respuestas
Conéctese…
mike5tew
#1
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?
Informar
0
0
Rubén Sánchez Peña
#2
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
'
}
}
Informar
0
0
mike5tew
#3
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?
Informar
0
0
Ricardo Cassolatto
#4
Publicado el 25,junio 2019 - 19:53
Can you explain step by step what you done ? Please ?
Thanks in advance !
Informar
0
0
Rubén Sánchez Peña
#5
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
Informar
0
0
→ Volver a WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto