Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Ti.Database.open() crashes app on iPhone OS 4.0 beta 2

the following piece of code crashes our app in OS 4.0:

Ti.Database.open('xyz');

I am using Titanium Developer 1.2.1 with mobile api 1.2.0.

Has anyone else seen a problem with this API call in OS 4.0? Any workarounds?

— asked April 26th 2010 by Yonas Fisseha
  • 4.0
  • database
  • iphone
0 Comments

2 Answers

  • How are you even being able to open the app in OS 4.0? There is no support for that currently…

    https://developer.appcelerator.com/question/19761/beta-4

    — answered April 26th 2010 by Raul Riera
    permalink
    0 Comments
  • The app launches fine on both the simulator and my upgraded iPhone. it just crashes on the first invocation of Ti.Database.open(), which, unfortunately, our app calls on startup.

    — answered April 26th 2010 by Yonas Fisseha
    permalink
    1 Comment
    • I'm having a similar issue. How did you resolve it?

      — commented August 23rd 2010 by Jennifer Bonnett
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.