How can I get device phone number in Appcelerator Titanium? - titanium

Recently I found that in Cordova it is possible to obtain user's phone number (cordova plugin link).If Cordova can do that, than Appcelerator should too.
How can I do that in Appcelerator Titanium?

I made a module a while ago and uploaded it to github: https://github.com/m1ga/com.miga.gsm
Version 1.0: Ti 5.x
Version 2.0: Ti 6.x
this will get you some of the fields the cordova plugin gives you. It will read the phone number but as mentioned in the page you've posted it's not reliable.

Related

Branch.io Deep linking not working on iOS 13+. It does not show pop-up to open application(Ionic 5, Capacitor)

I have added deep-linking integration in our app and using plugin capacitor-branch-deep-links. It is working till iOS 12.1 but in iOS 13+ it does not show a pop-up to open the application on a click of deep-link.
I have also tried forced uri redirect mode but none of these solutions are working.
https://help.branch.io/using-branch/docs/creating-a-deep-link#forced-redirections
Installed Dependencies:
Ionic 5.26.0
#capacitor/cli 2.4.5
#capacitor/core 2.4.5
#capacitor/ios 2.4.5
capacitor-branch-deep-links 3.0.0
After going through this link, I figured out that I was using the wrong Apple App Prefix and invalid Provisioning Profile Specifier. This correction fixed my issue. Though I am still not sure why it was working in iOS 12 with the wrong Apple App Prefix and Provision Profile

Configuring Blackberry 10 SDK in Titanium

I have been working on Blackberry 10 Cascades Native SDK. I tried to configure the SDK in Titanium Studio. Though the Titanium Dashboard indicates a green checker and states the SDK installed and configured, when i try to create a new project, the Blackberry SDK check option is still disabled. (Titanium is updated to the latest revisions. Blackberry 10 Native works fine. Simulator is good). Could somebody help?
From Appcelerator site :
To get started developing your app, you can gain access to the public
Titanium Mobile BlackBerry GitHub Repository. Installing the
BlackBerry 10 development tools are straightforward, and instruction
can be found at README. Read the Terms and Conditions for this offer.
Hope this help you..

Trigger.io Android mobile app using outdated Facebook SDK? Warning to upgrade to 3.0.1 from Facebook

I've recently received an alert in developer.facebook.com for my Android app built using Trigger.io Forge:
Please upgrade to the Facebook SDK 3.0.1 for Android
attentionThursday
This app uses an outdated version of the Facebook SDK for Android. Please download the latest version: Android SDK 3.0.1. You can also learn how the newest SDK makes it easier and faster to build great mobile apps.
We also provide an upgrade guide to make this process as easy as possible.
Facebook will stop supporting v2.0 of the SDK in June 2013, so you are advised to upgrade to the new SDK as soon as possible.
I'm using the latest forge platform version 1.4.38.
What version of the FB SDK is Trigger.io using, and what is the schedule for updating to 3.0.1?
We updated our integration to the latest Facebook Android SDK (3.0.1 at this time) in our v1.4.41 platform version:
http://docs.trigger.io/en/v1.4/release-notes.html#v1-4-41

Titanium SDK update for current user

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

How to downgrade to Titanium SDK 1.5.1 from 1.6

I wanted to develop using Titanium 1.5.1. Now when I download Titanium I am having SDK 1.2. and when update to 1.6 which is the only option I get to update, I don't get 1.5.1 SDK.
How can I get SDK 1.5.1.?
open your titanium developer application and go to "edit" - here you can change the titanium sdk chosen for your project. no need to download the old one.
Follow the steps on the Appcelerator Continuous Builds site for obtaining and installing legacy builds.
http://wiki.appcelerator.org/display/guides/Continuous+Builds
Go to Help > Install new SDK and choose the version from the drop down by checking the lower combo button.Hope this will help you!.