EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 446 forks source link

node_modules/nativescript-plugin-firebase/firebase.ios.js:661:0 JS ERROR TypeError: log is not a function #1631

Open nmandyam opened 4 years ago

nmandyam commented 4 years ago

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

Describe the steps to reproduce it. Run the app, it crashes, because there's a reference to "log" instead of "console.log" in the plugin. Line # 661 in firebase.ios.js log("--- linking error: " + error.localizedDescription); should be console.log("--- linking error: " + error.localizedDescription);

Funny thing is, even if I fix the code in the plugin, the deployed code (via TestFlight) still fails. Wonder why.