Skip to content

auto detect mainActivity from AndroidManifest.xml #896

Closed

Description

@kagawagao

Describe the Feature

auto detect MainActivity from AndroidManifest.xml

Possible Implementations

parse AndroidManifest.xml and get MainActivity

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

Related Issues

Activity

  1. thymikee commented on Dec 18, 2019

    @thymikee
    Member

    Can you describe your use case in detail?

  2. kagawagao commented on Dec 18, 2019

    @kagawagao
    Author

    as the doc say, react-native run android support custom MainActivity, but it need to input argument, we can get MainActivity easily by parse AndroidManifest.xml and no argument need

  3. thymikee commented on Dec 18, 2019

    @thymikee
    Member

    And that's more like it. Please mind that there may be people interested in contributing this feature and providing less detail may discourage them :)

    Anyway, I support the idea.

  4. kagawagao commented on Dec 18, 2019

    @kagawagao
    Author

    I'll try to implement this feature

  5. grabbou commented on Jan 13, 2020

    @grabbou
    Member

    Thanks for sending over the PR! Currently a bit on hold, going to upgrade the branch and merge the PR!

  6. github-actions commented on Nov 29, 2022

    @github-actions

    There hasn't been any activity on this issue in the past 3 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days.

  7. thymikee commented on Nov 29, 2022

    @thymikee
    Member

    @adamTrz can you take a look? :)

  8. added
    no-stale-bot
    on Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestgood first issue: takenno-stale-bot

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions