react-native-change-icon icon indicating copy to clipboard operation
react-native-change-icon copied to clipboard

app wont start

Open aidooyaw1992 opened this issue 3 months ago • 1 comments

Platform

  • [ ] iOS
  • [ x] Android

Description A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior: 1. 2.

Expected behavior Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.appiconchangeproject/com.appiconchangeproject } Error type 3 Error: Activity class {com.appiconchangeproject/com.appiconchangeproject} does not exist.

Screenshots If applicable, add screenshots to help explain your problem.

Device (please complete the following information):

  • Device: Infinix note 30 pro
  • OS: Android 13

Versions

  • react-native: [e.g. 0.76]
  • react-native-change-icon: 5.0.0

Code Snippet Please provide a minimal code snippet of the setup that you did to use this package. [e.g. AndroidManifest.xml]

<uses-permission android:name="android.permission.INTERNET" />

<application
    android:name=".MainApplication"
    android:label="@string/app_name"
    android:icon="@mipmap/ic_launcher"
    android:roundIcon="@mipmap/ic_launcher_round"
    android:allowBackup="false"
    android:theme="@style/AppTheme"
    android:supportsRtl="true">

    <!-- Main Activity - Added default launcher intent -->
    <activity
        android:name=".MainActivity"
        android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
        android:launchMode="singleTask"
        android:windowSoftInputMode="adjustResize"
        android:exported="true"
    >
        <!-- Add default launcher intent -->

    </activity>

    <!-- Christmas Activity Alias - Simplified configuration -->
    <activity-alias
        android:name="com.appiconchangeproject.MainActivityDefault"
        android:enabled="false"
        android:targetActivity=".MainActivity"
        android:icon="@mipmap/ic_launcher"
        android:roundIcon="@mipmap/ic_launcher"
        android:exported="true">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity-alias>
    <activity-alias
        android:name="com.appiconchangeproject.MainActivityChristmas"
        android:enabled="true"
        android:targetActivity=".MainActivity"
        android:icon="@mipmap/ic_launcher_christmas"
        android:roundIcon="@mipmap/ic_launcher_christmas"
        android:exported="true">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity-alias>

</application>

aidooyaw1992 avatar Nov 18 '24 12:11 aidooyaw1992