Skip to content

Firebase Template Bug for android: Metadata cannot be null  #8548

@Afea13

Description

@Afea13

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: "@angular/compiler-cli": "~8.2.0",
  • Cross-platform modules:
  • Android Runtime: "tns-android": {
    "version": "6.3.1"
    },
  • iOS Runtime:not using
  • Plugin(s):

Describe the bug
i have followed all instruction given in https://github.com/NativeScript/nativescript-app-templates/tree/master/packages/template-master-detail-ng. all functionality with firebase is working correctly. in case of Image upload, i get an error:
JS: Error in firebase.uploadFile: Error: java.lang.IllegalArgumentException: metadata cannot be null

To Reproduce
follow the same steps given in the ReadMe file with the template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions