Sending Localized Notification using Template feature of Notification Hub

I am using Template feature of Notification Hub for sending localized Toasts to my app. It is working fine.I am using this ref - Localized
News Using Notification Hub.
In this reference they indicate that We have to send Key-Value (News_en-"message in English") pair for each culture.
Suppose I am supporting 100 cultures in my app and I only want to send localized news to two culture only-> mean all other culture should get he default news in English.
So should I have to send 100 key-value pairs also in this case ?
Is it possible somehow that we send only required localized key-value pairs and other will get the default English toasts.

Hi Tanuj,
Unfortunately you have to send 100 key value pairs, if you have 100 cultures.
I’m wondering, if you want some cultures to receive notifications only in English, why don’t you register them in en format (News_en) though local is different. That way you can reduce number of key value pairs.
Thanks,
Sateesh
Mark Post as helpful if it provides any help.Otherwise,leave it as it is.

Similar Messages

  • Send both Toast and Tile Notification simultaneously using Template feature of Notification Hub

    Hi, I am using WNS(Windows Notification Service) With Notification Hub to send Push Notifications to my WP 8.1 Application. I am basically sending localized notification using Template feature of Notification Hub. I have used Localized
    News example  reference for sending localized used.
    Here are my templates and how I am registering them, also How my Dictionary payloads look like :-
    Toast Template Method :- 
    public static string GetToastText01Template(string param,string line1)
    return string.Format(@"<toast launch=""$({0})"">
    <visual>
    <binding template=""ToastText01"">
    <text id=""1"">$({1})</text>
    </binding>
    </visual>
    </toast>", param, line1);
    Tile Template Method :-
    public static string CreateSquare150_150BackgroundTextTemplateWns(string backText)
    return string.Format(@"<tile>
    <visual >
    <binding template=""TileSquarePeekImageAndText01"">
    <image id=""1"" src=""ms-appx:///ApplicationIcon_173_173.png"" alt=""alt text"" />
    <text id=""1"">$({0})</text>
    </binding>
    </visual>
    </tile>", backText);
    Registration With Notificaiton Hub (Part of Register Method basically) :-
    var toasttemplate = GetToastText01Template("NavigateToPageUri" ,GetToastCultureKey(culture));
    await _hubClient.CreateWindowsTemplateRegistrationAsync(ChannelUri, toasttemplate, tags);
    var tileTemplate = ToastFactory.CreateSquare150_150BackgroundTextTemplateWns(GetTileBackTextCultureKey(culture));
    await _hubClient.CreateWindowsTemplateRegistrationAsync(ChannelUri, tileTemplate, tags)
    Toast payload In terms of Dictionary :- 
    Tile Payload Dictionary :-
    Note :- I have ensured that Keys for both the templates must be different during registering the templates so that both templates doesn't mix with each other. 
    Problem :- When I am registering only one Template, doesn't matter Whether it is Toast or Tile, I am able to get the notification on my app successfully(Both of Toast and Tile ,individually, working fine). But When I register both of the
    Templates simultaneously or Individually, then none on them is working.
    Questions :- 
    1) Can you let me know how basically Notification Hub select the Template from Payload Dictionary ? Like in case of two different registered templates.
    2) How can we send Two localized Notifications simultaneously using Template feature of Notification Hub?

    Hi Tanuj,
    Selection of template/registration always based on tags not based on payload keys.
    Just to explain, you have following two devices.
    device A - toast template,  tags: {"en-us", "toast"}
    device A - tile template , tags : {"en-us", "tile"}
    device B - toast template,  tags: {"en-fr", "toast"}
    device B - tile template , tags : {"en-fr", "tile"}
    If you call a method  SendTemplateNotificationAsync({“properties of template”}, “en-us”)) like this,  That will target the toast and tile both notifications to the device A.
    But if you just want to send the toast notification to device A, you have to call something like this,
    SendTemplateNotificationAsync({“properties of template”}, “en-us && toast”)). FYI Second parameter is a tag expression: Please refer following link to know more about tag expressions:
    https://msdn.microsoft.com/en-us/library/azure/dn530749.aspx
    To answer your second question, register template with language tag along with other tags (just like above example). Then when you are sending notification, include that tag in your tag expression.
    Example: SendTemplateNotificationAsync({“properties of template”}, “en-us && toast”)), this one send toast notifications to all “en-us” local devices.
    Thanks,
    Sateesh
    Mark Post as helpful if it provides any help.Otherwise,leave it as it is.

  • Local Notification (OS 4.0 feature) and iPhone 3G

    I have a simple, but very important question about the future function of OS 4.0 named "local notification". This feature will be implemented also in iphone 3G or only in 3gs and 4g/HD?
    I asked that because i use the iPhone for work and i found very, very useful the possibility for an application to send some kind of alert without using the server push mechanism.

    Everything that Apple has released publicly about OS 4.0 can be found here:
    http://www.apple.com/iphone/preview-iphone-os/
    No one here knows or can say anything else, and will not be able to do so unless Apple releases more details, which they may do at the WorldWide Developers Conference in June, or OS 4.0 is released.
    Regards.

  • Send RAW notification with template

    Hi all,
    I'm building an app and I'm using Azure Notification Hub to send notification to several devices (Windows Phone/Android/iOS),
    I would like to use templates when I'm sending the notifications,
    I could find an example how to register the device for RAW notification :-(
    when I'm calls the method RegisterTemplateAsync, I get the following error "The payload is not in accepted XML format. The first node should be Badge/Tile/Toast. If want to send raw notification, please set header to wns/raw."
    Does anyone know how to solve that issue?
    Thanks

    Where do you put all of this? The error only says to set header to wns/raw. Can we just set the WindowsNotification() header like so:
    Notification notification = new WindowsNotification("test message from AZURE");
    notification.Headers.Add("X-WNS-Type", @"wns/raw");
    Also, I spent a long time looking for a simple solution to sending raw push notifications from Azure Mobile Services and thanks to this post I figured it out. Here's my example ScheduledTask showing how to send a raw push notification.
    public class SyncPhoneDatabaseJob : ScheduledJob
    public ApiServices Services { get; set; }
    protected override void Initialize(ScheduledJobDescriptor scheduledJobDescriptor, CancellationToken cancellationToken)
    base.Initialize(scheduledJobDescriptor, cancellationToken);
    public async override Task ExecuteAsync()
    try
    NotificationHubClient hubclient = Services.Push.HubClient;
    Notification notification = new WindowsNotification("Raw test message from Zumo.");
    notification.Headers.Add("X-WNS-Type", @"wns/raw");
    var outcome = await hubclient.SendNotificationAsync(notification);
    catch (Exception e)
    Services.Log.Error(e.ToString());
    protected override void Dispose(bool disposing)
    base.Dispose(disposing);
    if (disposing)
    // Run disposal code

  • Cannot Send Email Notification Using Stored Procedure.

    Hi Friends,
    I tried to execute this job scheduler...
    begin
    dbms_scheduler.create_job(
    job_name => 'ILMS_JOB_SCHEDULE'
    ,job_type => 'PLSQL_BLOCK'
    ,job_action => 'begin ilms.check_reminder(); end; '
    ,start_date => SYSTIMESTAMP
    ,repeat_interval => 'FREQ=DAILY'
    ,enabled => TRUE
         ,end_date => NULL
    ,comments => 'Ilms job schedule for notification.');
    end;
    However, since the effect is too long I rescheduled the frequency to be every one minute in this set attribute...
    BEGIN
    DBMS_SCHEDULER.SET_ATTRIBUTE(
              name => 'ILMS_JOB_SCHEDULE'
              ,attribute => 'repeat_interval'
              ,value => 'FREQ=MINUTELY;INTERVAL=1'
    DBMS_SCHEDULER.DISABLE('ILMS_JOB_SCHEDULE');
    DBMS_SCHEDULER.ENABLE('ILMS_JOB_SCHEDULE');
    END;
    Check Reminder is the stored procedure invoked by job scheduler to check values in database columns before sending email notification to the respective recipients' email address and also the format of the email notification to be sent to the recipients...
    CREATE OR REPLACE PROCEDURE check_reminder AS
    NO number;
    CURSOR emp_cur is
    select * from pergerakan_ks where TASK_FLAG=7 and TASK_STATUS='InProgress';
    emp_rec emp_cur%rowtype;
    email_to varchar2(200);
    default_email varchar2(200);
    mesg varchar2(4000);
    no_kes varchar2(100);
    subj varchar2(4000);
    kpi number;
    crlf VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
    BEGIN
    default_email:='@abc.com.my';
    FOR emp_rec in emp_cur
    LOOP
    if emp_rec.PKS_TKH_TERIMA is null then
    dbms_output.put_line('count day ' || round(sysdate - to_date(emp_rec.pks_tkh_hantar)) || crlf || crlf);
    if round(sysdate - to_date(emp_rec.pks_tkh_hantar)) >3 then
    email_to:=emp_rec.pks_penghantar_id||default_email;
    select b.KS_BIL_NO into no_kes from kertas_siasatan b where b.KS_ID = emp_rec.pks_ks_id;
    subj:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    mesg:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    dbms_output.put_line('Sending email to ' || email_to || ' subject: ' || subj);
    dbms_output.put_line('update old pergerakan pks_id : '||emp_rec.pks_id);
    update pergerakan_ks set task_status='Done' where pks_id=emp_rec.pks_id;
    dbms_output.put_line('insert new pergerakan ks : ');
    insert into pergerakan_ks(pks_id,pks_ks_id,pks_km_id,pks_penghantar_id,pks_tkh_hantar,
    pks_penerima_id,pks_tkh_terima,task_name,task_owner,task_status,task_flag,fb_id)
    values(pks_id_seq.nextval,emp_rec.pks_ks_id,emp_rec.pks_km_id,
    emp_rec.pks_penghantar_id,sysdate,
    null,
    null,emp_rec.task_name,
    emp_rec.pks_penghantar_id,
    'InProgress',6,emp_rec.fb_id);
    commit;
    e_mail_message(email_to,email_to,subj,mesg);
    end if;
    end if;
    if emp_rec.PKS_TKH_TERIMA is not null then
    dbms_output.put_line('emp_rec.pks_km_id ' || emp_rec.pks_km_id || crlf);
    select c.KM_KPI into kpi from keluar_masuk_ks c where c.KM_ID = emp_rec.pks_km_id;
    no := round(sysdate - to_date(emp_rec.pks_tkh_terima))-kpi;
    dbms_output.put_line('count day - kpi' || no || crlf);
    dbms_output.put_line('kpi ' || kpi || crlf);
    if no = 1 then
    email_to:=emp_rec.pks_penghantar_id||default_email;
    select b.KS_BIL_NO into no_kes from kertas_siasatan b where b.KS_ID = emp_rec.pks_ks_id;
    subj:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    mesg:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    dbms_output.put_line('Sending email to ' || email_to || ' subject: ' || subj);
    email_to:=emp_rec.task_owner||default_email;
    subj:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    mesg:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    dbms_output.put_line('Sending email to ' || email_to || ' subject: ' || subj);
    e_mail_message(email_to,email_to,subj,mesg);
    e_mail_message(email_to,email_to,subj,mesg);
    end if;
    if no = 3 then
    select b.KS_BIL_NO into no_kes from kertas_siasatan b where b.KS_ID = emp_rec.pks_ks_id;
    email_to:=emp_rec.task_owner||default_email;
    subj:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    mesg:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    dbms_output.put_line('Sending email to ' || email_to || ' subject: ' || subj);
    e_mail_message(email_to,email_to,subj,mesg);
    end if;
    end if;
    END LOOP;
    END;
    E_mail_message is the stored procedure invoked by the check_reminder to tell scheduler information of the connection and the email address of the recipients...
    CREATE OR REPLACE procedure
    e_mail_message
    from_name in varchar2,
    to_name in varchar2,
    subject in varchar2,
    message in varchar2
    is
    l_mailhost VARCHAR2(64);
    l_from VARCHAR2(64);
    l_to VARCHAR2(64);
    crlf VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
    l_mail_conn UTL_SMTP.connection;
    mesg VARCHAR2( 4000 );
    BEGIN
    select a.SERVER into l_mailhost from email_setting a where a.SERVER is not null;
    select a.USERNAME into l_from from email_setting a where a.SERVER is not null;
    --UTL_SMTP.open_data(l_mail_conn);
    mesg:= 'Date: ' || TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || crlf ||
    'From: <'||l_from||'>' || crlf ||
    'Subject: ' ||subject|| crlf ||
    'To: '||to_name || crlf || '' || crlf ;
    mesg:=mesg||message;
    l_mail_conn := UTL_SMTP.open_connection(l_mailhost, 25);
    UTL_SMTP.helo(l_mail_conn, l_mailhost);
    UTL_SMTP.mail(l_mail_conn, l_from);
    UTL_SMTP.rcpt(l_mail_conn, to_name);
    UTL_SMTP.data(l_mail_conn, mesg);
    UTL_SMTP.quit(l_mail_conn);
    END;
    I tried to execute to execute the e_mail_message procedure but received this error. Also, no notification sent to the email address...
    ORA-29279: SMTP permanent error: 501 5.1.3 Invalid address
    ORA-06512: at "SYS.UTL_SMTP", line 21
    ORA-06512: at "SYS.UTL_SMTP", line 99
    ORA-06512: at "SYS.UTL_SMTP", line 241
    ORA-06512: at "ILMS.E_MAIL_MESSAGE", line 33
    ORA-06512: at line 13
    Please help so that I can receive the email notification into my email...thanks in advance for your time..

    user13281540 wrote:
    ORA-29279: SMTP permanent error: 501 5.1.3 Invalid address
    ORA-06512: at "SYS.UTL_SMTP", line 21
    ORA-06512: at "SYS.UTL_SMTP", line 99
    ORA-06512: at "SYS.UTL_SMTP", line 241
    ORA-06512: at "ILMS.E_MAIL_MESSAGE", line 33
    ORA-06512: at line 13This is not an Oracle error - this is the mail server saying "+hey, I don't like that e-mail address you are supplying, I'm not accepting it!+".
    If you look at RFC821 (Request For Comments memo 821 describes the SMTP specifications), you'll see that the sender and recipient needs to be supplied in the format +<[email protected]>+, e.g. +<[email protected]>+.
    I have found that not all SMTP servers are equal in this regard. Some may insist on the brackets around the address, some may not.
    You need to confirm the format of the addresses you use in the "+MAIL FROM+" and "+RCPT TO+" commands.. and ensure that these formats are accepted by your SMTP server - and if not, change your code to use an acceptable format.
    The easiest way to do this is using telnet - and interacting directly and manually with the server. SMTP is a clear text protocol and easy to use manually. Try it. It is the best way to test SMTP interaction and validate the approach and SMTP commands and arguments used by your code.

  • Sending an Email using Notification Task

    Hi All,
    How can we send an email using notification task?? Can someone provide me the steps to achieve this.
    Is it possible to send email to multiple users at a time??
    Thanks.

    Good you're on 11.1.1.6. The link in Vlad and copied into my response should help then.
    You'd fill in the fields for the to, from, subject, cc, message body using variable(s) you populated upstream in the process.
    You're not there yet, but most people struggle (me included) getting the email server set up to send the emails once the process is deployed and running. Here are the steps:
    In Enterprise Manager:
    1. Expand "SOA" -> right mouse click "soa-infra" -> click "SOA Administration" -> click "Workflow Notification Properties".
    2. Select "Email" from the Notification Mode dropdown and enter email adresses for the three fields.
    3. Expand "User Message Service" -> right mouse click "usermessagingdriver-email" -> click "Email Driver Properties".
    4. Scroll down until you see the email server properties -> enter the appropriate values in these fields: OutgoingMailServer, OutgoingUsername, OutgoingPassword.
    Verify that the user(s) you want to send emails to have an email address set. If you are using the default WebLogic security, in the WebLogic Console:
    5. Click "Security Realms" -> click "myrealm".
    6. Click the "Users and Groups" tab -> click the "User" tab.
    7. Click the user id of the user you will be sending email to.
    8. Click the "Attributes" tab -> make sure the "mail" attribute has a valid email address. If it does not have an email address, once you have entered it, be sure to hit the Enter* key to have it stick in the field.

  • Sending a notification using MDB, javamail and a scheduler

    Hi,
    I have this following scenario.
    I need to send an email notification to user B from user A.
    So, user A fills the required details and adds the notification object to jms/queue
    In MessageDriveBean onMessage(), i am getting the notification object from the queue
    and i am able to send an email using JavaMail.
    Everything is working fine.
    Now , if under any conditions, sending notification fails, I need to implement
    a scheduler which should try to send the notification within the specified time interval
    and if not again adds the notification object to queue.
    Can you please help me to implement a scheduler?
    Thanks in advance!!!

    Have a look at this simple schedular below, test by changing the method onMessage() to a main method
    and simulate.
    Hope this help
    Ivo Sumelong
    * @author isumelong
    public class MessageFromQueueMDBHandler {
         * @param args the command line arguments
        public  void onMessage() {
             MessageFromQueueMDBHandler m=new MessageFromQueueMDBHandler();
             m.hanldeMessageFromQuue();
      public synchronized  void  hanldeMessageFromQuue()
    // Thread.sleep() is not good since its a static method this
    // why wait will be best since it controls only the thread
    // that received the messgae from the queue
    //schedular information read from database
    // numberOfTrials,waitingTimeBeforeResending;
    // advantage: schedular behaviour could be changed at run time
    int numberOfTrials=4;// from database
          try {
                for(int i=0;i<System.currentTimeMillis();i++)
                    if(sendMail())
                    break;
                    if(i==numberOfTrials)
                       // send an message to queue
                       sendMessageToQueue();
                    notifyAll();
                         break;
                  long waitingTimeBeforeResending=1000;// from database
                this.wait(waitingTimeBeforeResending);
            } catch (InterruptedException ex) {
                Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
      private boolean sendMail()
      // java mail API accesses
          return true;
       private boolean sendMessageToQueue()
      // java JMS API accesses
          return true;
    }

  • * Can We Send Email Notifications Only using User Task in Oracle BPM ?? *

    Hi All,
    Can we send any email notification to initiator, only from Oracle BPM User / Human task without using any notification activity.
    Is it possible to send email notifications using BPM User task alone.
    Any Help appreciated.
    Regards
    Satya

    Hi Satya,
    To send an email to the person who initiated the work item instance in the process when the instance reaches a human task:
    1. Ensure that the id of person who initiated the instance is stored in the process predefined variable called "creator".
    2. In the Interactive activity's input data mapping, map this "creator" process predefined variable to the corresponding "creator" attribute in the human task's execData.
    3. Open the human task -> click the "Notification" tab -> click the "+" icon in the upper right -> on the new row added to the bottom of the list, leave the task status dropdown set to "Assign" and change the recipent (the middle column) to "Initiator".
    Dan

  • App does not send push notification when app gone live but was working fine when tested locally?

    Please help us to get this solved. We tested the webserice URL which works okay. Port 2195 is also open. APN certificate is also not expired. What could be the problem that app when tested before live was sending push notification and when it is live, it has stopped!?

    This would seem to be a question better posted in the App Developers forum.

  • How to send a Notification in the Background????

    Hi Experts,
    I am working on a process consisting of 2 activities :-
        - Creation of a Proposal by the Employee
        - Evaluation & Approval of Proposal by the Manager
    I have these 2 doubts :-
        - I need to send a notification to the manager on creation of a proposal. How do i go about it???
        - Also i need to send a notification to the user regarding the approval or rejection of the proposal.
    Should i create a Callable Object in GP and add that in the Action Create Proposal???
    please guide me regarding the same.
    Thanks a lot.
    Cheers
    Gaurav Raghav

    Hi again
    Usually it takes a while till the Adobe designer loads, but if the window remains blank... hmmm than I guess it should be some error in Adobe Document Services configuration...
    So I guess you know this, but just in case here are installations you need to use for Adobe Document Services and composite forms in Web Dynpro Applications:
    ·        A local installation of Adobe LiveCycle Designer 7.1.
    You can download Adobe LiveCycle Designer 7.1 from SAP Service Marketplace at: service.sap.com/installations - Search for Installations and Upgrades (from the left-hand side navigation) and then for material number 50083078_1. To install the Adobe LiveCycle Designer, use the file SapAldSetup.exe from the downloaded archive 50083078_1.ZIP.
    ·        A local installation of Adobe Reader 7.0 or higher or a full version of Adobe Acrobat 7.0.
    You can download Adobe Reader for free from the Adobe web site.
    Depending on your requirements, you may also need to configure specific composite form properties.
    Apart from that, if you have a ready composite form created previously, you can upload it by checking the Field-Based Template checkbox in the beginning of the wizard for creating composite form.Thus, the wizard does not make you create a new one from scratch, but rather upload your own.
    Hope that was helpful
    Greets,
    Petra

  • How can i send email notification from UCM?

    Hi
    I am new to this technology. I need to send email notification to the user's, whenever file is checked-in. What is the procedure to send an email notification let us take GMAIL from UCM.
    1) Now I have installed UCM in my machine. Do I need to install any other software to implement this feature(sending email)?
    2) I read it in a document, that configuration is needed in a config file in order to send email. What details do i need to give in these fields,
    HttpServerAddress= ?
    MailServer= ?
    SysAdminAddress=?
    SmtpPort=25
    HttpRelativeWebRoot=/idc/
    CgiFileName=idcplg
    UseSSL=No
    WebProxyAdminServer=true
    3) Do I need to install any mail server? If so which software can i go with?? Is it possible to send email to gmail or yahoo acccount without installing mail server ???
    Regards
    Raj

    You will need to have an SMTP server of some sort that you can use. I think out of the box, you may only be able to use an SMTP server that allows anonymous sending or sending unauthenticated (e.g. an internal server). Any good SMTP server (that is not an internal server) would not allow this for security reasons.
    Thus, I think if you want to use an external SMTP server such as Gmail, you will need to write custom Java code. See this thread for more information: UCM SMTP server Configuration
    Jonathan
    http://jonathanhult.com

  • Urgent: Regarding Sending Email Notifications

    Hi all,
    We have scenario in which we have to search those users who has not accessed their accounts from last 2 years and then send them an email notification and after one month of notificatio we have to search those users who have been notified but yet not accessed their account and delete those accounts from LDAP.
    For this we are using JNDI to search users. Now we are facing two problems:
    1. The users email ids are in the form of List. When we refer this list in To address of Email Template then it gives us an exception: Saying that service not responding, No recepient addresses while in case of hard coded values it runs successfully. I think this is due to that it requires a semicolon(;) seperated list to send email notification. Thats why we thought that we have to use some looping to send the notifications to one user at a time. But if there is any other solution, please suggest.
    2. For the scenario of the users to be deleted, how will we come to know whether after two years the users have been notified successfully??
    This is really urgent. Please suggest any idea regarding the above issues.
    Thanks & Regards
    Gaurav Jain

    The way to do it would be to put your human task inside a while loop. This while loop would set a variable to the approver's userid and would continue till all the four approve it. In your human task you need just one approver and that would be the variable which the while loop sets.
    If you do it this way, then you can use the OOTB notification tab in the .task and select the 'Assignee' as the email notification receiver and you won't have to worry about getting the email ids as well.
    As for the current approach which you have, that is of using the sequential approvers in the human task, I haven't tried it, but just try setting the notification tab in the .task to 'Assignee' and event 'On Assignment'. That should do it as well.
    -Bikash

  • How do you make icalendar send email notifications?

    Since I "upgraded" my Mac OS I can't figure out how to get calendar to send email notifications. Is this feature gone, now?

    Apple seems to be losing its way since Jobs died. They continue with their efforts to hide features, not document features, and make their products slower and harder to use. I hate the new iPhone OS. I think Apple must hate older people because they keep switching to fonts that are harder to read (e.g. light red on white with thinner font for the calendar app).

  • Local notifications on iOS

    As far as I know local notifications are not supported by Adobe AIR. Furthemore, it looks like it is not even possible to create a properly working native extension that would add local notification feature to your app. I would be glad to be wrong, so please point out a solution if you have one. Surely, you can write an extension that schedules, cancels or enumerates scheduled local notifications. The notifications will work as designed if application is inactive. However, if application is active then there are two major problems:
    1) Adobe AIR does not dispatch InvokeEvent when iOS fires local notification. It seem to be doing that for push notifications. So it is quite a shame that local notifications are so unfairly descriminated. Seems like it would be an easy fix in the runtime.
    2) You can't implement UIApplicationDelegate and handle application:didReceiveLocalNotification: because Adobe already has one. And by replacing existing delegate you would obviously break some Adobe AIR features. It is not clear if you can wrap the existing delegate (proxy design pattern) or override its methods dynamically without breaking something.. ObjectiveC gurus, please advise.
    Worst case scenario, I'm planning to fire registered local notifications myself, by timer, if application is active. There would be a certain lag of course (defined by timer period). I would love to see a solution that relies completely on iOS local notifications.

    Hello Loey814,
    Check out the troubleshooting in the article below to see if you can get your notifications to show up on your iPhone. If that looks correct and still having the issue, then I would perform a reset all settings to put the settings at a default. To do that go to Settings > General > Reset > Reset All Settings and then test to see if it working for you.
    iOS: Understanding notifications
    http://support.apple.com/kb/HT3576
    Reset iPhone settings
    http://help.apple.com/iphone/8/#/iph7a2a9399b
    Troubleshooting notifications
    Push notifications require an active Wi-Fi or cellular connection.
    Note: Notifications use Wi-Fi only when a cellular connection is unavailable. Firewalls and proxy servers may affect your ability to receive notifications. For more information, see Unable to use Apple Push Notification service (APNs).
    If you're not receiving notifications for a specific app, try these steps:
    1      Verify that the app supports notifications. 
    2      After installing an app or restoring a backup to a different iOS device, open the app to begin receiving notifications. If the app requires entering or logging in to an account, you will need to do this before receiving notifications.
    Check Settings > Notification Center to ensure that the app is configured for notifications. If notifications do not appear in the Notification Center, verify that the Notification Center setting for the app is enabled.
    Regards,
    -Norm G.

  • Cannot send email notification to more than one people

    Hi everyone,
    Hope anyone could help me to solve this. I want to send email notification to two people. First to the staff to alert him that his claim is ready. And also to his supervisor that the claim has been disbursed. Below is the PL/SQL procedure, check_claim being used..
    CREATE OR REPLACE PROCEDURE TEST.check_claim AS
    NO number;
    CURSOR emp_cur is
    select * from emp where dept=7 and status='active';
    emp_rec emp_cur%rowtype;
    email_to varchar2(200);
    default_email varchar2(200);
    mesg varchar2(4000);
    subj varchar2(4000);
    crlf VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
    BEGIN
    default_email:='@phantom.com';
    FOR emp_rec in emp_cur
    LOOP
    if emp_rec.claim_status ='Y' then
    email_to:=emp_rec.staff_id||default_email;
    subj:='Claim No'||emp_rec.claim_id;
    mesg:='Your claim has been disbursed. Please check.';
    email_to:=emp_rec.staff_hod||default_email;
    subj:='Claim'||emp_rec.claim_id;
    mesg:='Claim No'||emp_rec.claim_id||' has been disbursed';
    e_mail_message(email_to,email_to,subj,mesg);
    e_mail_message(email_to,email_to,subj,mesg);
    end if;
    END LOOP;
    END;
    The first email_to is to be sent to staff_id and the second email_to is to be sent to staff_hod.
    The PL/SQL procedure then called the e_mail_message procedure shown below for the connection information..
    CREATE OR REPLACE procedure
    TEST.e_mail_message
    from_name in varchar2,
    to_name in varchar2,
    subject in varchar2,
    message in varchar2
    is
    l_mailhost VARCHAR2(64);
    l_from VARCHAR2(64);
    l_to VARCHAR2(64);
    crlf VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
    l_mail_conn UTL_SMTP.connection;
    mesg VARCHAR2( 4000 );
    BEGIN
    select a.SERVER into l_mailhost from email_setting a where a.SERVER is not null;
    select a.USERNAME into l_from from email_setting a where a.SERVER is not null;
    --UTL_SMTP.open_data(l_mail_conn);
    mesg:= 'Date: ' || TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || crlf ||
    'From: <'||l_from||'>' || crlf ||
    'Subject: ' ||subject|| crlf ||
    'To: '||to_name || crlf || '' || crlf ;
    mesg:=mesg||message;
    l_mail_conn := UTL_SMTP.open_connection(l_mailhost, 25);
    UTL_SMTP.helo(l_mail_conn, l_mailhost);
    UTL_SMTP.mail(l_mail_conn, l_from);
    UTL_SMTP.rcpt(l_mail_conn, to_name);
    UTL_SMTP.data(l_mail_conn, mesg);
    UTL_SMTP.quit(l_mail_conn);
    END;
    However, the email notification only being sent to the supervisor / head of department. The staff concerned does not receive any email notification. Please help. Thank you for your time...

    from wht i see
    email_to:=emp_rec.staff_id||default_email;
    subj:='Claim No'||emp_rec.claim_id;
    mesg:='Your claim has been disbursed. Please check.';
    email_to:=emp_rec.staff_hod||default_email;  -- wrongit should be
    email_to:=emp_rec.staff_id||default_email;
    subj:='Claim No'||emp_rec.claim_id;
    mesg:='Your claim has been disbursed. Please check.';
    email_to:= email_to || ' , ' ||  emp_rec.staff_hod||default_email;

Maybe you are looking for

  • Error while trying to update to ios 5

    I keep getting an error while trying to update to iOS 5. I update iTunes this morning to the lastest version so I know that isn't the problem. I have tried restarting both my computer and my phone, but contine getting "The iPhone could not be restore

  • CRM 5.0, PCUI and Webclient texts

    Hi, This is my first post so I apologise if I break any conventions.  Can anybody recommend a decent book or books for the above?  We are currently in implementation on CRM 5.0 as part of local government (to be used as an interaction centre), and al

  • Password protect iMessges on iPod Touch

    I want to password protect iMessges on my desktop and iPod. I looked into file vault (for the desktop), but it locks up the entire disk. I just want to lock up the application. I went through iMessages very carefully and found nothing on this. Very s

  • PR non editable fields after final release

    we like to  do in PR  Material's short text, date, Pur Grp & Requested by heads are in editable stage after final release. we need to make non editable mode.  how we can do this... please advice Thanks Rajesh G

  • Unable to install an add-on of creative presets into Lr 5. Can anyone help? Thx

    I installed some filters - downloaded the .zip files, opened them up and tried to drag them into a custom preset folder I created but it won't go into the folder. Any suggestions as to what I may be doing wrong? Thx in advance. - M.E. Stadtlander