Skip to main content

Installation

Install the package together with its required peer dependency. Pin react-native-nitro-modules to 0.32.0 — see Compatibility for the full version matrix.

bun add react-native-alternate-app-icon react-native-nitro-modules@0.32.0

iOS — CocoaPods

After installing JavaScript dependencies, install native pods:

cd ios && pod install

Rebuild native apps

Icon changes require native configuration. After setup, rebuild your app:

# iOS
bunx react-native run-ios

# Android
bunx react-native run-android

Next steps

Platform-specific setup is required before setIcon() will work:

See the compatibility page for version requirements.