Part-2 How to connect Firebase with Flutter || Flutter Firebase Tutorials in Hindi/Urdu
ฝัง
- เผยแพร่เมื่อ 27 ส.ค. 2022
- In this video i will teach you how we can create firebase project and how we can connect firebase with our flutter app both for android and ios.
Playlist: lnkd.in/dfwijFgd
instagram: / thetechbrotherss
join fb group: lnkd.in/dAWaFWtp
Playlist: lnkd.in/dVv_jy4W
Road map: lnkd.in/dHF8yc68
_____________/Connect On Social Media\____________
► linkedin:➜ / axiftaj
► Instagram:➜ / axif_taj
► Facebook:➜ / aaxiftaj
► Twitter:➜ / axiftaj
► GitHub:➜ github.com/axiftaj
► Hire me on Fiver:➜ www.fiverr.com/asif_taj
=========================================
flutter, connect firebase, flutter, firebase tutorials
For business queries : axiftaj@gmail.com
Thank you for watching my channel do give feedback about this video.
#flutter #firebase #firebasehindi #firebasetutorial #flutter #flutterdev - วิทยาศาสตร์และเทคโนโลยี
Watch this video, latest video for connecting firebase with flutter using firebase CLI. After making connection follow rest of playlist.
th-cam.com/video/JA1KAQBDLXY/w-d-xo.html
Good Work Sir g mane kafi wait kia ha ap k firebase Roadmap
wait is over do subscribe and share with your friends.
support me on insta: instagram.com/thetechbrotherss/
Wonderfull tutorials.❤️
Glad you like them!
Thank you so much sir for your grate Video
share with your friends
Acknowledged sir! ❤
thank you, do share with your friend
@@thetechbrotherss yes I will 😊
sir you are great thanks
tora sa firebase ka bara ma tora tafsell sa battaya thanks
btay ha na bro
Sir, want a video on responsive UI like using media queries, accessing device height .
Sbr karin
my issue is with IOS ipa in release mode, problem is before integrating firebase in my flutter app, app runs smoothly on ios device in release and debug mode both, but after integrating firebase, app is not wworking in ios release mode showing blank white screen confinuosly, i think fcm token is not getting properly in release mode, when i comment out fcm token code then ipa works but not with fcm..dont know what is the issue ...please help
Fcm token has nothing to do with release mode.
1. Make sure you don't have blue lines in debug mode
2. Make sure you added firebase google services at correct place for ios
3. To received notifications make sure you have setup firebase correctly.
@@thetechbrotherss as you said in your video if firebase setup is not correct then your project will not run, in my case all setup is correct im also getting fcm token debug mode in ios but not getting in release ipa mode
I don't have Mac and iphone so is it compulsory to initiliaze firebase for iOS or not
not necessary i have mention this in video so many time bro
Can we set up directly using flutter option rather then separately initializing ios and android?
Yes
Hello Sir!
Why don't we intergrate Flutter app using available flutter option in firebase rather than configuring separately with IOS and Android?
You can i love doing it that way.
@@thetechbrotherss sir please make a video for that too so that we can remove those errors too
Hello Sir, here guide me how to store multiple users data in firebase dynamically
Check firebase social media app signup part
Sir when i setup for ios i get folder with name runner.xcworkspace, Runner.xcodeproj not any file.
Make sure you have MacBook and follow the process along side with me
@@thetechbrotherss
Sir I don't have MacBook ... If we don't have MacBook it's not work???
no bro this part is for mac books users i have explain this
sir complete social media app with full backend kab upload hogi.... :(
Sath sath kr rahy ha yar bus thora busy time chal raha ha
when will be uploaded of the upcomming lectures
it's schedule video will uploaded with time
sir, can you please make a video on "how to connect firebase with flutter web" ??
Ok
sir apki android app kitnai time mai open hwi thi mujai 1 hour hogya abhi tak process mai hai
sometime it takes time bro
sir firebase IOS ipa issue hai, flutter app debug mode me proper run hai IOS me but jab me IPA banata hu to white screen aa jati hai app open nahi hota hai release mode mein, please help kijiye, FCM token get nhi ho rha h shayd iska issue h,via USB connect kar rha hu iphone to app proper chal rha h koi exceptions nahi hai but Jab me IPA install krta hu release mode me white screen aa jati hai......please help me for this issue....thank you
Fcm token has nothing to do with release mode.
1. Make sure you don't have blue lines in debug mode
2. Make sure you added firebase google services at correct place for ios
3. To received notifications make sure you have setup firebase correctly.
@@thetechbrotherss what blue lines you are saying? is this unhandle exceptions?
can we do it directly from firebase cli? will there be any issues
Yes do it, it is recommended
is this series valid for the current flutter version?
only this part is not valid rest is good, i'll update this part soon
A problem occurred evaluating project ':app'.
> Could not set unknown property 'plugins' for object of type org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.
can anyone tell me how can i resolve this error?
apply plugin are not working
not sure why this is coming
is it required to follow this if we have connected firebase with CLI in previous video?
Nop, if already is setup just integrate project with given command with project id
@@thetechbrotherss which commands sir?
iska kiya matlab zara explain kr k bataya krein plz
@@thetechbrotherss
sir ap k video ma jo bata rahy ho , os sy mara different araha hn mtlb ya dependency show nhi horaha na gradle ma jaisa ap k video ma hn , update k waja sy ya masla hn ya kia masla
ignore this video and watch other in which i taught how to connect firebase with flutter app using cli
bhai provider k sth hogi series??
available han
th-cam.com/play/PLFyjjoCMAPtzn7tFLRV3eny7G74LnlMRt.html
For provider watch chapter 14 or mvvm with provider playlist.
do subscribe and share with your friends.
support me on insta: instagram.com/thetechbrotherss/
Sir yeh Flutter 3.19.5 and Dart 3.3.3 mein to Bilkul change araha hai sub kuch build.gradle wagaira sub kuch to us mein kis tarah se connect karna hai Firebase ko with your Flutter App is per video banayen ya detail mein Bta den Please...
check my new video about how to connect firebase with cli
Only left side hi audio aa raha hai if handsfree plugged in
ops
How to solve properties & gradle exception
share error
There was red error coming on build.gradle about properties
always state error
sir i dont have mac or iphone so how can i setup firebase for ios?
Ni
@@thetechbrotherss sir its mean i cant setup my fire base for ios using windows
Sir, I am getting this error...
A problem occurred evaluating project ':app'.
> Plugin with id 'com.android.firebase_tutorials' not found.
Sir what is the solution of this error?
Please follow tutorials carefully, you missed something
I am also getting this error.
asalam u alikum sir mena firebase setup kra h but json file missing error araha steps jasa video me thay wohi follow krn h
Ap ny file project ma add ni ki hogi
Make sure you added in correct place
Sir, please update this video
Ok bro
Sir Your Voice ??
kya huwa ?
Find json Extension ke error a raha ha
Ad kro json file
Sir Why my build.gradel file is completely different from my gradel file.
i didn't understood your question
@@thetechbrotherss
this is how my gradel file looks.
my bulld.gradefile
---------------------------------------
allprojects {
repositories {
google()
mavenCentral()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
-----------------------------------------
our build.gradle file
bluidscript{
ext.kotlin.version= '1.6.10"
repositories{
google()
mavenCentral()
}
dependencies{
classpath 'com.android.tools.build.gradle.7.1.2
classpath 'org.jetbrain.kotlin:kotlin-gradle-plugin;$kotlin_version'
}
}
allprojects{
repositories{
google()
mavenCentral()
}
rootProject..buildDir = '../build
subprojects {
project.buildDir.evaluvtionDependsDn(' :app")
}
}
in my old apps gradle file was same as you but in new apps it is different and i am not able to understand how to do changes to connect firebase as shown in vedio.
Also at time of setting up firebase after downloading google-services (1).json it shows msg --Are you still using the buildscript syntax to manage plugins? Learn how to add Firebase plugins using that syntax. i have even tried that but it was useless.
Apart from it my other file in android folder are also diff from yours .
your help wil be very benificial.
@@thetechbrotherss bro my build.gradel file is totaly different from yours i do not have buildscript syntax in my gradel file.
this is how my gradel file looks.
my bulld.gradefile
---------------------------------------
allprojects {
repositories {
google()
mavenCentral()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
-----------------------------------------
this is your build.gradle file
bluidscript{
ext.kotlin.version= '1.6.10"
repositories{
google()
mavenCentral()
}
dependencies{
classpath 'com.android.tools.build.gradle.7.1.2
classpath 'org.jetbrain.kotlin:kotlin-gradle-plugin;$kotlin_version'
}
}
allprojects{
repositories{
google()
mavenCentral()
}
rootProject..buildDir = '../build
subprojects {
project.buildDir.evaluvtionDependsDn(' :app")
}
}
in my old apps gradle file was same as you but in new apps it is different and i am not able to understand how to do changes to connect firebase as shown in vedio.
Also at time of setting up firebase after downloading google-services (1).json it shows msg --Are you still using the buildscript syntax to manage plugins? Learn how to add Firebase plugins using that syntax. i have even tried that but it was useless.
Apart from it my other file in android folder are also diff from yours .
your help wil be very benificial.
@@thetechbrotherss bro my build.gradel file is totaly different from yours i do not have buildscript syntax in my gradel file.
this is how my gradel file looks.
my bulld.gradefile
---------------------------------------
allprojects {
repositories {
google()
mavenCentral()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
-----------------------------------------
your build.gradle file
bluidscript{
ext.kotlin.version= '1.6.10"
repositories{
google()
mavenCentral()
}
dependencies{
classpath 'com.android.tools.build.gradle.7.1.2
classpath 'org.jetbrain.kotlin:kotlin-gradle-plugin;$kotlin_version'
}
}
allprojects{
repositories{
google()
mavenCentral()
}
rootProject..buildDir = '../build
subprojects {
project.buildDir.evaluvtionDependsDn(' :app")
}
}
in my old apps gradle file was same as you but in new apps it is different and i am not able to understand how to do changes to connect firebase as shown in vedio.
Also at time of setting up firebase after downloading google-services (1).json it shows msg --Are you still using the buildscript syntax to manage plugins? Learn how to add Firebase plugins using that syntax. i have even tried that but it was useless.
Apart from it my other file in android folder are also diff from yours .
your help wil be very benificial.
2 errors coming in app.gradle file..
1) Cannot resolve symbol properties
2) Grade Exception
How can I solve?
share error
its not working anymore , the android studio not have an option to add the dependency as you did
It do have have bro, you bust be missing something
@@thetechbrotherss Actually brother due to the files structure in android studio the dependency section is not showing , a bit confuse where to add the dependency of firebase core and analytics
Sir , error said options != null
make sure you follow video carefully
5:30 mere pass firebase me dependecies k andr classpath nahi arhaa
Please check my latest video how to connect firebase on windows using CLI with Flutter also read first comment
sir mujhe firebase k sath apna project connect krna ha aur ye jo link ha isme setup ha flutter firebase Cli ha window ha@@thetechbrotherss
Sir Firebase sdk is diffrent now sir
It's same you can follow this still
@@thetechbrotherss
sir After downloading google_services.json in android your video screen and my screen is different sir
same mera bhi
error in build.gradle and application not starting
Please watch video carefully and add dependency accordingly
@@thetechbrotherss I watch your complete video and follow each step but error still exist in andriod>app>build.gradle when i remove new keyword in front of Propertie() and throw new GradleException it's error remove but app doesn't work but when I again write new keyword in front of this two properties it's showing error but app work correctly.
@@thetechbrotherss I solved all errors and now app working and storing data in firebase but error still exit in build.gradle in andriod app level
@@khabibali4967 ho gya solve
@@anasmalix8593 yes automatically solve ho gya ha
have error
share errors
Voice toh nhi aa rahi bilkul bhi
aa rae ha
@@thetechbrotherss only with one speaker !!!
too much drag ... video's length could be reduced to 50%
Ok, thank you for feedback
Sir ek error aa raha hai
Could not find method id() for arguments [com.google.gms.google-services] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
And changed/moved
id 'com.google.gms.google-services'
to:
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
* Where:
Build file 'E:\flutter projects\firebase_integri\android\build.gradle' line: 11
* What went wrong:
A problem occurred evaluating root project 'android'.
> Supplied String module notation 'com.google.gms.google-services' is invalid. Example notations: 'org.gradle:gradle-core:2.2', 'org.mockito:mockito-core:1.9.5:javadoc'.
Sir project level build.gradle ye issue ye error deta deta hai ... I set it like ... classpath 'com.google.gms.google-services'
you must be doing something wrong bro. Please use latest link
@@thetechbrotherss ok Sir it done by replace . with : after gms
@@azammehmood3678 Thanks for sharing bro, I was facing same issue, after seeing your comment, it is resolved,
this is a minor thing which can't be seen first time, even you follow a tutorial
@@shahzadwarraich2911 you welcome bro but for your kind information, whenever you have any issue then copy past the issue to chatgpt bqz i found this solution on chatgpt ....
PROBLEM:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [com.google.firebase:firebase-analytics-ktx:21.2.2] C:\Users\hp\.gradle\caches\transforms-3\a66e5203550ce48cdd47756c2dd244ff\transformed\jetified-firebase-analytics-ktx-21.2.2\AndroidManifest.xml as the library might be using APIs not available in 16
Suggestion: use a compatible library with a minSdk of at most 16,
or increase this project's minSdk version to at least 19,
or use tools:overrideLibrary="com.google.firebase.analytics.ktx" to force usage (may lead to runtime failures)
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at help.gradle.org
BUILD FAILED in 1s
Exception: Gradle task assembleDebug failed with exit code 1
SOLUTION:
go to --> module (app-level) build.gradle file
find this
defaultConfig {
// TODO: Specify your own unique Application ID (developer.android.com/studio/build/application-id.html).
applicationId "com.example.firebase"
// You can update the following values to match your application needs.
// For more information, see: docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
minSdkVersion flutter.minSdkVersion
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
change: minSdkVersion flutter.minSdkVersion
to this: minSdkVersion 19
it will look like this
defaultConfig {
// TODO: Specify your own unique Application ID (developer.android.com/studio/build/application-id.html).
applicationId "com.example.firebase"
// You can update the following values to match your application needs.
// For more information, see: docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
minSdkVersion 19
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
thanks, me later...!
please follow video carefully
Could not find com.google.gms.google-services:4.3.10:.
Required by:
project :
i am getting this error
Add kro na isko jaise mainy project ma add ki ha
How to solve properties & gradle exception
share error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [com.google.firebase:firebase-analytics-ktx:21.2.2] C:\Users\hp\.gradle\caches\transforms-3\a66e5203550ce48cdd47756c2dd244ff\transformed\jetified-firebase-analytics-ktx-21.2.2\AndroidManifest.xml as the library might be using APIs not available in 16
Suggestion: use a compatible library with a minSdk of at most 16,
or increase this project's minSdk version to at least 19,
or use tools:overrideLibrary="com.google.firebase.analytics.ktx" to force usage (may lead to runtime failures)
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at help.gradle.org
BUILD FAILED in 1s
Exception: Gradle task assembleDebug failed with exit code 1
I have fixed this error in this video
go to build gradle file and change the min sdk version
@@thetechbrotherss ok thanks
@@thetechbrotherss I correct it with chatgpt😂🤣😁😁😁
How to solve properties & gradle exception
share error
How to solve properties & gradle exception
share error
How to solve properties & gradle exception
share error.
How to solve properties & gradle exception
share error
How to solve properties & gradle exception
share error
How to solve properties & gradle exception
share error
How to solve properties & gradle exception
share error
How to solve properties & gradle exception
share error