Giter Site home page Giter Site logo

Duplicate resources (string/google_app_id and string/google_api_key) as of v4.4.3 about cordova-plugin-fcm-with-dependecy-updated HOT 4 CLOSED

andrehtissot avatar andrehtissot commented on June 3, 2024
Duplicate resources (string/google_app_id and string/google_api_key) as of v4.4.3

from cordova-plugin-fcm-with-dependecy-updated.

Comments (4)

andrehtissot avatar andrehtissot commented on June 3, 2024 2

Due to a bug introduced in v4.4.3, the file platforms/android/app/src/main/res/values/strings.xml had two tags included on install, tags which, on build, are also included by [email protected]. Hence failing the build process.

To apply the fix, install the new version and remove these two tags from your values/strings.xml:

  • <string name="google_app_id">...</string>
  • <string name="google_api_key">...</string>

from cordova-plugin-fcm-with-dependecy-updated.

andrehtissot avatar andrehtissot commented on June 3, 2024 1

Would you tell me which other plugins you have installed? The conflict might only occur if there is other also adding the firebase app id and key.

Thank you for mentioning, it'll be investigated and fixed. :)

from cordova-plugin-fcm-with-dependecy-updated.

leMaik avatar leMaik commented on June 3, 2024

Here's the list of other plugins. I don't see one that should also add the firebase app id and key. It doesn't happen if I keep all plugins and downgrade this one.

    "@gedysintraware/cordova-universal-links-plugin": "git+https://github.com/GEDYSIntraWare/cordova-universal-links-plugin.git",
    "cordova-android": "^8.1.0",
    "cordova-custom-config": "^5.1.0",
    "cordova-ios": "^5.0.1",
    "cordova-plugin-android-permissions": "^1.0.0",
    "cordova-plugin-camera-preview": "^0.11.0",
    "cordova-plugin-fcm-with-dependecy-updated": "4.4.1",  ← downgraded this one for now
    "cordova-plugin-headercolor": "^1.0.0",
    "cordova-plugin-inappbrowser": "^3.1.0",
    "cordova-plugin-ionic-keyboard": "2.2.0",
    "cordova-plugin-ionic-webview": "^4.1.1",
    "cordova-plugin-splashscreen": "^5.0.3",
    "cordova-plugin-statusbar": "^2.4.3",
    "cordova-plugin-whitelist": "^1.3.4"

from cordova-plugin-fcm-with-dependecy-updated.

niccolofanton avatar niccolofanton commented on June 3, 2024

Hi, I'm having the same issue. This is my list

      "cordova-plugin-fcm-with-dependecy-updated": {
        "FCM_VERSION": "19.0.0",
        "GRADLE_TOOLS_VERSION": "3.5.3",
        "GOOGLE_SERVICES_VERSION": "4.3.3",
        "SUPPORT_LIBRARY_VERSION": "28.0.0",
        "ANDROID_DEFAULT_NOTIFICATION_ICON": "@mipmap/ic_launcher"
      },
      "cordova-plugin-whitelist": {},
      "cordova-plugin-statusbar": {},
      "cordova-plugin-device": {},
      "cordova-plugin-splashscreen": {},
      "cordova-plugin-ionic-webview": {
        "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"
      },
      "cordova-plugin-ionic-keyboard": {}

from cordova-plugin-fcm-with-dependecy-updated.

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.