Giter Club home page Giter Club logo

Comments (7)

robingenz avatar robingenz commented on June 7, 2024 2

@cyril-colin Thank you very much. I have released the changes (npm).

from firebase-crashlytics.

cyril-colin avatar cyril-colin commented on June 7, 2024 1

Hi, I have a similar issue :

Error: node_modules/@capacitor-community/firebase-crashlytics/node_modules/@capacitor/core/types/definitions-internal.d.ts:16:18 - error TS2430: Interface 'CapacitorInstance' incorrectly extends interface 'CapacitorGlobal'.
  Types of property 'Plugins' are incompatible.
    Type '{ [pluginName: string]: { [prop: string]: any; }; }' is missing the following properties from type 'PluginRegistry': FirebaseCrashlytic, SignInWithApple, GoogleAuth

16 export interface CapacitorInstance extends CapacitorGlobal {

I believe it is a retrocompatibility problem with Capacitor 3 : in fact, in https://github.com/capacitor-community/firebase-crashlytics/blob/v0.4.0/package.json , we can see the plugin have dependencies to "latest" capacitor version, and this latest version is capacitor 3, that is not fully compatible with the rest of this plugin.

could you, make 0.4.1 version with

"@capacitor/android": "^2.4.8",
"@capacitor/ios": "^2.4.8",

instead of "latest" ?

Thank you !

EDIT :
We can see similar issue in these plugins :

from firebase-crashlytics.

robingenz avatar robingenz commented on June 7, 2024

Thank you for your request.
I need more information to be able to help you. Please fill in the bug template correctly.

from firebase-crashlytics.

karm435 avatar karm435 commented on June 7, 2024

Current behavior:
Ionic build with ESLint is causing lining error while running iOS build

Expected behavior:
There should be no linting error in the library

Steps to reproduce:

  • Use ESLint
  • Run Ionic build and the error shows up the in console.

Related code:
Shown in the error image

Other information:
My configuration
"@capacitor/core": "2.4.2",
"@ionic/angular": "^5.4.1",
"@angular/core": "~11.1.1",
"eslint": "^7.6.0",
"typescript": "~4.1.3"

Capacitor doctor:
Not required as it is happening while doing Ionic build.

from firebase-crashlytics.

robingenz avatar robingenz commented on June 7, 2024

Thank you!
Unfortunately, I could not reproduce the issue. Possibly also because I do not know the rest of the dependencies.
Please provide a minimal, reproducible example (see here).

from firebase-crashlytics.

karm435 avatar karm435 commented on June 7, 2024

I will try to get a sample project with the error. thanks for the reply.

from firebase-crashlytics.

cyril-colin avatar cyril-colin commented on June 7, 2024

To reproduce :

git clone https://github.com/capacitor-community/firebase-crashlytics.git
cd firebase-crashlytics
git checkout v0.4.0
npm install #this will download the 'latest' capacitor, that is not compatible with v0.4.0
npm build => failed to compile

from firebase-crashlytics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.