Skip to content

Remove native appType support from Package repository#327

Merged
wmathurin merged 3 commits into
forcedotcom:devfrom
wmathurin:remove-native-apptype
Apr 10, 2026
Merged

Remove native appType support from Package repository#327
wmathurin merged 3 commits into
forcedotcom:devfrom
wmathurin:remove-native-apptype

Conversation

@wmathurin
Copy link
Copy Markdown
Contributor

Summary

Remove native appType support from forceios and forcedroid CLIs after removing iOSNativeTemplate and AndroidNativeTemplate from the Templates repository.

Changes

  • setup_test_branches.js: Removed native templates from templatesPackageJsons array
  • constants.js: Removed 'native' from forceios and forcedroid appTypes and appTypesToPath
  • test_force.js: Removed 'native' from APP_TYPE enum
  • Regenerated OCLIF commands for SFDX plugin
  • Updated SFDX README
  • Updated CLAUDE.md documentation example

Behavior Change

With only one appType remaining for each CLI:

  • forceios now has only 'native_swift' - appType prompt will be automatically skipped
  • forcedroid now has only 'native_kotlin' - appType prompt will be automatically skipped

This automatic prompt skipping is enabled by PR #325.

Testing

  • test_force.js runs successfully for forceios and forcedroid
  • All remaining templates generate and build correctly via CLI tools
  • Tested with Templates repo branch remove-native-apptype

Related PRs

  • SalesforceMobileSDK-Templates PR #494 - Remove template files
  • SalesforceMobileSDK-UITests PR (to be linked) - Update CI workflows

Updated after removing iOSNativeTemplate and AndroidNativeTemplate from
Templates repository. The native appType has been completely eliminated,
with native_swift and native_kotlin remaining as the modern alternatives.

Changes:
- setup_test_branches.js: Removed native templates from templatesPackageJsons array
- constants.js: Removed 'native' from forceios and forcedroid appTypes and appTypesToPath
- test_force.js: Removed 'native' from APP_TYPE enum
- Regenerated OCLIF commands for SFDX plugin
- Updated SFDX README (with expected errors for uninstalled plugin)
- Updated CLAUDE.md documentation example to reflect new structure

With only one appType remaining for forceios and forcedroid, the appType
prompt will be automatically skipped (via PR forcedotcom#325 changes).
@wmathurin wmathurin merged commit 9de0ff3 into forcedotcom:dev Apr 10, 2026
13 of 15 checks passed
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.

3 participants