Community Questions & Answers
Can push be implemented without using urban airship or ACS?
I have my own server which is supplying all the data for my app, and wanted to configure my server to push notifications to my app on its own. I really dont need to send data to a third party like urban airship or the ACS. Is this possible? I've only...
Own Android Push with gcm
Hello, in my App I included Apcelerator Cloud Services to send push notifications to android and ios. This works without any problems but I want to send the notifications from my own server. Everything is working fine with ios and I can send push...
Android Soft Keyboard Pushing Controls Up
I can't seem to figure out why the appearance of the soft keyboard whilst editing a text field on Android causes some of my controls to get pushed up the page. Is there a way to stop a view or a button from being moved up? It makes a real mess!
Ti.Network.registerForPushNotifications: Non-public API usage
Hi! I was trying to upload a new version of my app to AppStore when it suddenly is being rejected. The e-mail I receive contains the following text. "To process your delivery, the following issues must be corrected: **Non-public API usage:** -...
Push Notifications Setup
The app I am building will be requiring push notifications. I do not have a single clue how to even get started on this and how to establish this service. So, I am just throwing out a feeler out there for any good tutorials documentation related to this.
Urban Airship Push not working in App Store, works on Ad Hoc
Ok I could really use some help on this one. I am totally lost now and going on 2 updates to the App Store which have not resolved it. I thought for sure this past time I had it working. Basically I am using the REST version of Urban Airship, not the...
registerForPushNotifications - Code not running at all?
It seems my code is not running at all when I try to registerForPushNotifications. NONE of the callback functions are fired. No error, no success, nothing. My app is set up as a tabbed application. My app.js looks like this: ~~~ (function() { var...
Push Notification don't work
Hello everyone , i have an issue with implementing Push Notification i got this error , in the cycle of retriving device token : [ERROR][com.appcelerator.cloud.push.CCPushService( 709)] Invalid token request. Message:Application can not be found,...
App badge not updating on push notification
While testing push notifications I've found that badge property which seems to be properly included in the push notification, does not update the app badge icon. The value is an integer value. I've also made sure when calling registerForPushNotifications...
Android Push Notification
Hi Everyone, I have been implementing push notifications using ACS in my application, however the android device doesnt get the notification once the notification is sent from the web console by Appcelerator. The android device is shown under the...
Question regarding data.push?
Hi Everyone, I have a question regarding pushing data in titanium. With data.push is it possible to push more than one data type from a SQL statement? Thanks
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 =...
How to pass arguments in Push Notification Payload?
How can I pass arguments for my app in Push notifications, so that the app receives the information? My App event receives and can only interact with push notification actions which was send local. ~~~ Ti.App.addEventListener('resumed', function(e) { if...
Problem using Urban Airship with Android
I have a problem using the Urban Airship module on android. In the example folder that is included in the module zip, there is a folder platform/android/bin/assets right beneath app.js that includes the .properties file needed by Urban Airship. But it...
Perform background method when push notification arrives in iPhone
Hi there, Is there any way to execute one method in the background when a push notification arrives? (not when the user opens the app or clicks the alert). In android you can do this easily because you can define what is going to be executed in the...
open window when receive push notifications
Hi, i have this code : ~~~~~ Titanium.Network.registerForPushNotifications( { types : [Titanium.Network.NOTIFICATION_TYPE_SOUND, Titanium.Network.NOTIFICATION_TYPE_ALERT], success : function(e) { Ti.API.info("deviceToken = " +...
iOS Push with my Webserver
Good morning, i know in the web are many topics about "iOS Push" and belive me, i have red a lot of them. At this moment i didn´t get any response what is wrong with my code. What i have done until now: 1....
Which event can I listen to, to catch incoming APNS Push Notification when app in background?
Hi All, I've searched forums and the Q&A and can't find a proper answer for this. This does seem to be a common question around here though. I have an app that can receive APNS push notifications no problem. When the app is in the foreground, the...
UrbanAirship.resetBadge() not working
I have some standard code (taken from the docs) with UA Push Notifications working fine on iPhone. Badge numbers are reset when the app opens or resumes. when the app is closed, and i do a push with a +1 badge, the badge updates accordingly. great. when...
ACS Push Notifications - Usage lookup?
Hey there, I just noticed that my customers (around 1100) do not receive push notifications any more. I use the "free" plan and cannot see any error logs, that notifications could not be transmitted. So my question: Where do i see when push...
How to fix "You need to sign in or sign up before continuing" error when trying to send a Push Notification using C#'s RestShap?
I'm trying to send a notify alert to all the devices subscribed to my channel through the RestSharp API for C#. This is how my code looks like: ~~~ public void SendPush() { try { var client...
Urban Airship with Android
Does anyone have a complete walkthrough on getting UA to work with Android? I created my key in the Google API Console, added it to Urban Airship, and cut and pasted the module example code, but it doesnt register. Can anyone help?
GCM in titanium
Hi, is GCM supported in Titanium like for apns ? I know that we can got the token from APNS with registerForPush function offered by Titanium. so is it possible to get the registration id from GCM with titanium functions ? thanks
[ACS] PushNotifications in Production
My application is ready for production on iOS, but before I submit it to the applestore I would like to test the pushnotifications in the production version. I created a adhoc distribution certificate and I deployed my application to my iPad. To test...
Push Receive is not working.
Hello, I'm doing some tests with ACS Push Notification but it's not working anymore. I can subscribe to a Channel, see that there is one user connected there but whenever I try to send a notification message nothing arrives, never!!!!. Does anyone know...
Cloud PushNotifications: When to get device token and login?
Hello, I am successfully able to retrieve a device token and login on the server and even receive push notifications. Everything works as expected. I'm not using any other cloud services other than receiving push notifications. However, I'm not sure if...
Instant messging
Hi, I'm working on app that's suppose to have instant messaging capabilites. From looking around the forum I've found several modules that can do that, but it seems that none of them supports messaging when the app is turned off. So how are the big guys...
ACS notify object in PHP
I'm try to send notification from my web server by PHP. The php code work well when I send a english string. But I got some error when I try to send a Chinese String. This is my code ` $tmp_fname = "cookie.txt"; $ch=curl_init(...
Android PACKAGE_REPLACED
I'm developing an android app that uses an urban airship module. I am supposed to use PACKAGE_REPLACED to make the app know there is a updated version and rerequest push. However, when I use this the app freezes on the splash. In my...
Geoloqi module
Does anyone know what happened to the geoloqi module as i can't find it on the marketplace! otherwise is there any service for location bassed push notifications?
No success or error callbacks after registering for push notifications on iOS: Titanium SDK 3.0
Titanium 3.0 SDK. Tested on iOS 6.0 and 5.1 on physical devices. When calling Ti.Network.registerForPushNotifications() I'm successfully seeing the Allow/Deny alert prompt however when clicking Allow I see no Success or Error callbacks fired. This of...
Push not working today ?
Hi, I have a live app running since 2 month. Push works push perfectly, however today all my push are not sent. Is there a problem today ? Thanks
Merge multiple push notifications in tray (android)
I'm developing an app in Android using ACS push notification. For each notification received, it's displayed one by one, I want to know how can I merge them into only one notif item. I'm aware from the ACS android sdk there's showNotification() function...
How to use Apns-PHP with titanium?
I want to run push notification with titanium and Apns-PHP(or EasyAPNs). I have already completed the development of my app with ACS push notification, but I want to develop the php version. Because ACS pricing about push notification is too expensive for...
Android Push Notifications - Callback not being fired
I am attempting to use ACS on both iPhone and Android. The iOS works perfect. Yet the android subscribes like it should, but when I send a test message to all channels nothing shows up on the android. Where am I going wrong? ~~~ var deviceToken = '' if...
Push notifications
Hi, Wo to register for push notifications without using ACS ? I want to send push notifications from another serveur ? thanks
Change the app badge when receiving a push notification in background
Hi all, I have a little problem here, I want to modify the app badge on my iphone titanium based application. I was able to do it when the app is focused (foreground), but when I do it in backgound ... it won't do it I do send in the json of the push...
ACS Push Messaging - Messages not being delivered.
I am trying to send push messages using Appcelerator Cloud Services. The messages will be generated by a PHP web script. I can successfully send messages to devices from the ACS console either using UserIDs or to all devices so I know I have app set up...
push notification
Hi, With ACS (the free one), we can send 5.000.000 push. are Apple or Google offerring a push notifications services on the cloud ? are they free ? or limited like ACS ? thanks
iOS app vanishing from Notification Center after update
I have an iOS app written in Titanium Studio using Push Notifications, Badges and Sounds through Urban Airship. After my last update people who upgraded are having problems with the Notification Center. At first my app still appears in the Notification...
Using Urban Airship with Titanium for Android GCM
Hello, we have been using Urban Airship (UA) for our push notification needs on both Android and iOS. However, while c2dm was working fine, we are now looking to leverage Google Content Messaging (GCM) for push notifications on Android. Is there a...
How to open an application from background service?
I have an android background service running. I'd like to open the main application when a certain event occurs. Right now I just show the notification: ~~~ var notificationIntent = Ti.Android.createIntent({ className:...
Android GCM Push Module
For all developers (like myself) who have been struggling with implementing Android push messages, just found a new module in the Marketplace called uPush that works !! Took me 10 minutes to get it up and running, just thought I would share this.
Android GCM Push on Titanium SDK 3.0?
All, I am using test code from http://www.titaniumtutorial.com/2012/06/appcelerator-cloud-push-notification-in.html to use push notifications for Android using Titanium. I was trying to use Titanium SDK 3.0 and was pulling my hair out because I would...
object has no method push
Hey guys, I am trying to add data in my array but not to succeed in it. ~~~ var cart_arr = []; function doTableClick(e) { if (e.source.id === 'productAddToCart') { if(cart_arr.length == 0) cart_arr = { product_id:args.productId , quantity: quantity...
push notification callback not fired if app is in background
The settings on device has been changed to show alert on notification. But when I receive the notification and if my app is not active,the code inside the callback is never executed. Any help?
gcm Big View Notification Android
Hi, I developed an application and now developing the code gcm for push notification service, for which I use com.active.gcm. The notification works well but it's not fully displayed on the notification screen. Is there some way to show all notification...
Titanium.Network.registerForPushNotifications never called
I'm an issue with ACS Cloud version 2.3.1, Ti SDK 3.0.2, Mac OSX. I Uploaded .p12 to ACS portal & Installed the App on the Device Code: ~~~ Ti.API.info('osname ' + Ti.Platform.osname) if(Ti.Platform.osname != 'android') { // For iOS ...
ti.cloud problem
Hi, I'm developing on i os using titanum sdk 3.0 and i os 6.1 I'm trying to add push notification to my app here is my code ~~~ var Cloud = require('ti.cloud'); var deviceToken; //user registeration on cloud exports.registerUser = function(queryData)...
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...