cordova-plugin-firebase icon indicating copy to clipboard operation
cordova-plugin-firebase copied to clipboard

Supporting cordova-cli@9 or cordova-lib@9

Open sagrawal31 opened this issue 5 years ago • 21 comments

As per cordova-lib@9, the requireCordovaModule can only be used to get the cordova-* dependency. This PR is to support that change.

For more info, https://github.com/apache/cordova-lib/issues/706

sagrawal31 avatar Mar 27 '19 07:03 sagrawal31

Would love for this to be merged.

Edit: I've forked it and made the same change in the meantime.

ilyakamens avatar Apr 01 '19 20:04 ilyakamens

Would love it too !

forgr-owner avatar Apr 02 '19 06:04 forgr-owner

@sagrawal31 can you get the build passing?

mismith avatar Apr 03 '19 02:04 mismith

I’ll try.

On Wed, 3 Apr 2019 at 8:23 AM, Murray Smith [email protected] wrote:

@sagrawal31 https://github.com/sagrawal31 can you get the build passing?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/arnesson/cordova-plugin-firebase/pull/1034#issuecomment-479311342, or mute the thread https://github.com/notifications/unsubscribe-auth/ABuI4jp56Ptjqs8HzN5EH1osIKxk5ENtks5vdBelgaJpZM4cNGkF .

-- Thanks, Shashank Agrawal Co-Founder & CTO Wiz Panda Techno Solutions

-- DISCLAIMER: The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. Further, this e-mail may contain viruses and all reasonable precaution to minimize the risk arising there from is taken by Wiz Panda. Wiz Panda is not liable for any damage sustained by you as a result of any virus in this e-mail. All applicable virus checks should be carried out by you before opening this e-mail or any attachment thereto.

Thank you - Wiz Panda Techno Solutions Private Limited.

sagrawal31 avatar Apr 03 '19 02:04 sagrawal31

@mismith I fixed the Travis build. I think, all of them was from before this MR.

sagrawal31 avatar Apr 03 '19 11:04 sagrawal31

Nice work! @arnesson could this be merged now?

mismith avatar Apr 03 '19 13:04 mismith

i tryed your with cordova plugin add https://github.com/wizpanda/cordova-plugin-firebase pr and it work well !

BobCashStory avatar Apr 03 '19 14:04 BobCashStory

Hi, I installed the plugin today (2019-04-15) but the error still happening (Failed to install 'cordova-plugin-firebase': CordovaError: Using "requireCordovaModule" to load non-cordova module "xcode" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.)

    <plugin name="cordova-plugin-firebase" spec="https://github.com/arnesson/cordova-plugin-firebase" />
    <engine name="android" spec="7.1.4" />
    <engine name="ios" spec="4.5.5" />

Version 2.0.5 was installed by cordova

pcova2099 avatar Apr 15 '19 14:04 pcova2099

@pcova2099 it's not merged that why, if you want to make it work before merge, use this cordova plugin add https://github.com/wizpanda/cordova-plugin-firebase

forgr-owner avatar Apr 15 '19 14:04 forgr-owner

I´ve got this error with

cordova plugin add https://github.com/wizpanda/cordova-plugin-firebase

Installing "cordova-plugin-firebase" for ios
Failed to install 'cordova-plugin-firebase': Error: Cannot find module 'xcode'
Ionic:

   ionic (Ionic CLI)  : 4.4.0 (C:\Users\pcova\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework    : ionic-angular 3.9.3
   @ionic/app-scripts : 3.2.1

Cordova:

   cordova (Cordova CLI) : 8.1.2 ([email protected])
   Cordova Platforms     : ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 5 other plugins)

System:

 (C:\Program Files (x86)\Android\android-sdk)
   NodeJS            : v8.11.1 (C:\Program Files (x86)\nodejs\node.exe)
   npm               : 5.6.0
   OS                : Windows 10

pcova2099 avatar Apr 15 '19 17:04 pcova2099

@pcova2099 you need to run npm i xcode --save-dev in your project as a temporary workaround as I have mentioned here

sagrawal31 avatar Apr 16 '19 05:04 sagrawal31

+1

gdespiritorflex avatar Apr 23 '19 12:04 gdespiritorflex

hello sir, I see this PR along time, can I ask, when this will be merge?

hiepxanh avatar May 12 '19 17:05 hiepxanh

Is this project dead?

remisture avatar May 13 '19 06:05 remisture

I am also waiting for this PR to be merged will this happen any time soon?

paulsmith47 avatar May 15 '19 10:05 paulsmith47

We are now maintaining a fork wizpanda/cordova-plugin-firebase-lib with all these fixes & changes.

sagrawal31 avatar May 17 '19 11:05 sagrawal31

thanks a lots, wizpanda/cordova-plugin-firebase-lib it's working perfectly well.

pcova2099 avatar May 20 '19 17:05 pcova2099

+1. Please merge this.

gdespiritorflex avatar May 22 '19 16:05 gdespiritorflex

Let's merge this...

sgioia9 avatar May 27 '19 20:05 sgioia9

This is still marked open and I'm still getting the error, assuming this isn't merged yet. Do we know when it will be? Have yet to try the work around. Wanted to know how close the merge was.

nascarjake avatar Jul 26 '19 23:07 nascarjake

@nascarjake a lot of people have moved to https://github.com/wizpanda/cordova-plugin-firebase-lib or https://github.com/dpa99c/cordova-plugin-firebasex

ryanmtaylor avatar Jul 31 '19 00:07 ryanmtaylor