Hi, I am new to Titanium Appcelerator, and have been working on cloud push notification for Android app. So far the app can receive notifications, but I need to set up different channels for different users.
I have in my code:
function defaultSubscribe(){ Cloud.PushNotifications.subscribe({ channel: 'test', device_token: deviceToken, type: 'android' }, function (e){ if (e.success) { alert('Subscribed for Push Notification!'); }else{ alert('Error:' +((e.error && e.message) || JSON.stringify(e))); } }); }But the channels are all 'N/A' in the ACS app push logs. I've been searching for some answers but no luck yet...
Can anyone give me a brief tutorial how this should be done properly? Many thanks!