Code Monkey home page Code Monkey logo

Comments (4)

rodolphefauquez avatar rodolphefauquez commented on July 23, 2024 2

@albert-carreras
I had the problem too, but the solution is on the readme x).

In your manifest, you probably forgot to remove the default <intent-filter> lines from your original activity (.MainActivity)

Keep only the <intent-filter> of the 2nd activity ('com.zoontek.rnbootsplash.RNBootSplashActivity') :

<intent-filter>
      <action android:name="android.intent.action.MAIN" />
      <category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

So your manifest should be like something like that:

<application
    android:name=".MainApplication"
    ...
>

    <activity
      android:name=".MainActivity"
      android:exported="true"
      ...
      >
    </activity>

    <activity
      android:name="com.zoontek.rnbootsplash.RNBootSplashActivity"
      android:theme="@style/BootTheme">
      <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
    </activity>

    <!-- … -->
  </application>

from react-native-bootsplash.

sharingjingang050241 avatar sharingjingang050241 commented on July 23, 2024

emmmmmmmmmmm, This is my problem,sorry
please close this .

from react-native-bootsplash.

albert-carreras avatar albert-carreras commented on July 23, 2024

Can you explain what was wrong... Instead of just closing this? I'm facing the same issue

from react-native-bootsplash.

kylanhurt avatar kylanhurt commented on July 23, 2024

Thank you for the heads up. Fixed it for me as well. It seemed to only happen when I used the --logo-width=500 from the command line for some reason.

from react-native-bootsplash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.