FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Guard for "undefined" in Observable's on and off · Issue #605 · NativeScript/NativeScript · GitHub

Guard for "undefined" in Observable's on and off #605

Description

The:

application.android.off(application.AndroidApplication.activiryResultEvent, onResult);

Throws:

TypeError: Cannot read property 'split' of undefined'.

A protection against undefined with meaningful error message would be handy.

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL