QNimate

  • CoursesVideos
  • WP PremiumPlugins
  • DemosLab
  • BlockClusterBuild Private Blockchains
  • Home
  • QIdea
  • QTrack
Home Home Integrating Local Notifications in Intel XDK

Integrating Local Notifications in Intel XDK

Local-Notification-Tutorial
http://www.sitepoint.com/integrating-local-notifications-in-cordova-apps/

This post is a part 52 of Intel XDK Complete Tutorial post series.

I have written a tutorial for SitePoint on how to integrate Local notifications in a Cordova App built using Cordova CLI. The same instructions also applies for Cordova Apps built using Intel XDK except that you need to install the Local notification plugin using Intel XDK plugin installation interface.

Aug 16, 2015Narayan Prusty
WordPress Default Comment Form CSS ClassesBest Photo Straightening Online Tool
Comments: 2
  1. Aliac
    3 years ago

    hey there, thanks for this informative blog,
    Is it possible to add item list to be the notification message?
    I’m talking about Bootstrap or Ionic item that could be used added to the app and in the same time send as notification!
    I’m trying to use the item list as rss, but I could find a way to get rss notification for my app.

    Many thanks in advance,

    ReplyCancel
  2. Fabio
    4 years ago

    Hi,

    I have installed the katzer plugin but my app crash when I call it….

    Build Log:

    Plugin "de.appplant.cordova.plugin.local-notification" (0.8.1) installed.

    Inside a function:

    cordova.plugins.notification.local.hasPermission(function(granted){
    if(granted == true){
    cordova.plugins.notification.local.schedule({
    id: 1
    title: "Message Title",
    message: "Message Text",
    firstAt: date,
    every: 25,
    });
    } else {
    cordova.plugins.notification.local.registerPermission(function(granted) {
    if(granted == true){
    cordova.plugins.notification.local.schedule({
    id: 1
    title: "Message Title",
    message: "Message Text",
    firstAt: date,
    every: 25,
    });
    } else {
    alert("Reminder cannot be added because app doesn't have permission");
    }
    });
    }
    });

    If use just:

    cordova.plugins.notification.local.hasPermission(function(granted){
    if(granted == true){}};

    The result are the same…

    Could you help me?

    ReplyCancel

Leave a Reply Cancel reply

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

Narayan Prusty

I am a full-stack web developer. I specialize in Blockchain and JavaScript. This is my personal blog where I write about programming and technologies that I learn and feel interesting to share.

Link4 years ago 2 Comments Cordova
Share this
0
GooglePlus
0
Facebook
0
Twitter
0
Linkedin
Related Articles
  • Storing Data Locally in a Intel XDK App
  • Working with File System using Intel XDK
  • Push Notification in Intel XDK using Push Plugin
  • Encrypting Local Data In Intel XDK
  • Twitter Login in Intel XDK APP using ngCordovaOauth
Our Sponsor
Freelance: I am available
@narayanprusty
Hi, I am a full-stack developer - focusing on JavaScript, WordPress, Blockchain, DevOps, Serverless and Cordova. You can outsource your app development to me.





Will get back to you soon!!!
WordPress
ReactJS
Meteor
Blockchain
Serverless
Kubernetes
DevOps
DB & Storage
Ejabberd
Let's get started
My Books

2014 - 2015 © QNimate
All tutorials MIT license