Android Question New SDK Manager - Maven artifact not found... It is a new one.

DonManfred

Expert
Licensed User
Longtime User
I´m trying to find the right imports for the new Firebase Firestore

com.google.firebase:firebase-firestore

Maven artifact not found....

Based on their docu
compile 'com.google.firebase:firebase-firestore:11.4.2'
must be used inside Android Studio....

How do i get the maven-repo jars with the new SDK Manager? I´m using v2.23

ETA: Maybe it is still beta? I just found Google Firestore beta
https://mvnrepository.com/search?q=firestore

I found a note in the Docu that it is still beta. I guess this is the reason why it is not found in the maven repos. I guess i need to wait till end of beta... ;)
 
Last edited:

OliverA

Expert
Licensed User
Longtime User
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
my searches are based on https://firebase.google.com/docs/firestore/quickstart?authuser=0
in the android code snippet
B4X:
FirebaseFirestore db = FirebaseFirestore.getInstance();
the FirebaseFirestore needs to get using the getInstance method...

BUT this Class does not exist in the Google Beta! There is only a Firestore object. But it is not the same as the code they show us in the Get Started.....
Additionally they show us to use
B4X:
compile 'com.google.firebase:firebase-firestore:11.4.2'
I tried that import in Android Studio too... Maven artifact not found....
 
Upvote 0

OliverA

Expert
Licensed User
Longtime User
the maven class is com.google.firebase:firebase-firestore:11.4.2 (Cloud Firestore)
PEBCAK/PICNIC. Was reading the Java docs, not Android.
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
Maybe it is still beta?

yes it's still a beta. i just came from a Google Meeting in Tel Aviv and they explained about Firestre and other new Services they have.
They also demonstrated how powerful firestore is and i was very impressed.

it would be awesome to have firestore for b4a (+ b4i)
this is maybe the best backend solution for real-time database storing.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
They also demonstrated how powerful firestore is and i was very impressed.
i was impressed by the introduction video already... That´s why i asking here :)
it would be awesome to have firestore for b4a
I´m working on it but i dont know if i can get it to work if it is still in beta :D....

But i found the right imports using android studio and compiling their exampleproject...

Work in progress....

Snap9.png


this will not happen from my side. Someone other need to do this.
 
Upvote 0
Top