FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
Android and firebase
Android and firebase
Débuté par mike5tew, 09 jan. 2018 12:45 - 4 réponses
Connectez-vous…
mike5tew
#1
Posté le 09 janvier 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?
Signaler
0
0
Rubén Sánchez Peña
#2
Membre enregistré
794 messages
Popularité : +40 (42 votes)
Posté le 10 janvier 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
'
}
}
Signaler
0
0
mike5tew
#3
Posté le 11 janvier 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?
Signaler
0
0
Ricardo Cassolatto
#4
Posté le 25 juin 2019 - 19:53
Can you explain step by step what you done ? Please ?
Thanks in advance !
Signaler
0
0
Rubén Sánchez Peña
#5
Membre enregistré
794 messages
Popularité : +40 (42 votes)
Posté le 01 juillet 2019 - 16:37
You need to write java code directly for that. There is nothing made for WM that I know of.
Rubén
Signaler
0
0
→ Revenir à WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte