Giter Site home page Giter Site logo

Comments (4)

andrehtissot avatar andrehtissot commented on June 3, 2024 1

Thank you @zinebAme for helping with the questions.

As for Android, you can set the default, by installing the plugin with the variable ANDROID_DEFAULT_NOTIFICATION_ICON set. As explained in https://github.com/andrehtissot/cordova-plugin-fcm-with-dependecy-updated#version-420-24022020.

To have the Push in an emulator, is always recommended to use an android image with "Google Play" or, for older android versions, "Google API".

Still need support for changing the icons on iOS?

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

zinebAme avatar zinebAme commented on June 3, 2024

did u resolves the probleme?

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

leocharrua avatar leocharrua commented on June 3, 2024

Hello. I was able to configure the notifications icon.

  1. Generate icons with white color and transparent. You can use this app for this:

http://romannurik.github.io/AndroidAssetStudio/icons-notification.html

  1. Copy the generated folders named drawable-... to the res folder:
    platforms/android/app/src/main/res

  2. When you send the FCM notification specifies:
    "icon": "fcm_push_icon",
    "color": "red",
    for example.

Luck!!!

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

andrehtissot avatar andrehtissot commented on June 3, 2024

Closed issue due to inactivity.

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.