Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app wont start #113

Open
1 task
aidooyaw1992 opened this issue Nov 18, 2024 · 1 comment
Open
1 task

app wont start #113

aidooyaw1992 opened this issue Nov 18, 2024 · 1 comment
Assignees

Comments

@aidooyaw1992
Copy link

aidooyaw1992 commented Nov 18, 2024

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>
@Wellapos
Copy link

same here

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

No branches or pull requests

3 participants