skip to Main Content

Flutter – RemoteConfig not working as expected to retrieve keys

I am a noob with Flutter/Dart/Firebase so I might be doing something obviously wrong: class RemoteConfigService { static final RemoteConfigService _singleton = RemoteConfigService._internal(); factory RemoteConfigService() { return _singleton; } RemoteConfigService._internal(); final FirebaseRemoteConfig remoteConfig = FirebaseRemoteConfig.instance; Future<void> initialize() async { await…

VIEW QUESTION

I want to retrieve data from a Firestore collection group using Flutter, but I'm encountering an error and unable to retrieve it

In the Flutter app, I'm trying to retrieve data stored in a Firestore subcollection using this method. Stream<List<DocumentSnapshot<Object?>>> fetchNearbyData({ required LatLng location, }) { final collectionReference = FirebaseFirestore.instance .collectionGroup(`postData`); return GeoFlutterFire() .collection(collectionRef: collectionReference) .within( center: GeoFlutterFire().point( latitude: location.latitude, longitude: location.longitude,…

VIEW QUESTION
Back To Top
Search