Skip to content

Incompatibility with firebase-admin 11.5.0 #261

Description

@sentd94
    GeoFireClient.prototype.point = function (latitude, longitude) {
        return {
            geopoint: new this.app.firestore.GeoPoint(latitude, longitude),
            geohash: encode(latitude, longitude, 9)
        };
    };

this.app.firestore.GeoPoint is not a constructor in the latest version.

This leads to an issue when trying to create a GeoPoint like this (when using the latest firebase-admin version):

const position = geo.point(40, -119);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions