Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

App Crash after installing nativescript-plugin-firebase #273

Description

@jon26rite
  • CLI: 6.5.1
  • Cross-platform modules:
    "name": "tns-core-modules",
    "nativescript": {
    "platforms": {
    "ios": "5.0.0",
    "android": "5.0.0"
    }
    },
  • Runtime(s):
    "tns-android": {
    "version": "6.5.0"
    },
    "tns-ios": {
    "version": "6.5.0"
    }
  • Plugin(s):

"nativescript-geolocation": "^5.1.0",
"nativescript-plugin-firebase": "^10.6.3",

Please, tell us how to recreate the issue in as much detail as possible.

When I press the button tap then goes to this function it crash

private getDeviceLocation(): Promise {

    return new Promise((resolve, reject) => {
        Geolocation.enableLocationRequest().then(() => {
            Geolocation.getCurrentLocation({timeout: 10000}).then(location => {
                resolve(location);
            }).catch(error => {
                reject(error);
            });
        });
    });
}

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions