Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kumailSFS opened this issue Mar 22, 2024 · 1 comment
Open

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

kumailSFS opened this issue Mar 22, 2024 · 1 comment

Comments

@kumailSFS
Copy link

kumailSFS commented Mar 22, 2024

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

@wilkinsonj
Copy link

It's iOS only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants