We are developing an app using Appclerator titanium. We have a free version of the app and an inApp purchases to get more features. On success of purchase we need to download a content( mainly an xml file) and read them and update the database. How is this possible using titanium.
n
Also does any ]one has a sample code for the urbairship in app purchases
You will need to use the storekit module for Titanium.
You can download it free from the marketplace:
https://marketplace.appcelerator.com/apps/794
The download has the instructions on how to use it.
Related
I'm using Expo.io for publishing my over-the-air updates. I have submitted several new official updates (so new SDK/IPA files) to the App and Play store. I'm still using the same version of Expo as before. Will my over the air updates go out to the previous versions(people haven't gotten the offical app/play store update)? Or are the old versions stuck until the user manually updates to the latest version so that they can get OTA updates again?
If you upload a new build to the app store and play store, the user will need to download the build in order to get OTA updates for that build.
If you just build and push to the expo server, the user will be able to get OTA updates without any download.
The standalone app knows to look for updates at your app's published url.
From the documentation : Publishing Guide
When you build the binary, the current version of your app JavaScript
is bundled so that it loads immediately the first time the app opens.
But you’re not stuck with that version of your code, you can publish
updates at any time after that without needing to re-build the binary.
For example, if you find a bug or want to add some functionality to
the app after submitting the binary.
The standalone app knows to look for updates at your app’s published
url, and if you publish an update then the next time a user opens your
app they will automatically download the new version. These are
commonly referred to as “Over the Air” (OTA) updates, the
functionality is similar to CodePush, but it is built into Expo so you
don’t need to install anything.
Core expo team member #ide answered your question in this comment:
The way Expo, the publishing system, and versions work is this:
The Expo client and standalone apps support multiple SDK versions (ex: 18, 17, 16, 15).
When you publish your project, the Expo server saves your project bundle and the "sdkVersion" value in exp.json or app.json.
When the Expo client loads your project, the server sends back the latest bundle with the greatest SDK version that your client supports. So if your client supports SDKs 15 through 18 and you've published your project with SDK 15 and SDK 16, the server will send back the latest bundle for SDK 16.
So if you had published your project with SDK 16 before but then went back to SDK 15, any client that supports SDK 16 would still receive the old SDK 16 bundle.
The old Play Store versions will still get OTA (exp publish) updates as long as the published URL hasn't changed, which you can set in your app.json. This is because that URL is hardcoded into the native code (it's in MainActivity.java for Android).
Your published URL will be expo.io/#your-username/slug. From app.json's documentation:
slug
Required. The friendly url name for publishing. eg: expo.io/#your-username/slug.
I want to implement calendar in my app from which I can set specific events on specific time same as shown in image. I want to do it in titanium please guide me what I have to do for it.Thanks.
Have a look at this Titanium Module TimeSquare calendar picker. There are some Calendar View UI modules out there available through the Appcelerator Marketplace.
Judging from the screenshots you've posted I'm supposing you want to build an iOS app but before you start carefully check README file for platform specifications, Titanium SDK support and any other development considerations.
Is there any way to get the number of Apple iOS Installs (from iTunes Connect) into my Mixpanel for tracking? Has anyone figured this out? Looking to track Acquisition figures for my App.
If the answer is No, is there an Analytics platform that does integrate with iTunes for this data?
Try out appfigures, it gives you install numbers from the app store and some other helpful information. Unfortunately though, you can't track app installs to mixpanel directly.
my system has 2 users and a user has installed titanium studio and developed some apps.but he is using old titanium SDK 1.6.
he installed titanium in common, i.e) it available for both the users.
now I want to upgrade titanium sdk only for my user level, that should not affect his Titanium SDK.
is this possible to do in MAC OSX-Lion
When you update Titanium SDK, the older ones stay too.
You can update this in tiapp.xml, where you can select the SDK to use for the specific App. (not the xml editor, but the other one).
Same thing when you create a new app, you can select the SDK version.
With the current apps, an SDK is linked to it. It will not change when you update.
Conclusion: Don't worry about updating, just do it.
Robin, You can select your older SDK as given in the picture.
Look at the circled portions. You can select the SDK either when you creating a new project or after creating the project, select the project configuration by opening the tiApp.xml overview( rounded at the bottom) and select the required SDK.
You can also edit the SDK version in the tiApp.xml by editing
<sdk-version>2.1.3.GA</sdk-version> to <sdk-version>required version</sdk-version>
As Mr.Rene said, there won't be any problem for updating your SDK. Updating your SDK will help to improve your SDK and it fixes the bugs in the SDK
I wanted to know the advantage and disadvantage of building titanium from source?
Which will be better in terms of pricing licensing - Titanium from App explorer or titanium from github?
What I can leverage if I go with the Github?
As I am confused that if I build any commercial application or an application that generates revenue, so do I have to pay royalty to Appcelerator.
You do not have to pay any royalties to use Titanium SDK, or distribute Titanium apps on the app store, there is no reason at all to compile it from source. You only pay if you want to purchase specific modules from the marketplace, or want dedicated support from Appcelerator itself, or want to use a large volume of ACS.
You do not gain anything (if your just getting started with Titanium that is) by compiling from github except pain, suffering, and compile fails.
Here is a link to the specific pricing.