appcelerator-arrow

Push messages for iOS: “Error Code: 1001; Remote host closed connection during handshake”

喜夏-厌秋 提交于 2020-01-14 06:05:31
问题 I am trying to send push notifications through Appcelerator's Arrow service to my Alloy app. Currently I try to get it to work on iOS, but it fails. I have followed the Appcelerator Tutorials for generating the iOS certificate and for registering my device. I am using the latest Appcelerator Titanium release as of writing which is 5.1.2.GA. In the notification logs inside the platform, the message looks like this: 56cb19af13d239090f0914aa --- --- Failure Feb 22, 2016 2:22 PM It has an ID, but

Push messages for iOS: “Error Code: 1001; Remote host closed connection during handshake”

此生再无相见时 提交于 2020-01-14 06:04:33
问题 I am trying to send push notifications through Appcelerator's Arrow service to my Alloy app. Currently I try to get it to work on iOS, but it fails. I have followed the Appcelerator Tutorials for generating the iOS certificate and for registering my device. I am using the latest Appcelerator Titanium release as of writing which is 5.1.2.GA. In the notification logs inside the platform, the message looks like this: 56cb19af13d239090f0914aa --- --- Failure Feb 22, 2016 2:22 PM It has an ID, but

Appcelerator - Using REST API

只愿长相守 提交于 2020-01-07 02:01:12
问题 I am calling the following curl command, but it is always returning me invalid username/password. curl -F "login=myemailAddress" -F "password=myPassword" "https://api.cloud.appcelerator.com/v1/users/login.json?key=<API_KEY>" I am using the key defined in TiApp.xml as acs-api-key-production. Now if I use the same username and password and login through dashboard.appcelerator.com, then I am able to do so. Can someone please point out as to what issue is this. I am doing a similar implementation

Appcelerator/ Titanium: Cannot send push notification to Android

折月煮酒 提交于 2019-12-25 00:04:04
问题 I want to be able to send push notifications using Titanium and Arrow Push on Android. I have followed the instructions here: Configuring Push Services Subscribing to push notifications Modules.CloudPush My simple code looks as follows: var CloudPush = require('ti.cloudpush'); var deviceToken = null; // Works fine CloudPush.retrieveDeviceToken({ success: function () { deviceToken = e.deviceToken; alert('deviceToken: ' + deviceToken); subscribeToChannel(); }, error: function () { alert('Failed

Appcelerator/ Titanium: Getting Android credentials to push notifications

痴心易碎 提交于 2019-12-02 18:41:16
问题 I want to be able to send push notifications using Titanium on Android. However I get a back-end error whenever I try this, which I believe is to do with invalid credentials. I tried following the docs but they seem out of date. Here's what I did: I went to the Google API manager and enabled "Google Cloud Messaging". Under Credentials > OAuthConsentScreen, I added an email, product name and urls Under Credentials > Create credentials > OAuthClientID > Web Application, I gave it a name and put

Appcelerator/ Titanium: Getting Android credentials to push notifications

放肆的年华 提交于 2019-12-02 07:41:18
I want to be able to send push notifications using Titanium on Android. However I get a back-end error whenever I try this, which I believe is to do with invalid credentials. I tried following the docs but they seem out of date. Here's what I did: I went to the Google API manager and enabled "Google Cloud Messaging". Under Credentials > OAuthConsentScreen, I added an email, product name and urls Under Credentials > Create credentials > OAuthClientID > Web Application, I gave it a name and put some URL's under Authorized JavaScript origins like localhost. Does this need to be something specific