Simple Push Notification Firebase Cordova Plugin

Поделиться
HTML-код
  • Опубликовано: 27 дек 2016
  • Steps simple notification :
    1. Create project cordova
    2. Create Project firebase - console.firebase.google.com/
    3. Download google-services.json
    4. Copy google-services.json to root project cordova
    5. Add plugin cordova-plugin-firebase - github.com/arnesson/cordova-p...
    6. Add platform android
    7. Send notification from console firebase
    8. Done
    Next video :
    - Get id token and push to specific devices
    - Push from server with curl php

Комментарии • 61

  • @leandroricardocba
    @leandroricardocba 6 лет назад

    Thanks a lot! I've watched others videos but never have success in to do it work.

  • @sesmx
    @sesmx 6 лет назад

    Perfectly okay. Great tutorial. Thank you so much...

  • @user-xr4pl1gr3l
    @user-xr4pl1gr3l 7 лет назад

    awesome! what i looking is in here!!
    waiting for next video!!

  • @sarapenina8548
    @sarapenina8548 5 лет назад

    Hey, this helped and it's very simple, thanks a lot.

  • @dostonhamrakulov
    @dostonhamrakulov 7 лет назад

    Great job, it works perfectly

  • @minahlalkheer
    @minahlalkheer 7 лет назад

    Thank you sooooooo much Sir, Allah blesses you

  • @mads2k5
    @mads2k5 4 года назад

    By now (2020, jan) you can substitute cordova-plugin-firebase by cordova-plugin-firebasex.
    I just tried this process after not being able of integrating cordova-plugin-firebasex in a existing application, just to test the process and it worked perfectly.

  • @anangfahmisyarif
    @anangfahmisyarif 6 лет назад

    matur suwun tutorial nya mas'e

  • @orlandook
    @orlandook 6 лет назад

    excelente !! funciono a la primera ,

  • @isadorastangarlin6929
    @isadorastangarlin6929 7 лет назад

    Worked for me, thanks

  • @Irnovi27
    @Irnovi27 5 лет назад

    Nice tutorial bro. Salam dari Semarang

  • @YuriFontella
    @YuriFontella 6 лет назад

    Thank you.

  • @SOURAVBISWAS1991
    @SOURAVBISWAS1991 7 лет назад

    Keep up the good work !

  • @ruben45210
    @ruben45210 6 лет назад +2

    Funcionou de primeira aqui.

  • @strawZero
    @strawZero 7 лет назад +1

    thanks

  • @JpLast20
    @JpLast20 7 лет назад

    @ABSystem Solo -
    update for version 0.1.22 is not getting token from device.. Please help to fix.

  • @gamalsebaee3890
    @gamalsebaee3890 7 лет назад

    Running hook to copy any available google-services.json file to Android
    [TypeError: Cannot read property 'current_key' of undefined]

  • @hawaiicola
    @hawaiicola 7 лет назад

    send message when i try on --emulator it's alert App has stopped but try on --device... it can function!! maybe old version not working or if run in --emulator

  • @develocode7773
    @develocode7773 5 лет назад

    Thanks! how do you create an avd?

  • @diegoquito3264
    @diegoquito3264 6 лет назад

    Hi, how to add build.gradle??, minute 1:25. I am use apache cordova please helpme!!

  • @havastribu5779
    @havastribu5779 7 лет назад +1

    Can you make same tutorial for ios please?

  • @_origin5858
    @_origin5858 5 лет назад

    does this work even if i close the app ?

  • @lebronjames8686
    @lebronjames8686 5 лет назад

    what cordova and android version are you using?

  • @narasimhulumadhana6016
    @narasimhulumadhana6016 6 лет назад

    i didn't get notifications and tried to get token but its empty

  • @darth_driver
    @darth_driver 7 лет назад

    Hi! could you help me? i have troubles when i try to get device token. can you share me part of code how i can use this plugin function and override it's body? thank you

  • @bharadhanvm1999
    @bharadhanvm1999 5 лет назад +1

    Notification is not received in mobile

  •  7 лет назад +1

    After I send the notification my application closes. What happens?

    • @josuepalma
      @josuepalma 7 лет назад

      not working for me, "unfortunately, App has stopped"

  • @edupack
    @edupack 4 года назад +1

    its not working now

  • @CesarGomezzkr
    @CesarGomezzkr 6 лет назад

    como seria usando phonegap build?

  • @cahyadyazin
    @cahyadyazin 7 лет назад

    saya kedapatan error seperti ini :
    FAILURE: Build failed with an exception.
    * What went wrong:
    Execution failed for task ':transformClassesWithDexForDebug'.
    > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    BUILD FAILED
    Total time: 2 mins 48.478 secs
    Error: cmd: Command failed with exit code 1 Error output:
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Kira kira bagaimana cara fix nya ?

  • @lubomiir
    @lubomiir 7 лет назад +1

    I tryed to build the app with "cordova build android", installed it in my physical device, started and it doesn't' recieve any notifications ...

    • @calebprenger3928
      @calebprenger3928 7 лет назад +1

      I think there was another step to this, which was his actual app, he didn't tell us the code he entered into it.

    • @lubomiir
      @lubomiir 7 лет назад +1

      actualy, it started working :) thx anyway

    • @solodeveloper3799
      @solodeveloper3799  7 лет назад

      My second tutorial using real device & work

    • @ersaurabher
      @ersaurabher 7 лет назад +1

      same is happening with me, how did it work ????

    • @WilliamCodewizard
      @WilliamCodewizard 6 лет назад

      Hi, pls, give me the link of your second tutorial

  • @ersaurabher
    @ersaurabher 7 лет назад

    my project used to successfully build android apk, but after installing cordova plugin and adding google json file it has started producing this error on android build -
    Error: cmd: Command failed with exit code 1 Error output:
    FAILURE: Build failed with an exception.
    * What went wrong:
    A problem occurred configuring root project 'android'.
    > Could not resolve all dependencies for configuration ':_debugApkCopy'.
    > Could not find any matches for com.google.firebase:firebase-core:+ as no versions of com.google.firebase:firebase-core
    are available.
    Required by:
    :android:unspecified
    > Could not find any matches for com.google.firebase:firebase-messaging:+ as no versions of com.google.firebase:firebase-
    messaging are available.
    Required by:
    :android:unspecified
    > Could not find any matches for com.google.firebase:firebase-crash:+ as no versions of com.google.firebase:firebase-cras
    h are available.
    Required by:
    :android:unspecified
    > Could not find any matches for com.google.firebase:firebase-config:+ as no versions of com.google.firebase:firebase-con
    fig are available.
    Required by:
    :android:unspecified

    • @MounirAbderrahmani
      @MounirAbderrahmani 7 лет назад

      try ionic state reset

    • @akramfaiz411
      @akramfaiz411 7 лет назад

      I too faced this issue. Got fixed by uninstalling the plugin and reinstalling it and creating a build.

  • @adrianrafaelcastillopedroz6585
    @adrianrafaelcastillopedroz6585 7 лет назад

    tengo un error...
    Error: cmd: Command failed with exit code 1 Error output:
    FAILURE: Build failed with an exception.
    * What went wrong:
    Execution failed for task ':mergeDebugResources'.
    > Error: Failed to crunch file C:\Users\Ing. Adrian Castillo\Desktop\Mis archivos\Android\pushnotification\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\11.0.2
    es\drawable-xxhdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png into C:\Users\Ing. Adrian Castillo\Desktop\Mis archivos\Android\pushnotification\platforms\android\build\intermediates
    es\merged\debug\drawable-xxhdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    • @WilliamCodewizard
      @WilliamCodewizard 6 лет назад

      cambia de ubicación la carpeta del proyecto, tu ruta parece tener caracteres especiales, yo lo puse en C:| y funciono bien

  • @DangerDD
    @DangerDD 5 лет назад

    How to track clicked notification?

  • @amitsahu2684
    @amitsahu2684 5 лет назад

    i diidnt get notification on emulator

  • @akramfaiz411
    @akramfaiz411 7 лет назад

    I am unable to get notifications when application is closed.
    Help required.

    • @_origin5858
      @_origin5858 5 лет назад

      did you find any solution?

  • @dreamcodersbd1132
    @dreamcodersbd1132 6 лет назад

    unfortunately, didn't work for me.

  • @synccompany4020
    @synccompany4020 7 лет назад +1

    First time... not worked... than i erase all... and recreate with one diferent step...
    cordova plugin add github.com/arnesson/cordova-plugin-firebase
    than... this time work! :-)

  • @zhour-wazzania
    @zhour-wazzania 5 лет назад

    Dont work whit PhoneGap Cordova

  • @rodolfolopezp
    @rodolfolopezp 5 лет назад

    Dont work whit PhoneGap and Cordoba

  • @Sanjay54251
    @Sanjay54251 4 года назад +1

    in 2020 not work

  • @juanmanuelvalderramarengif9633
    @juanmanuelvalderramarengif9633 6 лет назад

    Hola excelente tu video, yo tengo mi app hecha en ionic 1 y servidor con laravel 5.1, no he podido enviar las notificaciones desde mi servidor... me podrias ayudar ??? Muchas Gracias ...

  • @dasatraMedia
    @dasatraMedia 5 лет назад

    Kenapa gak jalan ya bro?

  • @dasatrahiphop9665
    @dasatrahiphop9665 5 лет назад

    This tutorial was incomplete I think, so many errors I got

  • @hasnainkhan-mm7fu
    @hasnainkhan-mm7fu 5 лет назад

    what nonsens this sound

  • @muhammedyilmaz2907
    @muhammedyilmaz2907 4 года назад

    music is so stupid!

  • @zhour-wazzania
    @zhour-wazzania 5 лет назад

    Notification is not received in mobile