appcelerator

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 Module development : How to connect my Java source with the module

倖福魔咒の 提交于 2020-01-14 03:03:27
问题 I have been trying to build a module in Appcelerator to let one Android library become available to Appcelerator platforms as well, but the documentation on Appcelerator site isn't helping me much. It's been two days since I am hitting walls. I followed Android Module Development Guide available on their site, but it doesn't specify many things, for example: It tells about creating a module from command line for a calculator, but doesn't write much about how to integrate the actual code. I

Appcelerator Module development : How to connect my Java source with the module

拥有回忆 提交于 2020-01-14 03:03:12
问题 I have been trying to build a module in Appcelerator to let one Android library become available to Appcelerator platforms as well, but the documentation on Appcelerator site isn't helping me much. It's been two days since I am hitting walls. I followed Android Module Development Guide available on their site, but it doesn't specify many things, for example: It tells about creating a module from command line for a calculator, but doesn't write much about how to integrate the actual code. I

App store Rejects App for IPV6 network support on iOs 10

一笑奈何 提交于 2020-01-12 18:34:49
问题 I got an app rejection mail from apple which is below, We discovered one or more bugs in your app when reviewed on iPad and iPhone running iOS 10.0.2 on Wi-Fi connected to an IPv6 network. Specifically, app remains on splash screen upon launch. Based on their request i have created the NAT64 network on my Mac and shared that internet for the iPhone 5S device 10.0.2 os version , App was working fine, But apple says its not working with IPv6 Can anyone confirm that do i need to check anything

Build ti.barcode failed

邮差的信 提交于 2020-01-07 06:36:09
问题 This is my first time to build Titanium module. What I am building is the ti.barcode for Android. I grasp the source code from Github and import to Titanium studio. Some build path error is easily corrected by opening build path and just close. There is no error shown on the project. But when I tried to package it, I always get error message: Launching build and packaging failed Build failed. Unable to locate generated zip file at /Users/ymlan/Code/ti.barcode-android-2.3.5/dist/ti.barcode

Which version of NDK should I use with a Titanium Android module?

心不动则不痛 提交于 2020-01-07 04:40:27
问题 According to the source and wiki, Titanium requires r9 of the Android NDK. But in the Android archives, the oldest version available is r10e (May 2015). The current version is r14b. With r14b (and r13b) I get compilation failures from ndk-build involving a C++ type mismatch. [ERROR] /Users/jdee/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:57:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] I can compile a

Unable to make an Image Blob JSON Serializable

强颜欢笑 提交于 2020-01-07 03:42:05
问题 JIRA Ticket created due to base64encode failure: https://jira.appcelerator.org/browse/TC-5876 My Current CFG: Titanium SDK 5.1.2.GA Testing on an iPhone iOS 9.1 I'm stuck in a problem in a project for a client that requires images took on device (using the camera) to be sent to a WebService and afterwards be seen on any device using the app (both Android and iOS devices). Titanium provides a Ti.Blob object (event.media) after taking a picture (which is not JSON serializable) and I need

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

Android Multi window support using Titanium/ Appcelerator Alloy

萝らか妹 提交于 2020-01-07 01:22:28
问题 In titanium how do I add multi window support as described here: https://developer.android.com/guide/topics/ui/multi-window.html Going into multi-window mode means the height of the app can change. Therefore I need to react to this, so I can show/hide/modify elements as appropriate. I presume that I need to add an event for when the app is resized, but I cannot seem to find out how to do this. In the docs, I have only found information regarding changing orientation: http://docs.appcelerator