Appcelerator Blog

The Leading Resource for All Things Mobile

Titanum 2.1.3 RC2 is released with additional fixes for iOS 6 and iPhone 5

6 Flares 6 Flares ×

We’ve been hard at work, furiously testing 2.1.3 against the latest iOS 6 and iPhone 5. With the help of you, the community, we’ve uncovered and addressed an additional 27 issues since the last RC, bringing 2.1.3 to a total of over 50 resolved items.

Because we prefer to release a high-quality product rather than rush something out the door, we are placing the full release on a short delay to accommodate the late influx of additional iOS 6 and iPhone 5 issues. This allows us to include both sets of fixes in a single release rather than in a separate 2.1.4.  To do it, we’d like to ask your help once more. We’re releasing a RC2 today with fixes for all (save one) known issues we’ve uncovered from our and your testing. Please test on it, use it in your apps, and let us know ASAP in JIRA if anything still looks awry. Our original schedule anticipated a release date of September 28th. Barring any major issues found as a result of this additional testing, we expect to release a GA version of 2.1.3 next week, still ahead of our traditional 30-day window.

Installation instructions

To install the latest SDK using Titanium Studio, see the installation instructions or follow these steps:

  1. Using a browser, right click a SDK archive download link and copy its URL. You can access the 2.1.3 RC SDK downloads here:
  2. From Titanium Studio, select the menu item, Help > Install specific Titanium SDK…
  3. Paste the link into the resulting dialog field, and click Finish

A list of what has changed since RC follows below. We are including them here, as some of the notes are very important, and we wanted to make sure they were highly visible. The original release notes for RC1 are here: release notes.

Known Issues

There is one outstanding issue (TIMOB-11174) which deals with requesting permissions to view contacts on iOS 6 devices. This fix is currently in testing and will appear in the final GA.

iOS 6 Notes

YouTube Videos

As of iOS 6, embedded YouTube URLs in the form of http://www.youtube.com/watch?v=oHg5SJYRHA0 will no longer work. These URLs are for viewing the video on the YouTube site, not for embedding in web pages. Instead, the format that should be used is described here: https://developers.google.com/youtube/player_parameters.=

Modal Windows

On iOS 6, a modal window cannot be displayed in the upside-down portrait orientation. Attempting to open a modal window with UPSIDE_PORTRAIT as the only allowed orientation causes the application to crash. UPSIDE_DOWN orientation for modal windows is not supported on the iPhone idiom only. It is supported on the iPAD idiom.

Grouped TableView Backgrounds

On iOS 6, using Titanium.UI.iOS.COLOR_GROUP_TABLEVIEW_BACKGROUND or ‘stripped’ as a color value no longer produces the standard group tableview background pattern. This is a change in iOS, and the corresponding iOS constant can no longer be used to specify the background texture.

Group style table views still default to using the standard iOS group table view background texture if no background color is specified. However, specifying one of these values explicitly on iOS 6 and above results in a black background color.

ARMv6 Support and Min iOS Version

The ARMv6 architecture is no longer supported in iOS 6. Starting in Release 2.1.3, ARMv6 is not targeted when building for the iOS 6 SDK, or if the min iOS version is set to 4.3 or above.

To set the min iOS version for an application, add the min-ios-ver element to the application’s ‘tiapp.xml’ file:

Note that when building for the iOS 6 SDK, the console log displays the message:

[INFO] Minimum iOS version: 4.0

In fact, when building for iOS 6, the minimum iOS version is set to 4.3 unless otherwise specified, and the log message is in error. This is a known issue (https://jira.appcelerator.org/browse/TIMOB-11026).

Fixed iOS Issues since 2.1.3.RC 

  • TIMOB-11065 iOS: Sound proxy hanging on play from remote event.
  • TIMOB-11058 iOS 6: Picker: picker fails to update orientation on device rotate. This was an issue with modal windows on iOS 6, which also affected other modal window types.
  • TIMOB-11045 iOS 6: On iPhone 5 simulator and potentially on iPhone 5, the correct splash screen is drawn then replaced by the @2x before app launch.
  • TIMOB-11044 iOS 6: className attribute returns ‘TiUITableViewRowProxy’ instead of the actual class name.
  • TIMOB-11030 iOS 6: Applying background color constants or “stripped” color to modal window results in the modal window being black
  • TIMOB-11010 iOS 6: Title control vanishes. If the root tab window has both a bar image and a title control set, and a window is closed, the root title control vanishes.
  • TIMOB-10998 iOS 6: TableView – On a tableview using iOS TableViewStyle.GROUPED, the tableview’s background color or image was not displayed.
  • TIMOB-10973 iOS 6: Child window not opening if parent window has modal property set to true. Note that opening a window on top of a modal window is not recommended, but this issue has been fixed to ensure backwards compatibility with iOS 5.
  • TIMOB-10972 iOS 6: Window orientation modes are neglected for second level child window.
  • TIMOB-10945 iOS 6: Default templates do not include iPhone 5 splash screen.
  • TIMOB-10929 iOS 6: ButtonBar/ TabbedBar. When set as a title control, the button bar or tabbed bar does not automatically size to fit into the navigation bar on iOS 6.
  • TIMOB-10928 iOS 6: The video player is not displayed in fullscreen even after setting fullscreen proporties to true in Ti.Ui.createVideoPlayer. (Known issue in RC)
  • TIMOB-10892 iOS 6: Map view: App gives error when an invalid region is specified. (Known issue in RC)
  • TIMOB-10891 iOS 6: Repeatedly opening a tab group containing a map view crashes the application. (Known issue in RC)
  • TIMOB-10856 iOS: Implicit height calculation in vertical layouts are incorrect.
  • TIMOB-10831 iOS 6: Log output from iOS 6 device builds does not appear in the Xcode 4.5 console.
  • TIMOB-10796 iOS: TabGroup.activeTab returns the tab index instead of the tab object after setting active tab using setActiveTab. This appears to be a regression introduced after Release 2.0.2.
  • TIMOB-10678 iOS: App rejected for use of non-public API ‘_updateTitleView’. This regression was introduced in a previous release, and was caused by an internal method that shared the same name as a non-public iOS method.
  • TIMOB-10501 iOS: Improve error logging on non-exported CommonJS code. With this fix, the file name of the file generating the error is displayed correctly. Since JavaScript code in modules is compressed, the line number in the log output is not correct.
  • TIMOB-10243 iOS: dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/osascript) is code signed with entitlements. (Known issue reported in 2.1.2 Release Notes.)
  • TIMOB-10229 iOS: KitchenSink: No playback could be heard after recording audio. This was an issue in the sample code.
  • TIMOB-10885 iOS 6: Update Titanium Mobile default template with iPhone-5 compatible splash image

Fixed Android issues since 2.1.3 RC:

  • TIMOB-11020 Android: In 2.1.3 RC if borderWidth is used, show/hide on the border does not work and all views added on top will be hidden behind the border.
  • TIMOB-10166 Android: BorderRadius on TableView doesn’t clip content on Android, Ti 2.1.0.
  • TIMOB-8689 Android: Setting height to Ti.UI.SIZE on a TableViewRow causes the row to not display.
  • TIMOB-8648 Android: android:back listener reacts when using “back” to dismiss keyboard.
  • TIMOB-5077 Android: In the KitchenSink Hide Soft Keyboard example, pressing the home button leaves the soft keyboard displayed
 

6 Flares Twitter 0 Facebook 0 Google+ 6 LinkedIn 0 Email -- 6 Flares ×

13 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

  1. James

    TIMOB-10998 has not been fixed in mobilesdk-2.1.3.v20120915120319-osx

    Trying to update JIRA but having trouble logging in.

    Issue persists on iOS6 simulator and iPhone 5.

  2. James

    [EDIT] Same goes for mobilesdk-2.1.3.v20120928124610-osx

    On OSX 10.8.2

  3. Ingo Muschenetz

    Hi James–Thanks. We definitely tested it. can you attach any different sample code you have to the ticket?

  4. Looks nice, thanks a lot! I already updated my apps for the iPhone 5 but I’ll re-submit them with the final SDK when it’s released.

  5. Yes, this fixes all of my issues with tableviews from RC1! You guys rock!

  6. Joscha

    I found a bug:
    I have a login window with username and password input fields. When I click the “return” key on the keyboard the keyboard disapears. When I click my custom made login-button the keyboard is still visible. Using the blur-function doesn’t work.


    Joscha

  7. Seth

    When building Android modules, the tool-api-level doesn’t seem to be honored. No matter what i do it always gets set to 8. I have to manually set it in the builder.py for it to compile without error.

  8. Shamyl Zakariya

    I can’t deploy to the iOS app store with this SDK – it halts during the “Compiling localization files” stage.

    I know, I know – wait until the GA is available. Trouble is, my client’s app is already on the app store built with 2.1.2 but my client is unhappy that part of the app crashes under iOS 6. The new SDK fixes all the iOS6 bugs I was seeing, and my client would like the app updated.

    The new SDK builds the app and I can install it on my phone, where it works wonderfully. But when I attempt to build for iOS App Store distribution, it halts after compiling Localizable.strings

    Any ideas?

  9. Ingo Muschenetz

    Joscha, Seth and Shamyl. Thank you for the reports. Please file those tickets in the TC project at http://jira.appcelerator.org and attach an ios6 or iphone5 label as appropriate, if it applies to either of those categories.

    A reproducible test case and snippet of code is essential to make sure we have the right issue.

  10. Same here. I was struggling with all those errors. But now they are fixed.

  11. Mehmet Aygar

    Thanks Ingo. I installed the release 2.1.3 and placed the min-ios-ver element as below and still having the armv6 architecture required err when I attempt to validate the app.

    4.3

    Any suggestions? Thanks…

  12. Ingo Muschenetz

    @Mehmet. It’s a but hard to diagnose the problem in here. I would suggest asking it in the Q & A. There are a number of questions on the topic, and someone can help you there.

  13. Hello There. I discovered your blog the use of msn. That is an extremely well written article.
    I’ll bbe sure to bookmark it and come backk to learn more of your helpful information. Thanks for the post.
    I’ll definitely comeback.

Sign up for updates!

Become a mobile leader. Take the first step to scale mobile innovation throughout your enterprise.
Get in touch
computer and tablet showing Appcelerator software
Start free, grow from there.
6 Flares Twitter 0 Facebook 0 Google+ 6 LinkedIn 0 Email -- 6 Flares ×