Skip to content

RNFBMessagingModule.getToken got 4 arguments, expected 2 error #5609

Answered by mikehardy
Canser asked this question in Q&A
Discussion options

You must be logged in to vote

That is usually what happens when native code and javascript bundles are the wrong versions.
Like, you have native react-native-firebase code built for 12.6.0 but react-native-firebase javascript from 12.7.x
I would make very very very sure that your build system is not incorrectly caching the output of some build step, in a fully clean build this should not be possible.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by Canser
Comment options

You must be logged in to vote
1 reply
@mikehardy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants