Community Questions & Answers
Notifications in android - give focus to app when clicked
Hi, I have a notification triggered by the app, and when clicked I want this simply to bring up the app (if not already in focus). I haven't found any examples of this so I tried coming up with my own solution (which obviously doesn't work). This is what...
Is it possible to do push notifications without urban airship ?
I guess so, but I want to know if someone has had to deal with this.
Push notifications deviceToken
Hi there, I would like to know how to get the deviceToken of my IPhone using Titanium. I use this code below in my app : But i can't send push notifications without the deviceToken. ~~~ var win = Titanium.UI.currentWindow; var label =...
Android Local Notification - Will this work?
I've pieced together some code, and I'm wondering if this will work? the notifyDate variable is pulled from a database, and then the second line just sets the notifcation itself a few hours before the event. It works on iOS just fine. I'm basically...
Clear notifications
Hi all, How do I clear all the notifications of my app in notification center? I know this has asked many times before, but nothing works. Even the appBadge = 0 doesn't work. The push notification stays at the notification center. Some other thread about...
Android Push Notifications question
Hi there, I'm trying to send push notifications to android devices and I wanted to ask if i must install the app from the Google Play store so push notifications work, or its ok if i only install it to a device from titanium. The apps token retrieved is...
Help with Android Notifications
Hi, I'm trying to create a status bar notification in Android with no luck. To test it better, I've written a very small app that just should create a notification when the user clicks a button, but the notification doesn't show. Can someone tell we...
Push notifications being received but callback function is not called
Application type: mobile Titanium SDK version: 2.1.4 (11/09/12 12:46 51f2c64) iPhone Device family: universal iPhone SDK version: 6.0 iPhone simulated device: iphone 4 with latest ios Host Operating System: OSX 10.8.2 / iOS Titanium Studio:build:...
Push notifications with apple without using Appcelerator cloud
Hi there, Wondering if this method is to register the device in the push service uses the appcelerator cloud or goes directly to apple: Titanium.Network.registerForPushNotifications() I can't afford the appcelerator cloud system or any other paid system...
Push Notifications with Urban Airship
Hello! I am trying to develop a cross-platform application with push notifications for Android and iOS with Urban Airship service. I am using trial Ti+Plus Urban Airship module but its documentation is poor and all examples that I've found doesn't work...
Error message with notifications in Production when IOS app launches
Hi, after downloaded my app from the Appstore, when I launch it I get this error message : NSCocoaErrorDomain Code = 3000". No valid 'aps-environment' entitlement string found for application 'MyApp': (null). Notifications will not be delivered. Any...
Ho to test Apple Push notifications before submitting to Appstore (Urban Airship)
Hi, I'm a little bit lost : I have tested notifications in dev mode with Urban Airship and it works. I would like now to test the production mode before submitting to the Appstore. I use this code (keys changed for privacy) ~~~ UrbanAirship.options =...
UrbanAirship in production / Appstore
Hi everybody, I'm having a very BIG issue with the urbanairship module for iOS. For making it short unless the app was in development mode and i tested it on the device all the notifications worked fine. After publishing it in the appstore i discovered...
Monitor an RSS and send a push notification when a new entry is published
Hey guys, I'm trying to monitor an RSS and send a push notification when a new entry is published. It could be done using Urban Airship(https://urbanairship.com/docs/feeds.html). Could I do this using any other way? ACS? I would really appreciate it if...
Push Notification by TokenDevice & C# API for cocoafish
Hello, Im researching appcelerator's push notification capabilities for a project my company is planning to do. So far I have a couple of questions... 1. Is it possible to send a notification by a device's token? What I've seen in documentation (...
registerForPushNotifications: callback is called every time after notification
I'm calling registerForPushNotifications when my app launches, and also when the user add's an item to their favorites, at which point I re-register, adding the id to the "tags" in their device token. If the user gets a push notification and...
Android Push Notifications with Urban Airship
Hi everyone, I'm currently building an app on iOS and Android. First thing I want you to know: the push notifications were quite easy to set up on iOS. Works great so far. Troubles began when I tried to develop the Android version. I found several...
ACS Push Notification clarification/help
I was able to get ACS Push Notifications working (iOS), using the example code that came with the SDK update. Something I don't quite understand, how would I go about avoiding the create user process, and having them have to be logged in as the user to...
How to be told when the keyboard appears on screen?
I want to perform a nice set of transforms whenever the virtual keyboard appears on screen. Surely there must be some way of being notified when the keyboard will appear/show disappear/hide without having to use a native submodule?
How to get a sound played with Urban Airship ?
Hi, How to get a sound played with Urban Airship (IOS and Android)? I think I have to put a.caf file in the ressource folder. Then what is the next step ? Regards
Push Notifications in Titanium
How can we implement the Push Notifications in Titanium? Is it available in Android?
iOS5 Notifications permissions
Hey! I have an app that has been released for a while now. It sets Local notifications for certain events. Since iOS5 these notifications don't appear. After looking into why, the app is listed in the notification center settings as no banners or...
approach for local notifications for Android
Since "local notifications" are only iOS at this time are there recommended approaches for simulating this sort of functionality for android? would the new "Simple Android Services" introduced in Titanium sdk 1.5 be the right approach...
Urban Airship & Android Tutorial?
Hey guys! Is there any tutorial or documentation for the implementation of Urban Airship (push notifictions) in Android? Thank you :) Greets, Hans!
Local notification problems
I'm trying to register a local notification, but I'm having quite a few problems. Firstly with userInfo: it MUST be set with a string, if I try pass variables for example: `userInfo: rowid` or `userInfo:{rowid,rowid2}` the app will crash when registering...
registerForPushNotifications at every startup ?
Hey everybody, I have a simple question regarding the Ti.Network.registerForPushNotifications usage. Should I call the method at EVERY startup or should I store (in an app propertie for instance) the fact that my registration succeeded ? This last...
Push notification callback only firing if app is open
I've implemented push notifications, but my callback will only fire if the app is open at the time the push notification is received. If the app is closed and a notification is received, clicking "View" launches my app, but the callback code is...
Question about local notifications and background service
So I'm trying to compile exactly how the local notifications work. I understand you schedule the notification. My goal is to have a notification occur everyday at 9am but with different data.. basically pulling from a random row in the db. I need this...
notification callback function only works in the app?
Am I correct in believing that the callback function is only executed if the app is actually currently open on the iPhone ? This is the code I have in my app.js ~~~ // register for push...
How to make notification eventlisteners work across multiple scheduled notifications?
I am building an app that every hour, schedules a few localnotifications through a background process. Currently, the background process runs as designed, and the localnotifications are working. What I need to do is to use the userInfo field of the...
Repeat notifications
I'm trying to setup local notifications to repeat once a day. What is the best method to so? If i use date javascript method to set the notification time then that will only allow it to occur once a day (or enever it is reset which means the person has...
Recurring local notifications
I know it's possible to repeat a local notification daily, weekly, etc., but is there any way to repeat it after a certain period of time? ex: 4 hours
Stop a background service but run it again later
I'm trying to set local notifications using a background service, but I'm having trouble unsetting, and then resetting the background service when the app resumes. The problem is that, if the background service runs, then I resume the app, things just...
Local Notification crash
I'm working on a app which is using Local Notifications. It has been working for a while but since i recently launch the app to test them they crash with a stack trace. It only seems to happen when...
App Update Rejected Please Help
I have submitted an update 2 weeks ago that was approved in the app store, but tonight I submitted another update and the binary was automatically rejected. I only changed 2 lines of code, and the message i get says this: Dear Developer, Thank you for...
UrbanAirship - cant get off the ground! - help needed
Hi Guys, Ive registered with UA and set up everything i need for push (certificates etc...) I tried running the code from the UA website (http://urbanairship.com/blog/2010/05/26/appcelerator-and-urban-airship/) And i just get a blank page? The UA website...
iOS Local notifications - sound not playing?
Hello, I'm trying to implement local notifications on iOS (Titanium SDK v1.6.1, Titanium Developer v 1.2.2 and iPhone SDK v4.2) with the following code: <script src='http://pastie.org/1715087.js'></script> The local notification works, but...
Best way to implement App to App notifications?
Hi, I'm new to Titanium, and I was wondering if there's a way I can use the Titanium APIs to enable app-to-app notifications. The gist of my application is that users invite other users, and there needs to be notification of the in-app invite and the...
Local Notifications "Repeat" argument
Hi, I'm trying to use Titanium.App.iOS.scheduleLocalNotification because it's perfect for my app, and I have read in API docs: "params object dictionary of key/values that are used to create the notification. the date property is when the...
Android Statusbar notifications
Hi All, anyone knows if this feature works in any of the alphas/betas? Are appcelerator people working on it?
Native notifications in Windows possible?
Windows has a native notification system in form of the balloon notifications associated with icons in the notification area (aka tray). Titanium seems to support only third party notifcation applications or roll its own notifications as a fallback. Is...
Push Notification not returning success
Hi, I'm testing the KitchenSink Push Notification example on my device and after I get prompted to allow notifications, nothing happens, it fails silently. It doesn't seem to call the success event. I'm using 1.4.3 continuous build. Any ideas...
Push Notifications in Android
I've seen plenty of examples and advice in terms of implementing Urbanairship into Titanium using the iOS SDK, but is there support for Android? If not, is it possible to implement Urbanairship via Java into the existing project, or will that create...
Q&A Email Notifications.
Is anyone else receiving Q&A email notifications. Even though my email is correct and I have notifications enabled, I am not receiving any. Any advice would be appreciated.
Android Toast Notifications
I see in the release notes for 1.4 it lists improved support for toast notifications in Android but I can't find any references in the documentation for how to use them. Ti.UI.Notification is mentioned specifically but it's not in the 1.4 documentation on...
Local Push Notifications?
My app is currently using Urban Airship and is also connected to a MySQL database. Everything is working great and I couldn't be happier with it's soon launch. A few months ago I heard rumors of local push notifications being a feature of...
HTTP Request and push notifications
Hello, I have a question about the possibility with Titanium to get and then send via HTTP protocol the following values : Device Model, Display Name, Unique ID, Token & Version Number. Perhaps there's a way to do that in...
Showing 1-47 of 47