React Native Alternate App Icon | App Icon Changer
react-native-alternate-app-icon is a high-performance App Icon Changer for React Native for changing your app icon at runtime on iOS and Android. It exposes a type-safe JavaScript API backed by native Swift and Kotlin implementations via Nitro Modules.
Use it as a dynamic app icon changer for seasonal themes, event-based branding, user personalization, or any scenario where you want alternate icons without shipping a new build.
Why use this App Icon Changer?
- Dynamic Icon Switching: Change the launcher icon while the app is installed.
- High Performance: Powered by Nitro Modules for near-instant native communication.
- Full Control: Programmatically set, reset, and query available icons.
- Cross-Platform: Unified API for both iOS and Android.
Key features
| Feature | Description |
|---|---|
| Runtime icon switching | Change the launcher icon while the app is installed |
| Cross-platform API | Same setIcon, getActiveIcon, and related functions on iOS and Android |
| Nitro-powered | Fast native bindings through react-native-nitro-modules 0.32.0 |
| New Architecture | Works with Fabric and TurboModules |
| Event-driven UX | Swap icons for holidays, promotions, or user preferences |
:::info Version requirements
Install react-native-nitro-modules@0.32.0 alongside this package. See Compatibility for supported versions.
:::
Quick start
- bun
- npm
- yarn
bun add react-native-alternate-app-icon react-native-nitro-modules@0.32.0
cd ios && pod install
npm install react-native-alternate-app-icon react-native-nitro-modules@0.32.0
cd ios && pod install
yarn add react-native-alternate-app-icon react-native-nitro-modules@0.32.0
cd ios && pod install
Then configure alternate icons for your platform:
- iOS setup — asset catalog +
Info.plist+ Xcode - Android setup — mipmaps +
activity-aliasentries
import { setIcon, getActiveIcon } from 'react-native-alternate-app-icon';
await setIcon('AlternativeIcon');
const active = await getActiveIcon();
What's next?
- Installation — peer dependencies and project requirements
- Compatibility — package, Nitro Modules, React Native, and Node versions
- API reference — full method documentation
- Example app — working reference project in the library repo