Heads up! We're sunsetting this forum to streamline our community space.

join us on Discord for support, updates, and all things Snap AR! See you there!
Sign up for our live Camera Kit office hour on July 17 @ 9:30am (PT) / 4:30pm (GMT)

Camera Kit For Unity - 2 Apps in Android app drawer

Pico Alta
Pico Alta Posts: 22 🔥
edited April 8 in General #1

Hi there,

I'm currently in the stage of Android development in the Camerakit For Unity repo. I noticed after creating an Android build, that there are 2 apps in my app drawer: One app is with CameraKit and one is without.

How would I remove this app without CameraKit? What would happen if I push my app into production, would the end user also see 2 apps in their app drawer?

Thanks in advance.

Best Answer

  • Pico Alta
    Pico Alta Posts: 22 🔥
    edited March 8 #2 Answer ✓

    Ok managed to solve this one:

    In your Android project, go to unityLibrary/manifests/AndroidManifest.xml and remove the LAUNCHER intent from

    <intent-filter>

    So it looks like this:

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

    Could this be added to the readme or is this something that can be done in a post-build script?

Answers

  • Edgar Neto
    Edgar Neto Posts: 11 👻

    Thank you, this is great feedback. We will add it to future versions of the sample app.

Categories