Home > Mobile >  Firebase data not displaying in flutter app
Firebase data not displaying in flutter app

Time:08-19

I am trying to display data using Firebase in an app made with flutter. This had worked until a few hours ago, after which it stopped working despite no change in my code. I get the following warnings:

W/DynamiteModule( 3174): Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found.
I/DynamiteModule( 3174): Considering local module com.google.android.gms.providerinstaller.dynamite:0 and remote module com.google.android.gms.providerinstaller.dynamite:0
W/ProviderInstaller( 3174): Failed to load providerinstaller module: No acceptable module com.google.android.gms.providerinstaller.dynamite found. Local version is 0 and remote version is 0.
I/TetheringManager( 3174): registerTetheringEventCallback:com.example.icse_quizapp
I/le.icse_quizap( 3174): The ClassLoaderContext is a special shared library.
I/le.icse_quizap( 3174): The ClassLoaderContext is a special shared library.
D/nativeloader( 3174): classloader namespace configured for unbundled product apk. library_path=/product/priv-app/PrebuiltGmsCore/lib/x86:/product/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk!/lib/x86:/product/lib:/system/product/lib
W/ProviderInstaller( 3174): Failed to report request stats: com.google.android.gms.common.security.ProviderInstallerImpl.reportRequestStats [class android.content.Context, long, long]
W/le.icse_quizap( 3174): Accessing hidden field Ldalvik/system/BaseDexClassLoader;->pathList:Ldalvik/system/DexPathList; (greylist, reflection, allowed)
W/le.icse_quizap( 3174): Accessing hidden field Ldalvik/system/DexPathList;->nativeLibraryDirectories:Ljava/util/List; (greylist, reflection, allowed)
W/le.icse_quizap( 3174): Accessing hidden field Ldalvik/system/DexPathList;->systemNativeLibraryDirectories:Ljava/util/List; (greylist, reflection, allowed)        
W/le.icse_quizap( 3174): Accessing hidden field Ldalvik/system/DexPathList;->nativeLibraryPathElements:[Ldalvik/system/DexPathList$NativeLibraryElement; (greylist, reflection, allowed)
W/le.icse_quizap( 3174): Accessing hidden method Ldalvik/system/DexPathList;->makePathElements(Ljava/util/List;)[Ldalvik/system/DexPathList$NativeLibraryElement; (greylist, reflection, allowed)
V/NativeCrypto( 3174): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 286 native methods...
W/le.icse_quizap( 3174): Accessing hidden method Ljava/security/spec/ECParameterSpec;->getCurveName()Ljava/lang/String; (greylist, reflection, allowed)
I/ProviderInstaller( 3174): Installed default security provider GmsCore_OpenSSL
W/le.icse_quizap( 3174): Accessing hidden field Ljava/net/Socket;->impl:Ljava/net/SocketImpl; (greylist, reflection, allowed)
W/le.icse_quizap( 3174): Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (greylist,core-platform-api, linking, allowed)
W/le.icse_quizap( 3174): Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (greylist,core-platform-api, linking, allowed)
W/le.icse_quizap( 3174): Accessing hidden field Ljava/io/FileDescriptor;->descriptor:I (greylist, JNI, allowed)
W/le.icse_quizap( 3174): Accessing hidden method Ljava/security/spec/ECParameterSpec;->setCurveName(Ljava/lang/String;)V (greylist, reflection, allowed)
W/le.icse_quizap( 3174): Accessing hidden method Ldalvik/system/BlockGuard;->getThreadPolicy()Ldalvik/system/BlockGuard$Policy; (greylist,core-platform-api, linking, allowed)
W/le.icse_quizap( 3174): Accessing hidden method Ldalvik/system/BlockGuard$Policy;->onNetwork()V (greylist, linking, allowed)

Can someone please help me and tell me what is going wrong?

EDIT: I am using a Pixel emulator on Android Studio. I have already ensured that Google Play services is installed, there is no update available, I have made sure that <uses-permission android:name="android.permission.INTERNET" /> is there in each AndroidManifest.xml file and that the main one also has <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />, and in my build.gradle I have the following:

minSdkVersion 30
targetSdkVersion 21
multiDexEnabled true

CodePudding user response:

there is many solution here: Firestore Database Rules

Realtime Database Rules

  • Related