Skip to content

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

@PanayotCankov

Description

@PanayotCankov

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.

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