Ionic 6 capacitor Local Notifications

Поделиться
HTML-код
  • Опубликовано: 22 дек 2024

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

  • @fernandocorrea6741
    @fernandocorrea6741 Год назад +1

    Thanks. This is until now the only place where i could learn and implement this functionality without find a lot problems in the way

  • @javims95
    @javims95 9 месяцев назад +2

    Thank you so much. The only video that worked for me the first time

  • @oluwatobilobaomojola4647
    @oluwatobilobaomojola4647 Год назад +1

    Precise and concise. Thanks. This was super helpful

  • @VNCABEATS
    @VNCABEATS Год назад +1

    My notification just appear one time and it not show anymore the message that i'm reciving it's:
    {"code":"UNIMPLEMENTED"} can i solve it?:(

  • @jean13666
    @jean13666 Год назад +1

    Thank you very much for the video.

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

    thanks! i have this problem, the notification doesn't runs in Doze mode, when display is turned off. The notification is visible only if i turn the display on. I have set the allowWhileIdle: true

  • @marjd
    @marjd Год назад +1

    Nice tutorial! I'm new to mobile dev. But I have to ask this. How did you automatically sync the changes from vscode to your android emulator?

    • @techbinomial
      @techbinomial  Год назад +1

      $ ionic capacitor run ios -l --external
      $ ionic capacitor run android -l --external
      For more information
      ionicframework.com/docs/cli/livereload

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

      @@techbinomial Thanks a lot. Also, I was wondering how would you implement it if you click the notification and will open to a specific screen of the app? And is local-notication capable to send notifs on a schedule even if the app is closed?

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

      @@marjdyou can go for push notifications.
      ionicframework.com/docs/native/push-notifications

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

    Great video. I'd like to understand more how iOS interprets channels in Capacitor, because channels are for Android only ?

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

      Don't have infra for ios development. so only android

  • @biplabsharma5344
    @biplabsharma5344 6 месяцев назад +1

    Thanks madam for the help

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

    How to import scheduleoptions?

    • @techbinomial
      @techbinomial  Год назад +1

      import { LocalNotifications,ScheduleOptions, CancelOptions,Channel} from '@capacitor/local-notifications';

  • @tiavinajonathanrakotorisoa8872
    @tiavinajonathanrakotorisoa8872 9 месяцев назад

    Can i have the full code for this tutorial??

    • @techbinomial
      @techbinomial  9 месяцев назад

      github.com/sarvosmi/localNotifications

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

    I have requirement to send notification every 15 minutes How can I acheive this? I tried every,on properties but this does not worls accurately

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

      Observed the same, that might be plugin issue.

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

      @@techbinomial oh that sound bad

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

      for (let i=0;i

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

      @@ShadowHijackersGaming I will try. Thanks 👍

    • @guillermobarrientosgonzale5174
      @guillermobarrientosgonzale5174 4 дня назад +1

      This one works perfectly for me...
      schedule: {
      on: {
      hour: scheduledDate.getHours(),
      minute: scheduledDate.getMinutes(),
      second: scheduledDate.getSeconds()
      },
      every: 'day',
      repeats: true
      }

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

    For iso permission ? Ma'am

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

      Permissions required for android
      refer docs
      ionicframework.com/docs/native/local-notifications
      To be truthfull I don't have infra.. to run on ios to crosscheck.