问题标签 [appcelerator-arrow]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
441 浏览

ios - Push messages for iOS: "Error Code: 1001; Remote host closed connection during handshake"

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 no values for iOS and Android, neither for the Devices column. The (real) iOS device I am deploying to is registered for the push channel o***l though.

Checking the reasons for the failure through the API yields this:

Googling for "error_message": "Exception Type: APNS; Error Code: 1001; Error Message: General Problem; Catched Exception: Remote host closed connection during handshake" returned this post, but my case seems to be different as I can connect to the Apple Sandbox successfully:

I have already regenerated the SSL key for the push notifications. Sending the push message through the API is all the same than sending it from within the web interface of the platform.

What else could I try? Is there known issues?

0 投票
2 回答
108 浏览

appcelerator - 创建新的 appcelerator 箭头应用时出现登录错误

我正在使用 Windows 7 64 位操作系统和 appcelerator 的命令行界面版本 5.2.0。

尝试使用 appcelerator 命令行界面创建箭头应用程序时。我收到一条错误消息,指出“您尚未登录。请重新登录。” 但是我已经登录了!?!?(见命令行堆栈的图像

appcelerator 似乎没有正确登录我。任何人都知道这是为什么?

0 投票
1 回答
160 浏览

appcelerator - 如何使用 appcelerator 推送新的地理围栏位置?

我有一个内置 appcelerator 的应用程序,并且我已经升级为使用地理围栏模块。我希望能够设置新位置并将其推送到应用程序,我认为这可以通过推送通知来完成。

在 appcelerator 仪表板中,有一个地方可以创建“地点”和“地理围栏”条目。我已经做到了。但我不确定如何将其输入应用程序。因为看起来他们必须在应用程序中注册:

http://docs.appcelerator.com/platform/latest/#!/api/Modules.Geofence

我是否应该编写代码来下载并注册它们?是否有可能在推送通知中以某种方式做到这一点?

我可以通过推送通知触发流程,无需打开应用程序即可注册新位置?

0 投票
2 回答
317 浏览

appcelerator - 无法确认用户。400 错误请求 - 无效的应用程序密钥

我在 appcelerator 平台中遇到电子邮件验证问题。我已经正确配置了所有内容,并且在创建新用户时电子邮件会到达我的收件箱,但是由于某种原因,激活帐户的链接返回:无法确认用户。400 错误请求 - 无效的应用程序密钥

我检查了 tiapp.xml 并检查了 api 密钥是否配置正确并且一切正常。我不知道 appcelerator 如何生成此链接来验证发生了什么。在我的模板中使用以下链接:

https://cloud.appcelerator.com/users/confirmation?key= {{key}}&confirmation_token={{confirmation_token}}

我做错了什么?=[

0 投票
1 回答
104 浏览

push-notification - Appcelerator 推送通知国际化

我部署了一些在多个国家/地区使用的应用程序。现在我想发送通知,但我找不到用不同语言发送通知的方法。我的需要是向用户发送一些新闻,因此将翻译集成到 i18n 文件中对我来说并不方便。

我想我不是第一个有这种问题的人,但我在互联网上没有找到很多帮助。

请不要犹豫,分享一些提示或良好做法

提前致谢,

阿尔诺

0 投票
1 回答
70 浏览

certificate - WWDP 过期和推送通知

我开发了一个使用推送通知的应用程序。大约 2 周前,来自苹果的 WWDP 证书过期......现在订阅我的应用程序的新设备没有收到我发送的新通知(旧设备正在接收它们)。

我必须上传我的应用程序的新版本吗?或者只是通过更新证书并将它们上传到 ACS,推送通知会起作用吗?

它们是否适用于旧设备(哪些通知有效?)和新设备?

他们必须打开应用程序并再次订阅吗?

先感谢您。

0 投票
1 回答
122 浏览

android - GCM 的 ACS 中的有效负载为空

我正在开发用于在设备上接收推送通知的 android GCM 服务。

我可以注册令牌。只有当应用程序打开时我才会收到通知。

如果应用程序已关闭或在后台应用程序崩溃,控制台消息为“有效负载为空!” 这意味着令牌是正确的并且推送通知消息从服务器接收。但是应用程序没有很好地处理它。

我没有明白我在这里做错了什么。

这是我的代码。

我在我的 Nexus-6 和 Android(6.0.1) 上使用钛 SDk 5.0.2 和 CloudPush 3.4.1

谁能帮我解决这个问题。

0 投票
1 回答
138 浏览

push-notification - Appcelerator Windows Phone 推送通知

Appcelerator 当前是否具有注册 Windows Phone 推送通知的功能?我似乎无法在文档中找到任何信息,或找到任何用于此功能的模块。只能找到专门针对 iOS 和 Android 的信息。

0 投票
1 回答
84 浏览

appcelerator - ArrowDB 未在 usersLogin API 回调中返回正确的会话 ID

JIRA 票证AC-3349打开。我在这里发布问题是为了帮助可能遇到问题的其他人。如果您有同样的问题,请按照票证。

详细信息: 这个问题今天才开始发生(从美国东部标准时间下午 1.30 左右开始)——在此之前一切正常。如果您使用 ArrowDB Node SDKusersLogin以非管理员用户身份登录,则元对象中返回的会话 ID 是管理员用户的会话 ID!可以通过使用 ArrowDB 节点 SDK 并传递会话 ID 来确认这一点,usersShowMe该 ID 返回管理员的用户对象,而不是最初登录的用户。在过去的一两个小时内发生了明显的变化,因为这些 API 在此之前工作正常。我已经尝试过使用两个不同的 ArrowDB 实例,并且两者的问题都是相同的。因此,问题不在于特定的 ArrowDB 实例,而在于 Appcelerator 平台上的 ArrowDB 会话管理的其他地方。

0 投票
2 回答
83 浏览

appcelerator - 在 arrowdb 中查询当前用户的数据

如何在 api 中查询特定用户的签到?喜欢加入用户并按 user_id 过滤?这是因为 checkin 没有 user_id 属性。