food_app_course's Issues
please help m to solve this
E/flutter (22778): #0 MethodChannelFirebase.app (package:firebase_core_platform_interface/src/method_channel/method_channel_firebase.dart:118:5)
E/flutter (22778): #1 Firebase.app (package:firebase_core/src/firebase.dart:53:41)
E/flutter (22778): #2 FirebaseFirestore.instance (package:cloud_firestore/src/firestore.dart:43:21)
E/flutter (22778): #3 new AuthProvider.initialize (package:food_app/scr/providers/auth.dart:14:52)
E/flutter (22778): #4 main (package:food_app/main.dart:11:54)
E/flutter (22778): #5 _runMainZoned.. (dart:ui/hooks.dart:233:25)
E/flutter (22778): #6 _rootRun (dart:async/zone.dart:1190:13)
E/flutter (22778): #7 _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (22778): #8 _runZoned (dart:async/zone.dart:1630:10)
E/flutter (22778): #9 runZonedGuarded (dart:async/zone.dart:1618:12)
E/flutter (22778): #10 _runMainZoned. (dart:ui/hooks.dart:225:5)
E/flutter (22778): #11 _startIsolate. (dart:isolate-patch/isolate_patch.dart:301:19)
E/flutter (22778): #12 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
E/flutter (22778):
E/UIFirst (22778): failed to open /proc/22778/stuck_info, No such file or directory
E/UIFirst (22778): failed to open /proc/22778/stuck_info, No such file or directory
W/ConnectionTracker(22778): Exception thrown while unbinding
W/ConnectionTracker(22778): java.lang.IllegalArgumentException: Service not registered: ls@38696b8
W/ConnectionTracker(22778): at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1860)
W/ConnectionTracker(22778): at android.app.ContextImpl.unbindService(ContextImpl.java:1831)
W/ConnectionTracker(22778): at android.content.ContextWrapper.unbindService(ContextWrapper.java:752)
W/ConnectionTracker(22778): at ci.f(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120408-0):1)
W/ConnectionTracker(22778): at ci.d(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120408-0):2)
W/ConnectionTracker(22778): at lt.E(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120408-0):9)
W/ConnectionTracker(22778): at ld.a(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120408-0):3)
W/ConnectionTracker(22778): at ef.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120408-0):3)
W/ConnectionTracker(22778): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
W/ConnectionTracker(22778): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ConnectionTracker(22778): at iy.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120408-0):5)
E/UIFirst (22778): failed to open /proc/22778/stuck_info, No such file or directory
E/UIFirst (22778): failed to open /proc/22778/stuck_info, No such file or directory
E/UIFirst (22778): failed to open /proc/22778/stuck_info, No such file or directory
E/UIFirst (22778): failed to open /proc/22778/stuck_info, No such file or directory
E/UIFirst (22778): failed to open /proc/22778/stuck_info, No such file or directory
I/chatty (22778): uid=10370(com.example.beneapp.foodapp.food_app) identical 4 lines
E/UIFirst (22778): failed to open /proc/22778/stuck_info, No such file or directory
Accessing Orders Help Needed
Hey @Santos-Enoque, I'm following the course but also making a few additions of my own to challenge myself, I'm having trouble with accessing the nested cart inside the orders list. I'm basically trying to unpack that Cart Map inside the List of orders so I can read that data
Error in Cart page
Cart page Is Not working
i get this error
W/Firestore( 8804): (22.0.2) [WriteStream]: (f90275f) Stream closed with status: Status{code=PERMISSION_DENIED, description=Cloud Firestore API has not been used in project 893369919060 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/firestore.googleapis.com/overview?project=893369919060 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry., cause=null}.
this is my rule in realtime database
{
"rules": {
".read": "now < 1615573800000", // 2021-3-13
".write": "now < 1615573800000", // 2021-3-13
}
}
it creates the user under Authentification/users
but nothing is created under database\data
and the app logs in but all screens are without data.
The getter 'iterator' was called on null.
NoSuchMethodError: The getter 'iterator' was called on null.
Receiver: null
Tried calling: iterator
in this function i got this error can anyone help me to solve this problem please ..as i know it related to state change function..
Future _onStateChanged(FirebaseUser firebaseUser) async{
if(firebaseUser == null){
_status = Status.Unauthenticated;
print("null user");
}else{
_user = firebaseUser;
_status = Status.Authenticated;
_userModel = await _userServicse.getUserById(user.uid);
}
notifyListeners();
}
showing error (error: The method 'document' isn't defined for the type 'CollectionReference'. )
Future signUp() async{
try{
_status = Status.Authenticating;
notifyListeners();
await _auth.createUserWithEmailAndPassword(email: email.text.trim(), password: password.text.trim()).then((result){
_firestore.collection('users').document(result.user.uid).setData({ error line
"name": name.text,
"email": email.text,
"id": result.user.uid
});
});
return true;
}catch(e) {
return _onError(e.toString());
}
}
Firestore errors
FirebaseFirestore _firestore = FirebaseFirestore.instance;
I have to do this instead of firestore _ firestore=..
Still it gives error in the 'documents'. Please help!
widget_test.dart showing blank screen only(undefined class MyApp)
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:food_app/scr/screens/login.dart';
void main() {
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(MyApp()); error line
// Verify that our counter starts at 0.
expect(find.text('0'), findsOneWidget);
expect(find.text('1'), findsNothing);
// Tap the '+' icon and trigger a frame.
await tester.tap(find.byIcon(Icons.add));
await tester.pump();
// Verify that our counter has incremented.
expect(find.text('0'), findsNothing);
expect(find.text('1'), findsOneWidget);
});
}
Missing Video
Please I can't find my way around the codes for the missing video. Could you please share that with me? Thank you
Cannot convert URL 'c:/Users/Santos/key.jks' to a file.
please help me solve this issue, thanks,
steps to reproduce:
i have migrated the code to update firebase dependency,
then i have no errors showing except a depreciated plugin "stripe_payment"
can't run the app .....
use a constants class for save static string
Line 25 in 391e996
search function is not working
.endAt([searchKey+ '\uf8ff'])
the code is not working anymore
is there any other alternative?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.