How to send Ionic Local Notifications (Schedule, Payload and Callback)

Поделиться
HTML-код
  • Опубликовано: 11 май 2017
  • We will add Local Notifications to your Ionic app and schedule notifications for later!
    🔥 Learn to build mobile apps with Ionic in my Ionic Academy: ionicacademy.com/
    💎 Get the Built with Ionic Book: builtwithionic.com/
    #############################
    Want to read instead of watch? Here's the full tutorial: ionicacademy.com/ionic-local-...
    Want more tutorials? Here you go! devdactic.com/
    Just getting started? Take my 7 Day Ionic Crash Course: ionicacademy.com/ionic-crash-...
    #############################
    My Private Daily Vlog: / @solopreneuradventures...
    You can also find me
    on / schlimmson
    on / devdactic
    on / simongrimm_
    #############################
  • НаукаНаука

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

  • @felipehagaren9616
    @felipehagaren9616 4 года назад +3

    Awesome video, the only thing is that with the new capacitor things just coming up would be good to call it out that is a cordova tutorial.
    Keep the good work mate!

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

    Thanks for the video! Awesomnessss!

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

    Thanks, really informative

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

    Amazing video

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

    Simon, can we make the local notifications recurring?

  • @akhanda-
    @akhanda- 7 лет назад

    thats a great help...
    I am getting "no target found to deploy" error while running "ionic cordova run ios --livereload" command after connecting the iphone to the macbook. I assume this could reload the app as the code changes. Do I need to setup any settings to facilitate that. please help. and again thanks for the tutorial

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

    Sir Simon Grimm,
    How to manage the time we want?
    While the one in the video is only to show notifications only.
    Thanks. Please help

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

    Hello Simon, I got a problem when a push more than one notification. For example, I added 2 notification, the first one is 01:02 and second is 01:05, the situations is the second replace the first notificacion. I generate random id's.

  • @ideasolutionbz
    @ideasolutionbz 5 лет назад +2

    great tutorial Simon. Thank you for sharing. how do you schedule a notification at specific day and time that repeats daily?

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

      I'll have a video come out on that today :)

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

      @@galaxies_dev thank you very much. Looking forward in seeing it.

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

      @Simon Grimm Is there any video regarding this..?

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

    For icon I changed the icon but though it adding white square box icon down to my icon please suggest

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

    Thank you for this lesson, I am very happy with this channel, regarding local notifications can it be used if the application runs behind the scenes ...? Thanks..

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

      A local notification from your app should fire even if the app is terminated. But keep in mind, it's something else than push notifications!

    • @fitucode1368
      @fitucode1368 5 лет назад +2

      @@galaxies_dev Yes because I want to use Firebase for realtime notifications, so users easily get the latest information. thank you for responding to me!

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

    Hey I am getting error saying plugin- not -found . Please let me know why is throwing this error .

  • @creativeartdesign-mrkamal893
    @creativeartdesign-mrkamal893 5 лет назад

    You said ioinc 3 and above.. It is not the same code, can you make one for IONIC 4?

  • @Alex-lg4dx
    @Alex-lg4dx 6 лет назад

    Hello
    After add localnotification, i have some errors
    i can't run code in real android 6.0 device

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

    if i want to make the schedule 1 day before, how i make that? thanks

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

    hi this was a great vedio ,I follow all your vedios they help me lot in my work .I was trying to schedule the notification by giving the date and time on my own trigger: { at: new Date(2017, 10, 27, 15) } in this way as shown in the git hub documentation but its not working y I am unable to understand and I also tried to schedule the notification after 10,1,2mints but I am unable to do that and I searched a lot other then git hub doumentation but I couldnt get how to schedule notification using a selected date and a selected time

  • @creativeartdesign-mrkamal893
    @creativeartdesign-mrkamal893 5 лет назад

    i trying to set sound file but does not work. Working with IONIC 4
    i added this row: sound: 'file://assets/audio/athan_abdul_baset.mp3', it does not play on the notification trigged..

  • @wahyuartadianto995
    @wahyuartadianto995 5 лет назад +2

    how to display data from mysql using local notification

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

    Hey dude, you are make a bottom nav bar and slidenav ?

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

      What you exactly mean, what are you looking for?

  •  5 лет назад

    Hello everyone friends..
    My problem is, how to do 1 time local notification per every 10 minutes or every per 1 hour? Because i couldn't set it more than about 5 minutes because app take itself standby mode after 5-6 minutes and it is not sending the local notification for a information reminder application project... Please help me, thank you...

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

    everytime i see toturial about ionic, they always have the same code editor, i'm wondering what editor you use?

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

      Visual Studio Code

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

      Hi, it's visual studio code, I use the same IDE. it's a great IDE

  • @creativeartdesign-mrkamal893
    @creativeartdesign-mrkamal893 5 лет назад

    Can you make a guide for local notification in ionic 4?

  • @azarudeen6054
    @azarudeen6054 Год назад

    Hi Simon,
    I am receiving notifications when app running, but i want to receive the notification even app is closed, Which plugin or method i want to use,

    • @galaxies_dev
      @galaxies_dev  Год назад

      You need to add push notifications, not local notifications if you want to trigger a push from outside (e.g. a server)!

  • @psalm2326
    @psalm2326 2 года назад

    Hi simon - how to clear notification please

  • @brainerhidalgo7353
    @brainerhidalgo7353 Год назад

    Se puede usar Local Notificaciones en IOS

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

    how do you schedule a notification at specific day and time that repeats daily?

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

      The package has a syntax for defining these things, check out the repo on Github for the exact way!

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

    no its not working when tap not opening alert window

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

    Hi simon sir,
    Notification is not working in ios when app is open. I am stuck here please help me.

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

      Same problem, did you resolve it?

  • @amanullahaman8750
    @amanullahaman8750 6 лет назад +1

    If i want to send local notification in every day 10 am. Then what i need to do?

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

      did you solve ? how do you did ?

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

      @@PatoTapado You can use observable with specific Interval..

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

    I did exactly what is shown on the video but instead of getting a notification prompt i'm getting a sound played

  • @markanthonyguiquing1515
    @markanthonyguiquing1515 3 года назад

    man can you make full tutorial to make taxi reservation with google map?

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

    I am getting this error
    Native: tried calling LocalNotifications.getAllScheduled, but the LocalNotifications plugin is not installed.
    Please let me know the reason

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

    after I downloaded this plugin ,I can't import LocalNotifications , ctrl+space give me suggestion LocalNotificationsOriginal instead of LocalNotifications . anyone got problem like me?

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

      Hm never heard of that before, but I'll soon work on a v4 version of local notifications. Maybe the package did change?

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

      @@galaxies_dev Thanks simon ;) , my problem is solved already , the library is under local-notifications/ngx/ , so i need to import it from that path , like this "import { LocalNotifications } from '@ionic-native/local-notifications/ngx';" .

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

      @@jomkuygracias!!!

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

    How can I show 4 action button in local notifications?
    It shows only 3...If i add more it takes only first 3

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

      Sorry I haven't tried that out yet, might do a more extended tutorial on these things then!

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

      @@galaxies_dev Can we give out custom css for local Notification?

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

    Hi Simon,
    I have implemented your tutorial but it's not working for me ... on android device nothing happens
    plzz help!!