udaykiran19491/user-stories-from-tawos-for-llm-fine-tuning huggingface dataset:
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "The deprecation is here! Since WKWebView launched in iOS 8, it now officially replaces the UIWebView, bringing better performance and scalability. We need to move our Ti.WKWebView module into the core, removing the Ti.App.fireEvent functionality if not bridgeable and make sure to get as much backwards compatibility out of it as possible."
Answer: 282642.0

User story: "When building a Mobile app, Titanium is injecting/copying its own libc++_shared.so (e.g Android NDK r11) file.   The file that is copied during the build phase is located within the Titanium SDK:  sdk/android/native/libs/*/libc++_shared.so.   But when we provide our own libc++_shared.so file within Ti Module, it gets overridden.     This step within the build phase makes it impossible to use a custom libc++_shared.so file  e.g. provided by a third party. Because in some cases, a library that a third party vendor provides relies on another libc++_shared.so file (thus NDK version) that might not be compatible with the built-in one provided by Titanium.     Is there an approach or way to cope with this behaviour? I know that you shouldn't and can't mix libc++_shared.so files   and this libc++_shared.so file is also crucial for Titanium features to work, but there should be a way to cope with this.   "
Answer: 105823.0

User story: "We have [ti.safaridialog|https://github.com/<USER>modules/ti.safaridialog] since 5.0.0 to show an embedded web-view natively. Since a while, Android offers the same, so the [ti.webdialog|https://github.com/<USER>modules/titanium-web-dialog] was born.     To signalize parity and have all latest features, especially with iOS 12 and Android P coming, we should move ti.webdialog to the SDK and deprecate ti.safaridialog."
Answer: 15070.0

User story: "We need a sample app for our 7.2.0 release that demonstrates some GDPR features that we offer, e.g.:  - Opting out of Analytics (simple UI with some buttons to send typical events + a switch to opt out and a console)  - AdMob: Show a consent dialog to define the user consent"
Answer: 110381.0

User story: "We currently support the Android NDK r16b with SDK 7.x. As of May 2018, NDK r17 is available ([Changelog|https://developer.android.com/ndk/downloads/revision_history]). We should validate if our tooling already supports it and if not, what it takes to update it."
Answer: 1242.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "h5. description  Costumer is attempting to load a pdf for android using intents with webview.   in the mobile app they are using webview control for displaying the remote web site by binding a URL. The web pages in the web site contains few pdf links. On click of normal hyperlinks, respective web page is being shown in the web view. Whereas, on tapping a pdf links, a blank window is getting opened in Android devices. In iOS it’s working fine and a PDF is showing.    Per Jira WebView cannot disply PDF documents on Android. So they are using intents as a workaround to open the PDF link. The issue is that on click of the pdf link in the web view, they are unable to get the exact PDF url with any of Titanium WebView API methods or events    The customer was able to do it natively and open the PDF's with intents.     h5. Request  The customer wants to know how to get the exact PDF link using the webview API or if there is a workaround they could use.    h5. additional information   attached are two apps. One is a titanium app and one is an android native application.  [titanium app|https://axwaysoftware-my.sharepoint.com/personal/<USER>axway_com/_layouts/15/guestaccess.aspx?guestaccesstoken=rsxSxfm51VH5t8MRm7YpDX1bHDfJfDfaycmtpKrlAEE%3d&docid=2_11a957eab95234b6ab84003e12f7b0b41&rev=1]"
Answer: 94926.0

User story: "Support x64 build target support for Hyperloop."
Answer: 823653.0

User story: As discussed in the [GDPR-planning|https://wiki.<USER>org/display/pe/GDPR+API-Planning], we are ripping out the "ti.geo" event in favor of improved privacy.
Answer: 2987.0

User story: We need to update the Ti.Map module references on the SDK.    Includes the following changes:  * [MOD-2145] iOS: Added image overlay support.  * [MOD-2416] Android: Added image overlay support.  * [MOD-2345] Android/iOS: Added "padding" support.  * [MOD-2417] Android: Fixed map animation crash that sometimes happens.  
Answer: 97377.0

User story: "Having the Axway clang-format files is nice to check the modules syntax and adjust it to the same coding style.     This PR will add it to the default iOS/Android module template so it can be used in all modules right away: https://github.com/<USER>titanium_mobile/pull/10015    A linting section was added to the README "
Answer: 35938.0

User story: "In order to do TIMOB-17887, native Swift modules need classes to be in an own framework instead of referencing them from the hard drive like we now do (pretty hacky btw). The plan is to place this framework in titanium_mobile and compile from there (making use of Jenkins as well).    This requires some critical operations:  * Move classes to own framework (done)  * Migrate compiler statements to some kind of shared config (done)  * Change CLI to compile and link new framework with the main target  "
Answer: 259787.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: We decided to reopen the "Issues" tab as part of opening more to the community. While it is still in an experimental phase and we need to see if developer actually use it properly (mainly no SPAM, no duplicates), we also need to add a template like we do for pull requests to force a certain structure. [Here|https://github.com/stevemao/github-issue-templates] are a few cool ones for inspiration
Answer: 182712.0

User story: "h5.Description    We currently have linting set up in the android/runtime JS code [here|https://github.com/<USER>titanium_mobile/blob/master/android/runtime/common/src/js/.eslintrc] but it is not run. We should wire this up into the grunt task and fix any issues that arise"
Answer: 391504.0

User story: "{{Ti.Media}} uses some deprecated methods that causes compile time warning {{C4973}}.    {code}  Warning C4973 'Windows::Media::Playback::IMediaPlayer::CurrentState::get': marked as deprecated TitaniumWindows_Media D:\workspace\titanium_mobile_windows\Source\Media\src\Media\AudioPlayer.cpp 107   Warning C4973 'Windows::Media::Playback::IMediaPlayer::CurrentStateChanged::add': marked as deprecated TitaniumWindows_Media D:\workspace\titanium_mobile_windows\Source\Media\src\Media\AudioPlayer.cpp 105   Warning C4973 'Windows::Media::Playback::IMediaPlayer::Position::set': marked as deprecated TitaniumWindows_Media D:\workspace\titanium_mobile_windows\Source\Media\src\Media\AudioPlayer.cpp 155   Warning C4973 'Windows::Media::Playback::IMediaPlayer::Position::get': marked as deprecated TitaniumWindows_Media D:\workspace\titanium_mobile_windows\Source\Media\src\Media\AudioPlayer.cpp 159   Warning C4973 'Windows::Media::Playback::IMediaPlayer::SetUriSource': marked as deprecated TitaniumWindows_Media D:\workspace\titanium_mobile_windows\Source\Media\src\Media\AudioPlayer.cpp 181   Warning C4973 'Windows::Media::Playback::IMediaPlayer::Position::set': marked as deprecated TitaniumWindows_Media D:\workspace\titanium_mobile_windows\Source\Media\src\Media\AudioPlayer.cpp 233   {code}"
Answer: 221427.0

User story: Hello,     On iOS, when using Ti.Geolocation.trackSignificantLocationChange and dealing with background updates with args.launchOptionsLocationKey we are seeing an issue where after a background update has come in while the app was closed and the next launch of the app hangs on the splash screen. The app must be manually closed in order to get farther than the splash screen.     *Example Code:*  Example app attached.     *To reproduce:*   1. Install app on physical device and choose "Always" allow location permission.   2. Force close app with the test switcher   3. Move device until you get a background location update   4. Launch the app and observe the app hang on the launch screen
Answer: 196023.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: Does somebody explain <property name="run-on-main-thread" type="bool">true</property> real mean ?    That defult value is true but if I change value to false my app (especially android) working faster and not freeze.    My Project is Alloy Mobile App and shoul I use true? If I use false what problems can arise?
Answer: 42675.0

User story: "h5.Description    *I'm making this a story because to me it's something that we need to investigate, discuss and act on*    With the addition of babel in 7.1.0 users can now use new syntax in their applications without worrying about what their targets support. While that is the theory it's not the reality.     If you review Babels [Learning ES2015|https://babeljs.io/learn-es2015/] guide, some features denote {{Support via polyfill}}, this is because babel can only handle syntactical changes (arrow function to function expressions, let/const to var etc.), and for features such as maps and promises it is impossible to transpile these down so babel makes use of polyfills, which instead add these into the JS environment.    To me, there are a two avenues to us handling this    * We distribute [babel-polyfill|https://www.npmjs.com/package/babel-polyfill] in the SDK  * We pass this on down to the user, either through usage of a module or just requiring them to add the module themselves.  * We evaluate including babel-runtime/transform-runtime in the transpile step https://babeljs.io/docs/plugins/transform-runtime    This has been attempted already (kind of) in two ways    * I attempted to add babel-polyfill to an app [~<USER> was writing (TIMOB-25740), it didn't go well for me, I believe we could fix this  * [~<USER> [node-titanium-sdk|https://github.com/<USER>node-titanium-sdk/pull/24] PR, which includes regenerator-runtime to allow apps to use async/await    Here's my first thoughts on drawbacks I see with both ways    * User owned  ** Doesn't adhere with our current way of handling this kind of thing where we deal with it    * SDK owned  ** Unless we're detect what's needed every app will include it, whether they need it or not.  ** We'll need to continually maintain this each release I believe    I looked at how others handle this, and discovered the following    * react-native [rolls its own preset|https://github.com/facebook/react-native], which appears to be dynamic dependent on an apps usage. Polyfills look to be baked into react-native with them being defined when the [app start|https://github.com/facebook/react-native/blob/master/Libraries/Core/InitializeCore.js]"
Answer: 533995.0

User story: "In {{ti.network.httpclient.tests}} on our unit tests, we've been skipping some of unit tests for Windows by marking {{windowsBroken}}. Need to make sure what's causing the actual issue and create new ticket when needed. This ticket is to keep track on it. "
Answer: 836899.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "Requesting access to contact while {{ContactManager::RequestStoreAsync}} should not block UI thread because permission requesting dialog actually uses UI thread. This causes intermittent application freeze described in TIMOB-23332."
Answer: 341842.0

User story: "h5.Description    I believe the babel 7 release is a little while off (it's been cooking since February 2017), but I wanted to get a ticket in to track it on our side.    Tasking it out I think the following needs to be done (will maybe break these out into sub-tasks of this ticket)    * Update node-titanium-sdk  ** Move to {{@babel/core, @babel/traverse, @babel/types, babel-preset-minify}}, and upgrading {{babylon}}  * titanium_mobile/titanium_mobile_windows, update all {{require('babel-X')}}, as needed    * Ensure nothing is broke :)    It might be worthwhile getting some feature branches setup to get some builds setup with the beta versions of these (currently 7.0.0-beta.36 at time of writing)    Some reading that might be useful    https://babeljs.io/blog/2017/12/27/nearing-the-7.0-release  https://babeljs.io/blog/2017/09/12/planning-for-7.0  https://babeljs.io/blog/2017/03/01/upgrade-to-babel-7"
Answer: 445545.0

User story: "Hello,    A customer is trying to add the insertSDK framework(acquired by pendo) used for analytics into alloy project. Is it possible to call third-party native ios(swift ) SDK from appc if yes, can you provide a sample app? Because the SDK He's trying to integrate has *.plist* and *url schemas* to configure and view controller lifecycle methods to initiate during runtime.     Here is the attachment of the SDK information and how it works on [*this*|https://drive.google.com/file/d/1w2yQgr7L-mRqzeLFZJqyAdaXyQyZ0BRU/view?usp=sharing] link. Can anyone from your technical team assist the customer whether it is possible to integrate with APPC or not before he takes any other step further?    Thanks"
Answer: 126424.0

User story: "TIMOB-25465 and TIMOB-25639 show that rendering issue happens when you try to {{add}} a view that is already added. According to the current code, we are not actually checking if the View is already added but just leaves the platform behavior how to render it in that case. We should just ignore the {{add}} operation when it is already added.  "
Answer: 26916.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "Per request, need to include npm apps-license for license tracking to projects:   apps-cli*  arrow  appc-install  studio  titanium*"
Answer: 521335.0

User story: "The old deprecated Ti.map APIs included in the core SDK were deprecated in 3.2.0 and moved out to a native module we ship with the core. The old code should have been removed long, long ago, but has not been yet."
Answer: 262.0

User story: "The iOS-core has been around for a while now. We have moved from tabs to spaces over the years, moved to a unified code-style and are now formatting all methods and properties correctly during code-review.     We might want to use an automatic linting-solution that can be triggered via CLI, or regex-replace the issues. "
Answer: 1354.0

User story: "We need to update Ti.Identity to work with SDK 7.0.0."
Answer: 6070.0

User story: Update the pre-packaged Hyperloop module to version 3.0.1. Included tickets: [Milestone 3.0.1|https://jira.<USER>org/issues/?jql=project %3D TIMOB AND fixVersion %3D "Hyperloop 3.0.1"]
Answer: 477.0

User story: "Update TitaniumTest application with latest changes for JSDebugger and Java level."
Answer: 7488.0

User story: "Update the pre-packaged Hyperloop module to 3.0.0 Beta 4."
Answer: 3907.0

User story: Hi,  What I want to know is if the protocol being used by the Studio Debugging Perspective is the same when the target is Android and when the target is iOS. I am not asking about how to debug an app, but rather technical details about how debugging are being implemented for the different platforms. I already know that on Android, when "--debug-host" is specified, the app is debuggable using the v8-debugger-protocol. What I want to know is if libti_ios_debugger implements the same protocol or a different one.    Thanks 
Answer: 124887.0

User story: "[openURL|http://docs.<USER>com/platform/latest/#!/api/Titanium.Platform-method-openURL] method can open the URL but it returns false. It should return true     h6.Testing Environment:  iOS Device version v11.0.3  Ti SDK 6.3.0    It seems deprecated natively for (iOS 2.0–10.0)  - https://developer.apple.com/documentation/uikit/uiapplication/1622961-openurl?language=objc    h6.Test Code    {code:javaScript}  function doClick(e) {   var success = Ti.Platform.openURL('http://my.jbhunt.com/c/document_library/get_file?p_l_id=26083956&folderId=27970378&name=DLFE-207201.pdf');   Ti.API.info('success: ' + success);  }    $.index.open();    {code}      {code:java}  [INFO] :   success: false  [INFO] :   success: false  {code}        Thanks"
Answer: 394903.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "Hi guys, I'm facing some problems since last friday afternoon.  At first, forward geocoding is not responding and throws certificate error(see attachment).  I tried to uninstall and reinstall my app, and it's throwing same error when I want to subscribe to push notifications channel.  I've got newest version of SDK and Studio as well. At friday morning(13.10.2017@08:00 UTC+1) was everything ok...  Please take a look and let me know if there is some workaround and fix it asap.  Thank you    edit: subscribe to push notification channel is functional on Android, error message pops out on iOS..."
Answer: 504.0

User story: "Now that Alloy uses Babel to transpile ES6 code, we should update [kitchensink-v2|https://github.com/<USER>kitchensink-v2] to use ES6 as well. It is our most important sample-project and should reflect the latest technologies we provide.     Changes to consider  - Change {{var}} to {{let}} / {{const}}  - Use arrow-syntax ({{() =>}} instead of {{function()}} callback). Maybe even use promises?  - Use classes instead of functions?  - Add linting of possible?"
Answer: 205957.0

User story: "According to the studies from TIMOB-25019, we found some pitfalls in current `setTimeout/setInterval` implementations. There may be rare chances to encounter but we want simpler/faster/safer implementation for it.     - Make sure to clear callback right after callback is actually called from `setTimeout`.   - Invoke callback immediately when interval equals zero. It had synchronization issue with `clearTimeout/clearInterval`.  - `Xaml::DispatcherTimer` functions should have been called from UI thread. Use `ThreadPoolTimer` when possible, because it doesn't have the issue.   - With `ThreadPoolTimer`, make sure to invoke callback from UI thread.    Note that this is about internal implementation, so the API functionalities {{setTimeout/setInterval/clearTimeout/clearInterval}} should not be changed."
Answer: 436496.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "h5. description  Costumer is attempting to load a pdf for android using intents with webview.   in the mobile app they are using webview control for displaying the remote web site by binding a URL. The web pages in the web site contains few pdf links. On click of normal hyperlinks, respective web page is being shown in the web view. Whereas, on tapping a pdf links, a blank window is getting opened in Android devices. In iOS it’s working fine and a PDF is showing.    Per Jira WebView cannot disply PDF documents on Android. So they are using intents as a workaround to open the PDF link. The issue is that on click of the pdf link in the web view, they are unable to get the exact PDF url with any of Titanium WebView API methods or events    The customer was able to do it natively and open the PDF's with intents.     h5. Request  The customer wants to know how to get the exact PDF link using the webview API or if there is a workaround they could use.    h5. additional information   attached are two apps. One is a titanium app and one is an android native application.  [titanium app|https://axwaysoftware-my.sharepoint.com/personal/<USER>axway_com/_layouts/15/guestaccess.aspx?guestaccesstoken=rsxSxfm51VH5t8MRm7YpDX1bHDfJfDfaycmtpKrlAEE%3d&docid=2_11a957eab95234b6ab84003e12f7b0b41&rev=1]"
Answer: 583618.0

User story: "As the layout changed to be bezier-shaped, we need to do smoke-tests regarding all layouts, especially top/bottom related ones. Also, there are safe-area properties we should investigate - either as a property or handle internally  There also seems to be a small UI-glitch when opening a window from a navigation-window and then closing the old window again. Not sure if it's a general Simulator issue or within Titanium apps, yet."
Answer: 7270.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "h5. Description   Customer is trying to use Firebase. They have used third party module ti.firebase and they have tried to do it natively with hyperloop and they have also tried creating their own module for it.   h5. error:   {code}  [WARN]  W/System.err: ... 31 more    [WARN]  W/System.err: Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available    [ERROR] TiExceptionHandler: (main) [33,97] ----- Titanium Javascript Runtime Error -----    [ERROR] TiExceptionHandler: (main) [1,98] - In /app.js:5,14    [ERROR] TiExceptionHandler: (main) [0,98] - Message: Uncaught Failed resolution of: Lcom/google/android/gms/R$string;    [ERROR] TiExceptionHandler: (main) [0,98] - Source:     firebase.initFirebaseApp();    [ERROR] V8Exception: Exception occurred at /app.js:5: Uncaught Failed resolution of: Lcom/google/android/gms/R$string;    [ERROR] V8Exception: Failed resolution of: Lcom/google/android/gms/R$string;{code}    h5. 3rd party ti.firebase module:   [Firebase module|https://axwaysoftware-my.sharepoint.com/personal/<USER>axway_com/_layouts/15/guestaccess.aspx?guestaccesstoken=5GiYZAGLFovGCT%2f0VjGYHI7oY8dKa2ntlaHWFxIHglw%3d&docid=2_14d3c0de793a14d4383e217edade2d944&rev=1]    h5. Native Hyperloop firebase:   [firebaseHyperloopWithPersonalJavaImplJar|https://axwaysoftware-my.sharepoint.com/personal/<USER>axway_com/_layouts/15/guestaccess.aspx?guestaccesstoken=P8EkJLCVDTlDY11FIOZ9ImojYahk2fY3p7LZpXgNn5Y%3d&docid=2_1ec69d2e3960749f3b68d668186bc755d&rev=1]    h5. App Sample using self-created module  [Self made firebase module|https://axwaysoftware-my.sharepoint.com/personal/<USER>axway_com/_layouts/15/guestaccess.aspx?guestaccesstoken=7inWFtnhANxiqiTFYWNcXGHvLjLZFxBz%2fSeD%2fPuR7a0%3d&docid=2_14549427e63f14642bd100b6a68e6fa88&rev=1]    h5. additional information  I've attached the error log that is generated when you try to use the third party firebase module.   "
Answer: 662463.0

User story: "http://docs.<USER>com/platform/latest/#!/api/Modules.Cloud shows as unsupported on Windows, but it is. We need to     * strip the yaml under here down to just properties methods etc then add platform ['windowsphone'] to everything  * Copy all that over into titanium_mobile_windows  * Edit the Jenkinsfile to archive apidoc\Modules appropriately  * Edit the build scripts to pull in windows\doc\Modules"
Answer: 105808.0

User story: "We need to re-build the native module against the latest V8 version we'll have in SDK 7.0. Right now that is 5.7, but will eventually be 6.0 or greater."
Answer: 148267.0

User story: "We should add hyperloop to the list of pre-packaged modules to include in the built SDK."
Answer: 151080.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "The iOS-core has been around for a while now. We have moved from tabs to spaces over the years, moved to a unified code-style and are now formatting all methods and properties correctly during code-review.     We might want to use an automatic linting-solution that can be triggered via CLI, or regex-replace the issues. "
Answer: 267049.0

User story: "We introduced the {{minimumFontSize}} property on Android in TIMOB-1618 for iOS parity. There are reports on Slack (thanks [~<USER>) that the size changes randomly. [~<USER> (thanks to you as well) narrowed down the issue and found out it has to do with the density-unit:  {quote}  I have narrowed this down some further for my app and determined it is a problem with android os 6.0.1 (marshmallow) for my app regardless of which version of the ti sdk it is built with (I have tried ti 5.5.1, 6.0.4 and 6.1.0).    I removed   <!--property name=“ti.ui.defaultunit” type=“string”>dp</property-->    from tiapp.xml and I also removed ‘dp’ and ‘sp’ denominations from fontSize specifications in all the tss for my app in order to fix the font size issue.    It also seems related to a bizarre shrinking bug whereby the actionbar for sub-windows in the app appear to be smaller than normal and the contents of those actionbars are also shrunk.  {quote}"
Answer: 19374.0

User story: "Enable Xcode 9 development requires two SDK-changes:  # Add {{IS_XCODE_9}} macro to the precompile header  # Add {{isiOS11OrGreater}} utility to {{TiUtils}}    From there, we can implement new features to the existing core-functionality or use it in own modules (like for {{ARKit}} and {{CoreML}})."
Answer: 146911.0

User story: "We use the {{SBJSON}} library that was added in the Titanium SDK 0.9. It was never touched since then and nowadays we have the system-class {{NSJSONSerialization}} that does everything we needed from {{SBJSON}} (parse + stringify).    As we want to split out legacy code from the core to improve the build-time, removing this library is fundamental to getting started. The library is used in both the core and in TiVerify, so the changes will affect both repos."
Answer: 32825.0

User story: "Add Retire and NSP support to the build <USER> and upload those to ThreadFix."
Answer: 70977.0

User story: "In SDK 6.0.0, we updated the default minimum iOS target to 8.0 as a result of the Xcode 8.x version that is now supported. Doing that, our iOS SDK core shows some deprecation-warnings regarding API's that should be replaced in iOS 8 and later.    Replace willAnimateRotationToInterfaceOrientation: (used in many places, migration required)    This is subset of ticket TIMOB-24335."
Answer: 110440.0

User story: "In SDK 6.0.0, we updated the default minimum iOS target to 8.0 as a result of the Xcode 8.x version that is now supported. Doing that, our iOS SDK core shows some deprecation-warnings regarding API's that should be replaced in iOS 8 and later.    Remove old statements (e.g. ![TiUtils isIOS8OrGreater])    This is subset of ticket TIMOB-24335."
Answer: 121988.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "In SDK 6.0.0, we updated the default minimum iOS target to 8.0 as a result of the Xcode 8.x version that is now supported. Doing that, our iOS SDK core shows some deprecation-warnings regarding API's that should be replaced in iOS 8 and later.  Replace ABPeoplePickerNavigationController (in Ti.Contacts, replacement straight forward)    This is subset of ticket TIMOB-24335."
Answer: 38105.0

User story: "In SDK 6.0.0, we updated the default minimum iOS target to 8.0 as a result of the Xcode 8.x version that is now supported. Doing that, our iOS SDK core shows some deprecation-warnings regarding API's that should be replaced in iOS 8 and later.  Remove old UIAlertView and UIActionSheet API's.  This is subset of ticket TIMOB-24335."
Answer: 40743.0

User story: "In SDK 6.0.0, we updated the default minimum iOS target to 8.0 as a result of the Xcode 8.x version that is now supported. Doing that, our iOS SDK core shows some deprecation-warnings regarding API's that should be replaced in iOS 8 and later.  Replace NSDayCalendarUnit with NSCalendarUnitDay etc. (search and replace, easy ones)  This is subset of ticket TIMOB-24335."
Answer: 49432.0

User story: "We should make sure to catch every exception that is happening within async operations.    Typically it's going to look like below.    {code}  concurrency::create_task(object__->DoSomethingAsync()).then([](concurrency::task<void> task)({      try {          task.get();      } catch (Platform::Exception^ e) {          // we might want to log error message, but          // we should not throw exception inside async operations.          // we might want to log error message and HRESULT too      } catch (...) {          // we might want to log this, but          // we should not throw exception inside async operations.      }  })  {code}"
Answer: 20978.0

User story: "We should make sure all JavaScript callback that is in async operation is done on UI thread. Otherwise we saw crash when callback touches UI properties especially on Windows Store apps. We haven't usually see this problem on Windows Phone apps.    Typically we use {{TitaniumWindows::Utility::RunOnUIThread}}. It's going to look like below:    {code}  concurrency::create_task(object__->DoSomethingAsync()).then([]()({      TitaniumWindows::Utility::RunOnUIThread([](){          js_callback();      });  })  {code}  "
Answer: 20984.0

User story: "See epic for details. We need to add fortify on-demand scanning to the product build <USER>for Titanium Mobile SDK and upload it to the SDK project: http://fortify.axway.int/ssc/html/ssc/index.jsp#!/version/10244/fix?filterSet=a243b195-0a59-3f8b-1403-d55b7a7d78e6"
Answer: 634965.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: *Problem*  I am trying to reference an image file in Hyperloop to instantiate a native Android object (for example, a Drawable).    I am currently using Titanium Hyperloop to create a custom Android class that I wish to port over to my app built on <USER> From the Hyperloop documentation, I can reference the native Android Drawable with:    {code:java}  Drawable = require('android.graphics.drawable.Drawable')  {code}    Now, I wish to instantiate a Drawable object through the native Drawable.createFromPath() constructor but my problem is that Titanium is not recognizing the path name to my image in my resources folder in my app directory. For example, the path to my image file is:    {my_app}/assets/images/myImage.png    Any paths I try to pass into the constructor give a "No such file or directory" exception. How do I work with Titanium Hyperloop to construct a native Android Drawable object?    *Test Case*    {code:java}  var Drawable = require('android.graphics.drawable.Drawable');  var imagePath = '/images/myImage.png';     var mImage = Drawable.createFromPath(imagePath);  {code}    *Log*  "No such file or directory" exception    *Community Discussion*  [http://stackoverflow.com/questions/43726570/titanium-hyperloop-how-to-instantiate-native-android-drawable]  
Answer: 207510.0

User story: "Currently Hyperloop for Windows is highly coupled with Titanium SDK even after we modularize Hyperloop (TIMOB-24093). For instance, some Hyperloop-related code generation logic and templates are done in Titanium SDK. This situation is not ideal and we want to move all Hyperloop-related logic to Hyperloop module itself, that way we can update Hyperloop _without_ updating Titanium SDK.    For now I can find following parts that can be decoupled with Titanium SDK    - TItaniumWindows_Hyperloop code generation  - Hyperloop event handling code generation    We want to move these logic to Hyperloop plugin.  "
Answer: 43914.0

User story: "To reduce maintenance work we should drop the support for CocoaPods 0.39 and below in Hyperloop projects. CocoaPods 1.0 is almost around for a year now so it should be safe to move forward and only support this version, especially after http://blog.cocoapods.org/Sharding/."
Answer: 18776.0

User story: "The current Titanium SDK build <USER>for Android is broken on Windows:    {code}  cd build  node scons.js build android  node scons.js package  {code}"
Answer: 3850.0

User story: "As part of the F8 conference, Facebook announced the Graph API v2.9 and SDK 4.22 today. We should support it asap."
Answer: 204113.0

User story: "We've long checked in our node_modules folder when we update our npm dependencies. I believe we've done so to avoid npm dependency resolution issues?    If so, we could move to using yarn and lock file to ensure the full tree of dependency versions matches on everyone's systems and builds - and avoid bloating the hell out of our repo size and history."
Answer: 134340.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "Let's be honest. Who is seriously using Ti.Yahoo API's these days? I guess some, probably even a lot. But not enough to reserve a seat in the SDK for it. That's why we should remove it from the core and provide the exact same classes / functionality in an external module.    Roadmap:  # Move to external module (ARC-based, move docs to module docs, link module docs to SDK docs  # Deprecate it in 6.2.0, link the module to the core (like {{APSHTTPClient}})   # Remove from Core in 7.0.0     Objections in 3,2,1 ..."
Answer: 848401.0

User story: h6.description    Experiencing the JSON.stringify on a media item returns "{}" instead of a real stringified output that I can parse.    {code:title=app.js}    var win = Ti.UI.createWindow({    backgroundColor : '#fff'   });     var btn = Ti.UI.createButton({    title : 'Trigger'   });     btn.addEventListener('click', function() {    Titanium.Media.openMusicLibrary({     allowMultipleSelections : false,     mediaTypes : Titanium.Media.MUSIC_MEDIA_TYPE_MUSIC | Titanium.Media.MUSIC_MEDIA_TYPE_ANY_AUDIO,     success : function(event) {      // called when media returned from the MusicLibrary      alert("Results: " + JSON.stringify(event.items[0]));     },     cancel : function() {      alert("Aborting ");     },     error : function(error) {      // called when there's an error      var a = Titanium.UI.createAlertDialog({       title : 'Music Library'      });      if (error.code == Titanium.Media.NO_MUSIC_PLAYER) {       a.setMessage('Please run this test on device.');      } else {       a.setMessage('Unexpected error: ' + error.code);      }      a.show();     }    });     });     win.add(btn);     win.open();    {code}    Thanks
Answer: 5508.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: h6.description  Is it possible to activate the audio recorder when exiting the App? (pressed the home button for exiting the app)    I have tried with the following test code but it's not working.    {code:title=app.js}  var win = Ti.UI.createWindow({   backgroundColor : 'green',   layout : "vertical"    });    win.open();    function onResume() {     recorder.stop();     Ti.Media.audioSessionCategory = Ti.Media.AUDIO_SESSION_CATEGORY_PLAYBACK;   Ti.API.info("onReasume");    }    function onPause() {     Ti.Media.audioSessionCategory = Ti.Media.AUDIO_SESSION_CATEGORY_PLAY_AND_RECORD;     recorder.start();   Ti.API.info("onPause");    }    var recorder = Ti.Media.createAudioRecorder();    Ti.App.addEventListener("resumed", onResume);    Ti.App.addEventListener("pause", onPause);      {code}    If I press the home button then reopen it, several times, it shows this error.    {code:title=console log}  [ERROR] :  Script Error {  [ERROR] :      column = 15;  [ERROR] :      line = 63;  [ERROR] :      message = "+[NSBlock boundBridge:withKrollObject:]: unrecognized selector sent to class 0x1a91ccd58";  [ERROR] :      sourceURL = "file:///var/containers/Bundle/Application/03E1B455-31D7-4FB0-8509-CF99D1F972D8/commonJSApp.app/app.js";  [ERROR] :      stack = "[native code]\nonResume@file:///var/containers/Bundle/Application/03E1B455-31D7-4FB0-8509-CF99D1F972D8/commonJSApp.app/app.js:63:15";  [ERROR] :  }    {code}    Thanks.
Answer: 20086.0

User story: One of customer facing problem:    They want to use a third party framework - kofax, which is not available in pods. So it has to been added by following doc about "Adding a third-party framework" from http://docs.<USER>com/platform/latest/#!/guide/iOS_Hyperloop_Programming_Guide    But We tried many times still can't figure out a way to use, alway error.    Please help on this    Reproduce:  1. Create a new alloy project  2. Simply add this link to index.js  {code}  var mobileSDK = require('MobileSDK');  {code}  3. Create file appc.js in root folder.  {code}  module.exports = {   hyperloop : {    ios : {     xcodebuild : {      flags : {       FRAMEWORK_SEARCH_PATHS : '../../src'      },      frameworks : ['MobileSDK']       },     thirdparty : {      'MobileSDK' : {       source : ['src'],       header : 'src',       resource : 'src'      }     }    }   }  };  {code}  4. Add src folder with necessary .framework file inside it. (Attached the src folder from a dropbox link https://www.dropbox.com/s/9bclrfvqt7r5ofk/src.zip?dl=0)  5. Run the app.    Problem.  Always get error about - can't find module 'MobileSDK'  
Answer: 7662.0

User story: "h5. Description:     To develop a windows module in .net, there is no easy way to integrating .NET code with C++/CX modules. If customer wants to develop module in .net as requested by Propelics, we would need to provide this mechanism.     "
Answer: 84529.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: Currently CMake configuration file (CMakeLists.txt) and Visual Studio project is created when you create Titanium Windows module project ({{appc new}}), but sometimes you need to update the VS project based on CMakeLists and re-run {{cmake}} manually in order to change project configuration (add files, add dependencies etc). Titanium CLI should be able to re-run {{cmake}} when necessary behind the scenes.    {code}  > appc new (Create module project. When prompted, select "Titanium Module")  > cd your_module_project/windows  > (Remove Windows10.ARM Windows10.Win32 WindowsPhone.ARM WindowsPhone.Win32 WindowsStore.Win32 folder)  > appc ti build -p windows --build-only -l trace --run-cmake  {code}
Answer: 3894.0

User story: In valueForUndefinedKey:key, the @"end" key contains a dictionary with two keys. One of the keys should be "occurrenceCount", as stated in the documentation. In the Objective-C code, it is actually misspelled as @"occuranceCount". This causes the property to be unable to be accessed with the correct variable spelling.    Referenced documentation: http://docs.<USER>com/platform/latest/#!/api/recurrenceEndDictionary-property-occurrenceCount
Answer: 7012.0

User story: A security scan found a possible Information Leakage issue associated with this:    Apple introduces several new IPC (Inter Process Communication)/Extensions since the inception of iOS 8. One of the Extension Points is the ability for users to install "Custom Keyboards." Custom Keyboards can operate in 2 Open Access modes (On and Off).    They observed that application allows custom keyboard. The use of custom keyboards can have security implications, if the user allows the custom keyboard to have internet connectivity. If the custom keyboard can connect to the internet, it can send any keystroke to the custom keyboard maker's server, leading to potential data leakage.  {code}    Can you ensure if is there a way we can ensure this warning won't show up when building the app?
Answer: 23579.0

User story: "When running the latest SDK build (6.1.0.v20170110083813) the following error is shown:   {code:java}  [ERROR] :  ** BUILD FAILED **  [ERROR] :  The following build commands failed:  [ERROR] :   CpResource Resources/app.js build/Products/Debug-iphoneos/buildtest.app/app.js  [ERROR] :  (1 failure)  {code}    *Steps to reproduce*   1. Download the latest build (6.1.0.v20170110083813)  2. Launch <USER>studio   3. Go to {{File}} -> {{New}} -> {{Mobile App Project}}   4. Choose a Classic default project   5. Enter Details and create app   6. Go to the {{tiapp.xml}}  7. Set SDK to (6.1.0.v20170110083813)  8. Run app     *+Expected Result+*  Application should run without any errors.     *+Actual Result+*  Build error is shown.     Note: error only occurs on iOS devices. "
Answer: 55.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: We still have the old KitchenSink project in titanium_mobile/demos that use Ti.Include'd to manage the app context. The only way those projects are used (and only KitchenSink, not the others), is to validate test-cases in Xcode. That's why I'd like to clean them up and only place our usual test-case trigger-code in there:    {code:js}  var win = Ti.UI.createWindow({      backgroundColor: '#fff'  });    var btn = Ti.UI.createButton({      title: 'Trigger'  });    btn.addEventListener('click', function() {      Ti.API.info('Hello world!');  });    win.add(btn);  win.open();  {code}    It is no breaking change and does influence the packaged SDK, so I've chosen the issue type "Story" for now.
Answer: 59.0

User story: "h5. Problem Description:    We have received the following query about availability of third party module (ti.paint, titouchimageview, ti.imagefactory) for windows or any other way to achieve it.. Please find below the detailed info from customer:    bq. We've done this in the past for android and iOS, using 3rd party native modules (ti.paint, titouchimageview, ti.imagefactory), but we don't know how to do it in windows. Is there a way?        "
Answer: 173940.0

User story: "h5. Problem Description:    We have received the following query on exposing the third party SDK to Titanium. Please find below the detailed info from customer:    bq. We need a way to expose SAP's SMP SDK to Titanium in Windows.  bq. Background:  bq. --------------------  bq. We recently needed to do this for an Android app - What we did was to build a native module that interfaced with all methods from SMP we needed so that Titanium could consume them. This module was a native module, written in Java and Kroll APIs.  bq.   bq. We need to do something similar with Windows, but we know Kroll is not an option, so we're wondering if Hyperloop would be the right choice for accomplishing this. We need to somehow build something (for Windows) that interfaces with SAP's SMP SDK for Windows and be able to consume these methods from Titanium. As discussed in a call with the <USER>team the ability to do this is a go/no-go decision to use Titanium for Cintas.          "
Answer: 177558.0

User story: "Enabling [ti.network.httpclient.test.js|https://github.com/<USER>titanium_mobile_windows/blob/master/Examples/NMocha/src/Assets/ti.network.httpclient.test.js] on our Jenkins causes freezes at some point on UI tests, especially we've been seeing hangs around [ti.ui.listview.test.js|https://github.com/<USER>titanium_mobile_windows/blob/master/Examples/NMocha/src/Assets/ti.ui.listview.test.js]. We suspect it has to be something leaking in {{HttpClient}} ."
Answer: 4323.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: h6.Reproduce.  1. Run a simple app like following on different Android Device  {code}  var win = Ti.UI.createWindow({   backgroundColor:"white"  });    var button = Ti.UI.createButton({   title: "Send Email",   top: 100,   left: 100  });    button.addEventListener("click", function(){   EmailDialog();  });  win.add(button);    win.open();    function EmailDialog() {   var emailDialog = Ti.UI.createEmailDialog();   emailDialog.subject = "Hello from Titanium";   emailDialog.toRecipients = ['<EMAIL>'];   emailDialog.messageBody = '<b><USER>Titanium Rocks!</b>';   var f = Ti.Filesystem.getFile('Answers.pdf');   emailDialog.addAttachment(f);   emailDialog.open();  }  {code}  2. Click the button, Then choose Gmail to open EmailDialog  3. Touch the device back button on the bottom.    h6.Problem  1. On Samsung S4 with Android 5.0.1, the device back button will close Gmail app, and go back to our original app. This is what customer expected.  2. But On Samsung S5 snd S6 with Android Lollipop and Marshmallow, the device back button will close all app include our original app.
Answer: 1036664.0

User story: "The method was introduced as part of the LivePhotoView changes, but I must forgot about the docs. Usually the createXXXX API's are generated automatically, but only when a proxy behind it is documented. In this special case, we need to document it manually."
Answer: 127.0

User story: "We replaced the built-in Ti.Facebook namespace with an external module in Titanium 3.1.0. The old, unused and deprecated docs are still there, so we should remove them in the 6.0.0 timeframe."
Answer: 4214.0

User story: "The Python files in the Titanium SDK are deprecated and no longer maintained. They must be removed!    We will need to make sure that Jenkins and Studio are not broken."
Answer: 460719.0

User story: "When running an app on the device with Xcode 8, we always need to disable the automatic code-signing manually and disable some capabilities that are enabled by default in the Xcode project (note: This does not effect in the generated project, since capabilities are managed by the CLI and a local capabilities file)."
Answer: 1070.0

User story: "h5.Description    https://github.com/<USER>titanium_mobile_windows/blob/7ba8bb29b71cda392e54fa6a0818a588b0ddc62e/Examples/NMocha/src/Assets/ti.network.httpclient.test.js#L376 this test should not be skipped now that TIMOB-23575 is fixed.     This issue caused the test failure as a new Logo.png file was being generated by the CLI rather than the local copy in the directory when building with appc/ti    Reproduced fail case with 5.4.0.GA first and then retested with 6.0.0.v20160906221416 and the test case now passes"
Answer: 1932.0

User story: "Optimize the usage of {{windowslib}} in order to save on deployment time (build and run) by reducing device detection calls. This can be accomplished by caching the results and removing unnecessary calls."
Answer: 14265.0