M
M
Megabober2020-12-16 14:34:22
Android
Megabober, 2020-12-16 14:34:22

Problem with Firebase and new versions of Android (API 29, API 30)?

A simple application takes data from Firebase (an image and two different texts)
On Android phones up to 8.0 (API 28), the application works perfectly. On 9.0 and 10.0 (API 29 and 30) it shows only 1 of the texts, the picture does not load at all. What could it be?

I'm a beginner and this is the first time I've encountered this problem. I wrote the code in two different ways, but the problem remained.

When you click on the card, the same picture, title and text of the story opens (this is in versions prior to Android 8.0). In versions c API 29 and 30, just a blank screen opens

In Gradle, I added everything that is possible))

implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.2.1'
implementation ' androidx.constraintlayout:constraintlayout:2.0.
implementation 'com.google.firebase:firebase-auth:20.0.1'
implementation 'com.google.firebase:firebase-firestore:22.0.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
testImplementation ' junit:junit:4+'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'

implementation 'com.firebaseui:firebase-ui-database:6.3 .0'
implementation 'com.github.bumptech.glide:glide:4.11.0'
implementation 'com.google.firebase:firebase-database:19.5.1'
implementation platform('com.google.firebase:firebase-bom:26.1 .1')
implementation 'com.google.firebase:firebase-analytics'

5fd9f0b1370f0173829496.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Gladyshev, 2017-01-27
@fairoj

Good afternoon.
This can be done with the Luxury Buttons plugin . With it, you can delimit almost any user action within a task and build life cycles.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question