Closed mustafabekec closed 4 years ago
Can you please follow the checklist which you have seen while creating the issue. It's hard for us to know the environment of the issue author.
Can you please follow the checklist which you have seen while creating the issue. It's hard for us to know the environment of the issue author.
I don't know exactly what you mean. If you can give me a more specific answer, I will do what I have to do. Excuse me. Thank you.
On a quick note, you must be using an old version of ionic-cli
. Also, since you are using Ionic, instead of cordova plugin add cordova-plugin-firebase-lib
, you need to do ionic cordova plugin add cordova-plugin-firebase-lib
. So do the following steps:
cordova plugin remove cordova-plugin-firebase-lib
ionic cordova plugin add cordova-plugin-firebase-lib
Can you please follow the checklist which you have seen while creating the issue. It's hard for us to know the environment of the issue author.
I don't know exactly what you mean. If you can give me a more specific answer, I will do what I have to do. Excuse me. Thank you.
When you have started raising this issue, you must have seen this template https://github.com/wizpanda/cordova-plugin-firebase-lib/issues/new?template=bug_report.md. Before debugging an issue, the repository author needs to know about the system environment of the reporter. That will definitely help us to help you 😄
@mustafabekec did that worked?
@mustafabekec did that worked?
Ionic:
Ionic CLI : 5.2.3 (C:\Users\Meftun\AppData\Roaming\npm\node_modules\ionic) Ionic Framework : ionic-angular 3.9.3 @ionic/app-scripts : 3.2.1
Cordova:
Cordova CLI : 8.1.1 (cordova-lib@8.1.0) Cordova Platforms : android 8.0.0 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 19 other plugins)
Utility:
cordova-res : not installed native-run : 0.2.7
System:
Android SDK Tools : 26.1.1 (C:\Users\Meftun\AppData\Local\Android\sdk) NodeJS : v10.16.0 (C:\Program Files\nodejs\node.exe) npm : 6.10.0 OS : Windows 10
npm uninstall -g cordova
npm cache clean --force
npm i -g cordova@8.1.1
ionic cordova platform rm android
cordova plugin remove cordova-plugin-firebase
cordova plugin add cordova-plugin-firebase-lib@4.1.0 --save
ionic cordova plugin add cordova-plugin-androidx
ionic cordova plugin add cordova-plugin-androidx-adapter
ionic cordova platform add android@8.0.0
cordova run android
It worked that way. That was the first problem I had in Github. So I'm sorry for the wrong format. Thank you so much for your support!
@mustafabekec did that worked?
@sagrawal31 Why doesn't this extension add the firebase folder to node_modules\@ionic-native? That's why I'm getting errors now. It's about Firebase.
node_modules\@ionic-native folder
Normally when we install this Firebase extension it adds firebase to the node_modules\@ionic-native directory. But that does not add?
I think the problem will be solved when you add firebase to this directory. How can I do this with your plugin? Help me please..
Ionic is not related to this plugin. It's (@ionic-native/firebase@4
) just a typescript wrapper to use the API of this plugin in Angular/Ionic code. So you must be adding the wrong version of that wrapper. Please try installing @ionic-native/firebase@4
.
Closing this issue considering the issue not related to this Cordova plugin. Feel free to reopen if you have a direct issue with this plugin.
I did the following operations respectively. But I get the plugin not installed. How can I solve this problem?
ionic cordova platform rm android
cordova plugin remove cordova-plugin-firebase
cordova plugin add cordova-plugin-firebase-lib
ionic cordova plugin add cordova-plugin-androidx
ionic cordova plugin add cordova-plugin-androidx-adapter
ionic cordova run android
Link