Questions tagged [titanium]
Titanium is a JavaScript-based SDK allowing developers to create native iOS and Android applications.
5,356
questions
0
votes
0
answers
34
views
Titanium - How to avoid losing focus on TextField when a label is updated within the same ListItem
I have a ListSection that contains a list of products that can be purchased.
For each product it is possible to indicate the price and quantity via TextFields.
When one of these TextFields is modified ...
0
votes
0
answers
30
views
Build failed. Reason: Unknown in Titanium 10.X version
Getting below error for both iOS and Android build creation process. Simulator is working fine.
Android error using command ti build --platform android --output-dir build --target dist-playstore --...
1
vote
1
answer
98
views
How to resolve modules error with arm64 device (Titanium app)
When i try to build and run titanium app for ios with titanium cli (titanium build -f -p ios) I receive the following error:
[ERROR] Error: The app is using native modules that do not support
arm64 ...
0
votes
0
answers
39
views
Titanium mobile development - Android resource linking
Had someone develop an app in Titanium and had to make a small change to it as well as
update target sdk version to 30 from 28 to get it uploaded to the play store.
After installing all the android ...
1
vote
1
answer
40
views
How can I select a provisioning profile in the VS Code Titanium extension?
I am using the Titanium extension in VS Code, and I would like to know how I can select the provisioning profile when I want to build my project to my connected device.
I click on titanium icon on ...
0
votes
1
answer
201
views
Cannot Install Appcelerator CLI or SDK
I am trying to install Appcelerator CLI and SDK, but I get errors all the time. I´m using Windows.
When I do npm install appcelerator -g, in cmd, (run as admin) I get:
npm WARN deprecated har-...
0
votes
1
answer
33
views
Titanium.Media.AudioPlayer stop() method not actually stopping playback on Android 11
As the title describes, I'm having issues stopping audio playback with Titanium.Media.AudioPlayer on Android 11. I am using Titanium SDK 10.1.0.GA.
It works just fine on Android versions 8 and 10 (the ...
0
votes
0
answers
88
views
Firebase - Realtime Database rules: How to allow all logged in users to write to one area
In my iOS application I am using Firebase - Realtime Database, I want to keep track of responses in a global statistic that every user writes. How do I set up the rules so that they are secure and do ...
0
votes
1
answer
81
views
How to package an app in vs code using titanium for android Mobile Apps?
While packaging it is asking output location twice I am confused which one to use, I am doing it on vs code using titanium extension which I downloaded.
0
votes
1
answer
59
views
Npm strange bug, Titanium Appc Alloy
this is what I'm doing var Promise = require("bluebird");, but when I'm lauching my app on android, I got this error, for actual no reason (imo)
[ERROR] TiExceptionHandler: (main) [99,287] ...
1
vote
1
answer
134
views
How to publish Appcelerator app to google playstore / Apple store?
Helo Everyone.
I'm newbie in Appcelerator Titanium and mobile apps development as well, and trying to know on how to publish or distribute my appcelerator apps to google playstore / apple store?
thank ...
0
votes
1
answer
193
views
Appcelerator titanium alloy build error build fail CopySwiftLibs
I a developing a mobile app and i am getting this build error when try to launch the app on ios simulator. Much appreciate that if someone can help me figure this out.
[ERROR] ** BUILD FAILED **
[...
0
votes
1
answer
56
views
How can I record small size voice files in Android using Titanium?
Please help me! I want to record small size voice files in Android using Titanium.
I am using Titanium.Media.AudioRecorder() to record voice files, but the size of the generated files are too large.
I ...
0
votes
1
answer
268
views
Does APNs provider API requirement starts March 31 notice applicable to Appcelerator Mobile Backend Services
We use PHP backend to connect to appcelerator notification REST API. In this scenario does APNs provider API requirement starts March 31 notice applicable to Appcelerator Mobile Backend Services
0
votes
1
answer
45
views
Appcelerator app, iOS reviewer rejected app build for issue not present in the Simulator
I have an iOS app (built/distributed in Appcelerator Studio using the Titanium SDK) that has no issues in the Simulator but some functionality fails whenever an iOS reviewer reviews the app and it ...
0
votes
1
answer
60
views
Titanium geolocation distanceFilter property is not working as expected
Need a help here for geolocation API - even after using Titanium.Geolocation.distanceFilter = 10; 10 in meter callback function is getting triggered randomly without moving here and there. Any idea ...
0
votes
0
answers
39
views
Appcelerator Titanium iOS Background Service Stop 30 Seconds
Appcelerator Titanium iOS Background Service Stop 30 Seconds.
How do I do it without limits?
1
vote
2
answers
170
views
new thread in Titanium Hyperloop
I want use Huawei Push Kit in my Appcelerator Titanium app with Hyperloop.
var tokenString = '';
var Activity = require('android.app.Activity');
var ActivityToken = require('com.huawei.hms....
0
votes
0
answers
134
views
Titanium evalJS slows loading of the webview - timeout waiting to evaluate js
I am developing Titanium application with a webview that is loading content from a remote url. In the load event I am injecting some code with evalJS. Using Titanium SDK 8.0.0+ the loading of the ...
0
votes
1
answer
39
views
How to create shaking randomly images
I wanted to make a shaking image in a imageView in Appcelerator TItanium
What I would like to do is to randomly change the top position and the left position of an imageView, to do like a shaking ...
0
votes
1
answer
57
views
Updating an application from titanium sdk 3.4.0.GA to 9.2.0.GA making my fonts looks very very small
Default uint is set to dp.
<property name="ti.ui.defaultunit" type="string">dp</property>
All the font size is set with dp unit in tss files. Like below
font: {
...
0
votes
1
answer
30
views
Alloy , nl.fokkezb.loading giving error on show function. I need to upgrade some old apk, when I rebuild the old code getting this issue
My current Ti SDK is 9.2.0.GA, and ti cli is 5.2.5. I need to upgrade an old application that was built with 3.2.0.GA. I changed the tiapp.xml file and updated the SDK version to 9.2.0.GA. Then I am ...
0
votes
0
answers
73
views
Why is the Titanium function canOpenURL IOS not working?
I am trying to test for the presence of another app installed on a device on iOS using the latest version of Titanium (currently 9.2.0GA).
For some reason the function canOpenURL() always returns the ...
0
votes
2
answers
73
views
Debugger is not working in appecelator studio
I have installed the appecelator studio 6. I have placed the breakpoints and when i debug either as android or ios, the code is not breaking. I have verified the axway documentation and have done the ...
2
votes
1
answer
147
views
How to detect model of iOS in titanium framework
Example :
iPad pro 3rd generation onward due to introduce bottom black bar notch.
Not exist in iPad pro 1st and 2nd generation. All four generation has same resolution. 1024 X 1366
if i fixed for this ...
2
votes
1
answer
183
views
Titanium UiTextField Clear button is not at all visible in Dark Mode for iOS v13
I have been facing an issue with clearButtonMode property of UiTextField in my input box. If I use app in light mode then everything work well but the moment I switched to dark mode that clear button ...
0
votes
1
answer
479
views
Appcelerator Titanium - Could not find or use auto-linked library 'swiftCore'
I am developing an Appcelerator Titanium iOS Module that uses a 3rd party framework (OpenCV).
So far, so good. I ran into some problems, but gradually managed to get through them (with help). Now, I ...
1
vote
2
answers
142
views
Can't compile App from Titanium Appcelerator with iOS OpenCV Module
I have an issue that is going on for over a month and I can't find any solution for it.
I created an Appcelerator Titanium Module, which uses the OpenCV framework.
I tried literally everything I found ...
3
votes
1
answer
147
views
iOS 13 dark mode is not working using Titanium classic framework
I am trying to implement dark mode theme in our app for iOS 13 and above. I have followed this link Dark Mode in iOS 13. But I am facing some issue. I have attached the sample code below. I am ...
1
vote
1
answer
399
views
Add local .aar files to Titanium SDK 9 Android module
I'm creating an Android module using Titanium SDK 9. I have 2 .aar files that I need to include in my module. According to the documentation you cannot add them to the lib directory anymore:
"...
0
votes
1
answer
135
views
Appcelerator Titanium iOS Module in XCode gives error: Cannot find interface declaration for 'TiModule'
I created an Appcelerator iOS Module via CLI like this:
(appc new -n moduleName --id com.my.moduleId)
Beside the ComModulenameModule I have created the ViewProxy and View .h and .m files so I can use ...
1
vote
1
answer
167
views
Firebase analytics with latest Ti SDK 9.0.3 GA having issue for screen_view
I tried using Firebase with previous version of Ti SDK (7.5.2). Where both FIRAnalytics.setScreenName and FIRAnalytics.logEventWithName (methods of ti.firebase, equality method in other modules) ...
1
vote
1
answer
96
views
Titanium ellipsize property is not working for Label in iOS
In iOS ellipsize property is not working for me. The same code is working for android. I have attached the iOS screenshot for iOS issue below. Please help me to understand If I am missing something.
...
0
votes
1
answer
61
views
what is the significance of setFrequency() function in titanium Js v7.5.0
I have been facing an issue regarding Geolocation in iOS/Android app. I am using Titanium Js and have upgraded Ti v7.5.0 to v8.3.1. I checked my legacy code and came to know that this below function
...
1
vote
1
answer
308
views
Appcelerator : How do I change the IOS simulator in titanium?
How do I change the IOS simulator in titanium?
I want to start up in the iPhone 11 simulator, but the iPhone SE starts up.
0
votes
1
answer
860
views
"DataCloneError: The object can not be cloned." in titanium 8.0.0
DataCloneError: The object can not be cloned." getting this while using SDK 8.0.0 for below code. any idea why am getting this ? this error i am not getting in SDK less than 8.0.0
Titanium is ...
0
votes
1
answer
50
views
The application has crashed with an uncaught exception 'org.applicationame.TiUIWebViewProxy' in 7.5.0 and 7.5.1 SDK
I am getting below error while using titanium SDK 7.5.0. Apps works well with 7.4.x. I am doing upgrade before that i want to address root cause why app is not working in latest and > 7.5.X
This is ...
1
vote
1
answer
589
views
ERROR Unable to find any Xcode installations that supports iOS Simulator 13.2.2
I tried this two question Question1 and Question2 nothing works for me. Tried reset sim also.
Below are log details:
appc run -p ios -T simulator -C
Output of this command :
Appcelerator Command-Line ...
0
votes
0
answers
784
views
Force light theme on Android for Appcelerator Titanium app
After updating the Android SDK API to version 29 on an old app, one "picker" gets messed up if the Android phone is set to the dark theme, everything else is fine, but this one picker shows ...
0
votes
0
answers
52
views
Vertical scrolling lags on Appcelerator titanium
App.UI.Views.SingleInformationWindow = function() {
var _ = require("../libs/underscore")._;
var that = this;
var defaults = App.Defaults.SingleInformationWindow;
var ...
0
votes
1
answer
258
views
ERROR -[ getFieldName:]: unrecognized selector sent to instance while starting IOS simulator for Appcelerator
I am trying to compile an Appcelerator Titanium application using xCode 11.5 in order to deploy to AppStore. While starting building the application I get this error.
I mention that the app worked ...
1
vote
1
answer
86
views
Unable to find any Xcode installations that supports iOS Simulator 13.2.2
I am getting this error when using titanium and trying to run my app on iOS simulator . I could do it before. My SDK version is 7.5.0.GA. How can I make it fine?
I use the command below to build my ...
0
votes
2
answers
147
views
Elements of a TableView Appcelerator Titanium do not respond to click in Android
I have a tableView with some rows, after some scrolling up and down the elements of some rows (which exact row changes every time) do not respond anymore to the click event. This happens only on ...
2
votes
1
answer
146
views
Getting error after openURL on appcelerator Titanium v 9
I'm working on Titanium project build on sdk v9 for ios platform, and I'm getting this error when opening an external url with this function Titanium.Platform.openURL :
[ERROR] : Script Error {
[...
0
votes
1
answer
212
views
failed to leave a valid exports object in titanium 9.0.1
I have added screenshot which i am getting error while building app for titanium
SDK : 9.0.1
For SDK 8.3.1 and 7.4.2 this error not coming app is working fine for this SDK version only having issue ...
2
votes
1
answer
425
views
How to remove white color circular border in google devices like pixel
any one having idea how to make icon in google pixel without white border circular. I can see chrome icon doesn't have circular border. How to make it any help ?
You can see in screenshot google ...
0
votes
0
answers
123
views
Upgrade the Titanium SDK Version for a Project
I'm having a Titanium project build on sdk version 6.x and I want to upgrade to sdk version 9, but I'm having many issues and conflicts. Is there any way or a documentation to do the upgrade without ...
1
vote
1
answer
238
views
Invalid value for the 'android:targetSandboxVersion' attribute in the AndroidManifest in titanium
I am getting below error while pushing app for beta release in google play store.
Invalid value for the 'android:targetSandboxVersion' attribute in the AndroidManifest.
I check in my tiapp.xml ...
0
votes
1
answer
277
views
Appcelerator CLI fails to launch Android App after updating from 8.2.0.GA to 9.0.X.GA SDK
I have an app in production since 2015 and I've been updated it many times with different Titanium SDK versions.
Right now I need to update it again and I would like to use the latest Titanium SDK 9....