Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2173] iOS: Register a file type with an app

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2013-05-30T20:43:10.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsregression, triage
ReporterSergio Trevino
AssigneeMauro Parra-Miranda
Created2013-04-30T18:15:30.000+0000
Updated2016-03-08T07:41:09.000+0000

Description

*Problem description* Registering a file type is no longer working with SDK 3.0 and above. It was fixed for previous versions of the SDK, as described in TIMOB-4258. *Test case* Use the test project supplied in TIMOB-4258.

Comments

  1. Sergio Trevino 2013-04-30

    Adding forum question for reference http://developer.appcelerator.com/question/151749/register-ios-filetype-on-alloy-tiappxml#comment-171486
  2. Ingo Muschenetz 2013-05-30

    It looks like this might have been an issue with using vs in the tiapp.xml which did switch recently.
       <ios>
       <dict>
          <key>CFBundleTypeName</key>
          <string>My File Format</string>
          <key>CFBundleTypeIconFiles</key>
              <array>
                  <string>MySmallIcon.png</string>
                  <string>MyLargeIcon.png</string>
              </array>
          <key>LSItemContentTypes</key>
              <array>
                  <string>com.example.myformat</string>
              </array>
          <key>LSHandlerRank</key>
          <string>Owner</string>
       </dict>
       <ios>
       
    Please try that instead and reopen if this continues to be an issue.
  3. Sergio Trevino 2013-06-01

    That did not resolve it. Even with the IOS tag, does not work on SDK>=3.0.0
  4. Mauro Parra-Miranda 2013-11-22

    DUP of TIMOB-4258

JSON Source