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

[Android] APK turning in two apps after install #36

Open
rd3-elizeu opened this issue Dec 22, 2020 · 2 comments
Open

[Android] APK turning in two apps after install #36

rd3-elizeu opened this issue Dec 22, 2020 · 2 comments

Comments

@rd3-elizeu
Copy link

rd3-elizeu commented Dec 22, 2020

I don't know if this is supposed to happen, but after doing eveything in the tutorials i end up getting two apps, the Native + Unity and the other contains only the Unity app with none of the native features/screens.
Is there a way to not have this second Unity only app installed together?

@kyokomi
Copy link

kyokomi commented Dec 26, 2020

Hi @rd3-elizeu
If you remove the intent-filter in AndroidManifest.xml in the exported Library and place it in Assets/Plugins/Android, the Unity only app will probably not be installed.

image

<activity android:name="com.unity3d.player.UnityPlayerActivity">

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

  	...
  
</activity>

@CSaratakij
Copy link

CSaratakij commented Sep 14, 2021

Thank you @kyokomi .
This info should be add into Android step by step example (Seriously)
https://github.com/Unity-Technologies/uaal-example/blob/master/docs/android.md
.
** Edit **
I see now, the markdown is hide some part of xml.
(I can only see "..." when not viewing with raw text)

 <intent-filter>...</intent-filter> 

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