GeoFirestore-Android | GeoFirestore for Android - Realtime location queries | Authentication library
kandi X-RAY | GeoFirestore-Android Summary
kandi X-RAY | GeoFirestore-Android Summary
GeoFirestore for Android - Realtime location queries with Firestore
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of GeoFirestore-Android
GeoFirestore-Android Key Features
GeoFirestore-Android Examples and Code Snippets
Community Discussions
Trending Discussions on GeoFirestore-Android
QUESTION
I have been developing this app since 2019 and I had a released version of it and I was working on an update so there is a new version of the Android Studio came out I have updated Android Studio to Android Studio Bumblebee | 2021.1.1 Patch 1
my kotlin_version = "1.6.10"
and compileSdk 31
minSdkVersion 19, targetSdkVersion 31
android 11
I was solving some errors at the beginning like duplicate classes
and stuff until I faced this error with firebase when setting the data to firebase Database or Firestore, before this update my Code was working fine and I didn't change much I just added new functions to the app like inAppReview
,
what is happening is that whenever I'm setting data or update some existing data in Firebase Databse or Firestore the app restart and leave no error to detect in the Logcat, Logcat will not be cleared it is just wont show error at the moment of restart, and my app will automatically set a new data to the Firestore or Firebase and some times restart when reading values,
In the new update, I have come across errors like SQLiteConstraintException: UNIQUE constraint failed
and E/android.vendin: Not starting debugger since process cannot load the jdwp agent.
i dont know if it's related but those are showing.
this is a serious problem guys, I have an iOS version same app written in Swift they both share the same functions to write and read to the database I mean same code different Languages connected to the same database there is no errors everything works fine on iOS with the firebase itself, and the same code was working before this update that's mean there's no problem with my code, please if anyone knows anything or came across this kind of situation let me know I need some help, I'm stuck for a week now I have been searching all over the internet Didn't found any answer, if anyone needs a further declaration or sharing some code please let me know
emulator runing R version and the app was tested on a real Device SamsungNote S21
Note: if I Run the app the first time and write to firebase the app will crash or as I mentioned restart.
Note: but if I wrote to firebase and Re-run my app before the app write again or before the crash the app will works fone
project Gradle
...ANSWER
Answered 2022-Mar-06 at 03:20I see there are no problems with your dependencies and I think what you have is that you write data to the firebase database after getting some data using ValueEventListener, so even if your activity has destroyed ValueEventListener will still listen in the previous Activity according to this answer https://stackoverflow.com/a/63636051/8793968 @ and this answer https://stackoverflow.com/a/63636048/8793968 @ so it will restart and show no errors
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install GeoFirestore-Android
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page