Skip to content

TypeError: Cannot read property 'registerVoipToken' of null #110

@kumailSFS

Description

@kumailSFS

Issue lies at whenever i tries invoke VoipPushNotification?.registerVoipToken(); in my code it gives me error Cannot read property 'registerVoipToken' of null at package index.js line 95 RNVoipPushNotificationManager.registerVoipToken(); and app crashed. i tried to find solution but didn't found any solution.

node_modules/react-native-voip-push-notification/index.js

    static registerVoipToken() {
        RNVoipPushNotificationManager.registerVoipToken();
    }

Issue is on android only, in ios working fine. I'm using legacy project

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