Skip to content

fix(ios): Use CDVSettingsDictionary instead of NSMutableDictionary, small refactoring - #657

Open
GitToTheHub wants to merge 2 commits into
masterfrom
pr-ios-use-CDVSettingsDictionary
Open

fix(ios): Use CDVSettingsDictionary instead of NSMutableDictionary, small refactoring#657
GitToTheHub wants to merge 2 commits into
masterfrom
pr-ios-use-CDVSettingsDictionary

Conversation

@GitToTheHub

Copy link
Copy Markdown
Contributor

Platforms affected

iOS

Motivation and Context

  • self.viewController.settings was assigned to a local variable typed NSMutableDictionary. self.viewController.settings is used directly.
  • Add type alias NSDictionary to CDVSettingsDictionary when using cordova-ios 7 and older
  • Don't check if self.viewController is kind of class CDVViewController. CDVViewController was introduced in Cordova 2.0.0.
  • Refactored method getExtraFileSystemsPreference

Description

Testing

Checklist

  • I've run the tests to see all new and existing tests pass
  • I added automated test coverage as appropriate for this change
  • Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
  • If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
  • I've updated the documentation if necessary

…y, small refactoring

- self.viewController.settings was assigned to a local variable typed `NSMutableDictionary`. ` self.viewController.settings` is used directly.
- Add type alias NSDictionary to CDVSettingsDictionary when using cordova-ios 7 and older
- Don't check if self.viewController is kind of class CDVViewController. CDVViewController was introduced in Cordova 2.0.0.
- Refactored method `getExtraFileSystemsPreference`
@GitToTheHub GitToTheHub changed the title chore(ios): Use CDVSettingsDictionary instead of NSMutableDictionary, small refactoring chore(ios): Use CDVSettingsDictionary instead of NSMutableDictionary, small refactoring Jul 31, 2026
@GitToTheHub GitToTheHub changed the title chore(ios): Use CDVSettingsDictionary instead of NSMutableDictionary, small refactoring fix(ios): Use CDVSettingsDictionary instead of NSMutableDictionary, small refactoring Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant