-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firebase Database #2
Comments
Same error I'm getting but, I have all data in firebase, and app is also retriving data perfectly, but then too it shows the same error loadVideo method is not working .... |
Hi ankit, please tell me videos are playing in app?
…On Tue, Jul 7, 2020 at 4:46 PM Ankit Sagar ***@***.***> wrote:
Same error I'm getting but, I have all data in firebase, and app is also
retriving data perfectly, but then too it shows the same error
"I am getting an error in videos_api.dart page as Exception has occurred.
RangeError (RangeError (index): Invalid value: Valid value range is empty:
0)"
loadVideo method is not working ....
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQE27H22NN4VXZOUBNOTSQTR2L7ZDANCNFSM4OO3SZ5Q>
.
|
Thanks for reply me , but I resolved the error , actually the error , was in videoViewed since it is a string , hence I added .Split('') method and it worked perfectly, the videos are also playing perfectly, |
Hi Ankit please share database structure and complete working code. |
Fixed. New sample data is added automatically to Firestore, if you want edit or add more data edit the file "demo_data.dart", is very easy to add or remove videos, you need to use json format. |
Hi,
I have created my firebase instance and generated google-services.json file and added in android/app path but database/tables are not created when i run this project so please tell me where i am wrong? i want to add any connections in project files? I am new to flutter so please guide me. I am getting an error in videos_api.dart page as "Exception has occurred. RangeError (RangeError (index): Invalid value: Valid value range is empty: 0)" please guide me.
The text was updated successfully, but these errors were encountered: