Tags down


Show Venues in Firebase When User is near

By : Shkodran Ameti
Date : October 18 2020, 03:08 PM
may help you . So I can't guide you through the code, since I'm not a IOS developer. But to achieve this you would need to create some kind of geolocation queries.
In your case you want to filter data based on their radius. (circular query)
code :
if (distance <= radius) {
  // location is in radius

Share : facebook icon twitter icon

Retrieving “venues managed” doesn't shows me all venues of a venue group I manage

By : daariush
Date : March 29 2020, 07:55 AM
it should still fix some issue You can call the /venuegroups/GROUP_ID endpoint for complete information about a venue group.

Foursquare API venues search returns empty venues

By : jerrykillber
Date : March 29 2020, 07:55 AM
it should still fix some issue I confused longitude with latitude and vice versa. My mistake! Thank you (:

Firebase / Angular JS show only firebase entries created by logged in user

By : Saurav Shrivastava
Date : March 29 2020, 07:55 AM
should help you out To get the results that you're looking for, try using an angularjs filter.
In you controller add a function called
code :
$scope.filterByUID = function(event) {
    if (event.createdBy === user.uid) {
        return true;
    return false;
<tr scope="row" ng-repeat="event in events | reverse" >
<tr scope="row" ng-repeat="event in events | reverse | filter:filterByUID" >

Hide/Show the popup menu in cardview when firebase user uid is matched with the firebase database

By : Sky Matt
Date : March 29 2020, 07:55 AM
should help you out I am trying to create a small social networking app and i am using firebase for authentication, database, storage etc. I have a cardview xml which shows the post that user uploaded to the firebase. I have implemented a popup menu in the cardview. This popup view containt a delete menu which if clicked deletes the post. At this time any user of my app can delete any post(from other users also). I want the visibility of this delete menu hidden from the user except the user that uploaded the post. , Add to your variables this string that will hold the current user:
code :
   private String current_user;
   mAuth = FirebaseAuth.getInstance();

   //this means that this post was uploaded by the current user
   //show delete


  //this means that this post was not uploaded by the current user
  //hide delete

MenuItem register = popup.getMenu().findItem(R.id.card_del);

How do I use Firebase Auth to show user-specific data from Firebase Database?

By : user3552512
Date : March 29 2020, 07:55 AM
will help you With your current data structure, you'll need to use a query to find the node(s) that match the email address.
Something like:
code :
DatabaseReference ref = FirebaseDatabase.getInstance().getReference("Timetable");
Query query = ref.orderByChild("User/Email").equalTo("rafansari97@gmail.com");
query.addListenerForSingleValueEvent(new ValueEventListener() {
    public void onDataChange(DataSnapshot dataSnapshot) {
        for (DataSnapshot userSnapshot: dataSnapshot.getChildren()) {
            System.out.println(userSnapshot.getKey()); // Ladybridge High School, Bolton, UK
            System.out.println(userSnapshot.child("Name").getValue(String.class)); // Ladybridge High School

    public void onCancelled(DatabaseError databaseError) {
        throw databaseError.toException();
Privacy Policy - Terms - Contact Us © soohba.com