Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-1970

MainViewController cannot override pathForResource

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • cordova-ios
    • None
    • iOS 5.1, iOS Simulator 4.3, 5.0, 5.1 & 6.0

    Description

      Attempting to override CDVCommandDelegateImpl.m pathForResource method within MainViewController.m using the provided override methods, all overrides work except for pathForResource.

      My simple test was to uncomment all of the overrides and add an NSLog to each before the existing code. Each of: getCommandInstance, execute, and registerPlugin work as expected - but pathForResource executes the original method from CDVCommandDelegateImpl.m

      Attachments

        Issue Links

          Activity

            People

              shazron Shazron Abdullah
              stutteringp0et Michael Richey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: