Can't pass null for argument 'pathString' in child in Firebase Database

Опубликовано: 28 Октябрь 2024
на канале: Skyknow
2,030
13

Hi Hello Friends
Today Video Topic about
"Can't pass null for argument 'pathString' in child() in Firebase Database"
Why This Problem :
Any null child Pass to Database then Will face the Error

DatabaseReference refAvailable = FirebaseDatabase.getInstance().getReference("Driver_Available").child(servicecategory);

This Variable presend null Values
String servicecategory;
So i'm changed Empty Value
String servicecategory = "" ;
From My side i'm clear issue
Then you face this Error Check First passing Child Value Null or not
Thanks For Watching Please Support and Subscribe Our Channel