setTimeout stops working once my application is signed

I found a bug that seems to have come with a recent update to the BlackBerry 10.2.1.x operating system.  Until recently, my application worked well.

When I use Window.setTimeout in my WebWorks 'debug' project, my application is able to send notifications that the screen is on or off.  It is, of course, the desired result.  However, as soon as I create and sign the application (no longer debugging), notifications don't work IF: 1) screen is on AND 2.1) the app is actively running in "full screen" or 2.2) application runs in "hedging" mode, and the current view is the view 'cover vision. "  Ex.: if I'm on one of the pages app or in the hub, the notification will NOT work until I have slide mode "cover vision."

Specifically, here is my code:

reminders of var = [];

function setReminders (seconds, title, body, tag) {}

{reminders.push (setTimeout (Function ()}
new notice (title, {body: body, tag: tag});
((}, seconds * 1000));

}

I use bbUI.js 0.9.6.1894, but I don't see that this should make any difference and the BlackBerry 10.2.1.2977 software version and the Version of the OS 10.2.1.3247.

So the crucial question is: How can I get my notice of work once my application is actually signed?  It's really hard because it works as long as my app is debuggable.

I found the answer to my Riddle - I don't know how I missed.  Just add the rim: allow "run_when_backgrounded" as described on this page: https://developer.blackberry.com/html5/documentation/v2_1/rim_permit_element.html

I used the config.xml setting, although I have no doubt that the plugin would work just as well.

Tags: BlackBerry Developers

Similar Questions

  • Application Manager stops working when I click the sign in button

    I am running Windows 7 Home.

    I had CS6 Beta installed, but have removed.

    I downloaded the demo for CS6, it extracts and started installing. The Adobe Download Manager crossed the first screens little (license) without problems, but when it comes to the screen to connect ' continue', and I click on the yellow button at the bottom right to connect, the Application Manager stops working, and I get a notification from Windows telling me that he will let me know if she finds a solution.

    After what happened the first time, I uninstalled Adobe Application Manager and delete the files downloaded or extracted the second time to start with a clean slate, but no go. I have the same problem.

    Ideas for a solution?

    Thank you!

    I guess all downloaded download assistant, and then it's the application manager that supports for installation.

    I solved the problem by creating a new admin account, reinstall the application Manager separately and by installing SP6 a go from there.

  • Skype to stop working, said inconsistent application, how to solve this?

    I had Skype on my computer all the time, yesterday, all of a sudden it stopped working.  When I tried to find the problem, it says incompatible application. What it means? How can I solve this problem?

    Thank you.

    Have you tried to download the latest version on Skype and install it?

    http://www.Skype.com/intl/en-GB/get-Skype/

  • "HPSF.exe has stopped working. This application has encountered a serious problem and needs to close. »

    I get the above error message on an old Pavilion HP desktop computer for a month (p6813w) running Win7.

    I see there are updates, but when I click on the HP Support Assistant w / 'recommended action '...

    He said HPSF.exe has stopped working and I need to click 'OK' to automatically restart the application.

    I click 'OK' and the window closes and does not restart.

    ALSO: it is said now, "HP Support Assistant can be run by a user at a time.

    Please go to the user who is currently using HP Support Assistant. Etc.»

    Anyone in the world can say that ?

    Thanks for aloud up-to-date solutions or you help can provide.

    Go to Control Panel, programs & Features.Select HP Support Assistant and uninstall it. Restart your computer after its withdrawal.

    Then, download the latest version for your machine from the link:

    http://h71036.WWW7.HP.com/HHO/us/en/pclc/articles/HP-support-Assistant.html?JumpID=ex_r602_go/hpsupportassistant

  • The dictation feature has stopped working with apple applications

    Dictation function simply ceased to function on the iPhone 6, OS 9.0. I have since updated to 9.3.2 in hopes of a solution isn't work. I did so that Siri is turned on and the microphone of keyboard is also. I also powered power and I did soft reboots. It does appear that effect the apple applications. Function of dictation with other applications like google work very well (thus, the microphone does not work).

    Are there suggestions more to get the dictation function to work with apple applications?

    Hello

    Try checking the following parameters:

    • Settings > general > keyboard - make sure activate dictated is open.
    • Settings > general > Restrictions - check that the restriction of Siri & dictation is not enabled
    • Settings > general > Siri - disable, pause for a few moments, and then reactivate the Siri.
  • How can I me Trusteer report work on V30.0, it has stopped working once FF auto-mis to update my computer from V28? I can't access our business bank account!

    Trusteer report running on the computer, but FF v 30.0 for Mac OS won't load so I can't access our bank account. Support of Trusteer continues to tell me it is a browser problem.
    Thank you

    John99,

    Thanks for the reply, it seems that Trusteer is slightly behind updates of Firefox browser. I was talking about support Trusteer at the same time that Mozilla and got this response from Trusteer and it works now. Seems they have a newer version upwards on the website dated June 2014.
    Thanks for the help!

    Trusteer:
    We recommend that you uninstall the current version of the report, use the Terminal to remove the old report files and then install the latest version of the report.

    You can uninstall report by following these instructions:
    http://www.Trusteer.com/support/uninstalling-rapport-Mac-OS-x

    Once the report is completely uninstalled, remove its remaining files as described here: http://www.trusteer.com/support/remove-folders-mac

    At the end of this procedure, you can download update of the report can be found in this link:
    http://www.Trusteer.com/support/rapport-installation-links

    Please be sure to restart your computer once the latest version is installed and let us know if the problem has been resolved.

  • CS6 only runs in test mode.  Stops working once activated.

    Win10, after reboot...

    • CS6 installed/enabled, but it closed after 5 seconds.  (No crash, no message, just leave.)
    • Uninstalled and installed/activated CS6, same deal.
    • Uninstalled/installed CS6 trial only, which worked well.
      • The licensed product, but eventually she closed after 5 seconds.
    • File deleted license and CS6 worked well again.
    • Updated all in trial mode.
      • Re - a product license, but eventually she closed after 5 seconds.

    I've tried a dozen variations on the above and still could not find the magical combo, but I know someone here does.  That's what support Adobe also says: the warlocks of high level all forums now work.

    In the purest love now, forever and always true.

    Dan O

    Have you tried the steps described in the Adobe Creative Suite 6 applications unexpectedly return to mode of trial

    Concerning

    Stéphane

  • Why Flash has stopped working?

    I have a problem of Flash that seems similar to others I've seen but not exactly.

    Flash stopped working on some applications - small windows flash in Facebook show and image but when I put the mouse on them that everything disappears. If I hit the right his spot will be read, but not picture.

    I use a few sites of video player, that is the same question - where there was a player - play, pause, vidoe control etc. now its White, sometimes black, sometimes white space.

    You Tube, works very well. Just LIKE at least a Flash game. (Angry Birds)

    The problem occurred suddenly too. I watched a large video site, went to another page on the same site, and all of a sudden, the issue that has happened. No stop downs, restarts, downloads etc.

    Any help will be appreciated. In addition, Mozilla, please get an alternative to Flash. It has been nothing but trouble and I like good Firefox otherwise.

    See you soon

    Charlie

    Charlie,
    Shumway has been underway for some time become a build in flash player, but it is still being tested.

    In regards to the strangeness in Shockwave flash there are two stages of troublsheooing I can suggest:

    • Try to reinstall
    • Disable hardware acceleration in the Flash options. :

    Some problems with Flash video playback can be resolved by disabling hardware acceleration in Flash Player settings. (See this article for more information on using the Flash plugin in Firefox).

    To turn off hardware acceleration in Flash Player:

    1. Go to the Adobe Flash Player help page.
    2. Right-click on the Flash Player logo on this page.
    3. Click settings on the shortcut menu. The Adobe Flash Player settings screen opens.
    4. Click the icon in the lower left of the Adobe Flash Player settings window to open the display panel.

    5. Remove the enable hardware accelerationcheck box.
    6. Click close to close the Adobe Flash Player settings window.
    7. Restart Firefox.

    This Flash Player help - display settings page contains more information about the Flash Player hardware acceleration, if you are interested.

    Does this solve the problem? Let us know.

  • Canvio Basic 2 TB suddenly stopped working after Xbox update?

    While to say that the title of the hard drive has stopped working once an update has taken place on the Xbox one a few days ago.

    Now I tried it on a different Xbox one (didn't read), and also tried on a computer laptop windows 10 has yet no chance, at first he tried to install it but only got up then stopped, but even after having passed, still nothing, now its there if I go to device management (depending on whether its fine) but I can not even open the hard drive itself.

    I've had it for about 6 months maybe a little more, but still is it safe, placed just behind the xbox connected, never needed to move it.

    I hope someone can help or suggest something, but im now puzzled.

    Thanks in advance.

    I have the exact same problem mate

  • iMessage, FaceTime has stopped working

    iPhone 5 16GB, iOS 9.2.1 (13D 15)

    MacBook Pro 13 end 2011, OS X El Capitan (10.11.3)

    Hello guys,.

    just need some advice. I am (was) using iMessage and FaceTime on my iPhone and MacBook. Last week I went on a business trip to London and got notification that I can't use the iMessage and FaceTime (which was OK, because I got the same message on my business trip to the Ukraine and everything worked fine after) but when I got back to the Czech Republic, iMessage and FaceTime has stopped working. I tried to sign and sign back on MacBook and nothing. I got notifications in iMessage and FaceTime on my MacBook which now using my phone with number correct everything and it still does not work. Does anyone know what what could be?

    Thank you.

    What happens when you try to send a message or launch a FaceTime?

  • Explorer Windows stop working

    Whenever I'm right in the middle to rename the foldr on my desktop files (files are listed as thumbnails), Windows Explorer stops, checks & restarts.  solution says download & ffdshow.ax... now install... unsubscribe ffdshow.ax.   Download and install does not clear the problem tried to cancel the registration but can't find how to unregister.  I found how to enroll, but not to cancel the registration.  Same problem persists.

    I use this computer for my photography business website management and it becomes a major PITA trying to do business with something that constantly wants to make my life miserable.

    Any help would be so appreciate4d

    Thank you

    Thanks for your help, but I managed to get the issue resolved.  I had to do a complete clean reinstall.  I got that Windows Explorer has stopped working once, and it's quite earlier.  If I feel it once again, I'll Act of when it occurs.  Once again... Thanks for your time.

    NormintheNorth

  • Host Service for Windows has stopped working - Help!

    Hello
    the last two days that I had problems when I start my computer.
    When it starts, it cannot connect to the internet & will not answer what it is (for example, if I click on 'my documents', it will not open).

    I have to restart my computer. When it re - start, it works normally.

    This is the message I get from the section 'reliability & history problem ":

    The service host for windows, stopped working

    Description:
    Application of vulnerabilities path: C:\Windows\System32\svchost.exe
    Signature of the problem
    Problem event name: APPCRASH
    Application name: svchost.exe
    Application version: 6.1.7600.16385
    Application timestamp: 4a5bc100
    Fault Module name: ntdll.dll
    Fault Module Version: 6.1.7601.18247
    Timestamp of Module error: 521ea91c
    Exception code: c0000005
    Exception offset: 00052d 94
    OS version: 6.1.7601.2.1.0.768.3
    Locale ID: 2057
    Additional information 1: 0a9e
    More information 2: 0a9e372d3b4ad19135b953a78882e789
    Additional information 3: 0a9e
    Additional information 4: 0a9e372d3b4ad19135b953a78882e789

    Additional information about the problem
    Bucket ID: 3883285962

    Can someone help me with this problem?
    Thanks in advance

    Hello Mark,

    Thanks for the reply.

    And I apologize for the inconvenience.

    You can try to proceed with the clean boot follow the link below and see if that helps.

    How to perform the clean boot in Windows

    http://support.Microsoft.com/kb/929135

    Note: See "How do I reset the computer to start normally after a boot minimum troubleshooting" to prepare the computer to start as usual after troubleshooting.

    I hope this helps. Otherwise, feel free to write us back with the results and we will be happy to help you.

  • Director of office of Smartphones blackBerry 4.2.2.14 completed sync and then stops working

    I use DM 4.2.2.14 with curve 8310 and vista + Outlook 2003.  It was fine for about a week of work but who suddenly began to stop working once it has finished synchronization.  I tried to repair the installation but no change.  Any ideas please?

    Thanks for the tips.  This seems to have worked - fingers crossed that it lasts.  To answer your question - nothing has changed or has been added to the previous installation.

  • Applications stopped working

    I want to install a new windows Server 2008, and once I have install a new application, he pointed out that the application has stopped working, I thought it was a problem of window, I re-installed the Windows Server 2008, but still the same thing, what can I do?

    See you soon

    Hello

    The question you posted would be better suited in Windows IT pro community.
    http://social.technet.Microsoft.com/forums/en-us/winservergen/threads

  • On startup, I get the messages that applications have stopped working. One of them is (2nd message) IE3SH application has stopped working. How can I fix it?

    Start-up applications to receive messages from windows that have stopped working. One of them is IE3SH application has stopped working. How can I fix it?

    Hi 9gonz9,

    Welcome to the Microsoft Answers site!

    You get this error message when you start the desktop computer?

    You can check if the complete startup items are checked in the msconfig utility.

    1. open System Configuration by clicking Start , clicking Control Panel, clicking system and security, clicking Administrative Tools, and then double-click the System Configuration.

    If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    2. click the Startup tab and check if all the items are archived there.

    You can also run a bag of security for your computer and check if this solves the problem.

    http://www.Microsoft.com/Security_Essentials/

    If the problem persists, turn the computer in clean boot and check if all the background program is causing this error message. To help resolve the error and other messages, you can start Windows Vista by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    The steps to perform a clean boot are given below:

    1 log on to the computer using an account with administrator rights

    2. click on start, type msconfig.exe in the start search box and press ENTER to start the System Configuration utility.

    If you are prompted for an administrator password or for confirmation, type your password, or click on continue

    3. on the general tab, click Selective startup, and then clear the check box load startup items. (The check box use the file Boot is not available.)

    4. on the Services tab, click to select the skin all the Microsoft services check box, and then click Disable all

    Note: Following this step lets services Microsoft continue to run. These services include networking, Plug-and-Play, record of events, error reporting, and other services. If you disable these services, you can permanently delete all restore points. Do not do this if you want to use with existing restore points system restore utility

    Once you start the office see if you get the error message. If not then follow the divide and conquer method mentioned in the article below to know which program is causing the problem.

    For more information about the clean boot, follow the below given link:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    1. click on start, type msconfig.exe in the start search box and press ENTER.

    If you are prompted for an administrator password or for confirmation, type your password, or click on continue.

    2. on the general tab, click the Normal startup option, and then click OK.

    3. When you are prompted to restart the computer, click on restart

    Hope this information is useful.

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for

  • How can I change the settings of "undisclosed recipients" when send mail.  New to using a Mac.  Thank you

    How can I change the settings of "undisclosed recipients" on my Mac Mini... new to using Mac!  Thank you

  • Re: How to restore to factory on my Satellite L40 - 18Z?

    I'm trying to restore my laptop to factory settings; It's a Toshiba Satellite L40 - 18z. I tried the F8 procedure it did not work, also was in backup and Food Center, but it leaves me only the backup files. I guess I m going to need a disc, I'm OK, a

  • does not scroll properly...

    I just bought my Fuze yesterday (and it's the first real MP3 player I used other than a cheapie)-I rebooted it and responsible for some of the songs, and they play... when I can get to it.  My problem is, I can scroll left and right but not up and do

  • Xperia Z2 startup message

    Hi all I encountered this problem (I don't know if I can call it a problem), with my Z2, when I turn it on, then next turn, or when you restart the phone, once it has finished up the boot sequence, it shows me in the middle of the screen a message sa

  • How to download the upgrade for windows 10

    I have Windows 7 SP1 Home premium, when I click on the link to upgrade to 10 windows it gives me a link to download windows 7 ISO. Why do I need win 7 ISO when I have already installed? How to get windows 10 then, I do not understand?