Skip to content

App is not visible in android auto but working in iOS #224

Open
@Nardeep

Description

Describe the bug
After updating the manifest and trying the app to attach real device then app is not visible.

To Reproduce
Just set up the template of message and grid and run build and connect with real android auto in car then app is not showing

Expected behavior
App icon need to visible in android auto

Android Auto (please complete the following information):

  • Device: One Plus / Realme 12 pro
  • Android Version: andorid 14
  • RNCarPlay version : 2.4.1-beta.0

Additional context
Here is our manifest file Please check below.

<application
  android:name=".MainApplication"
  android:label="@string/app_name"
  android:icon="@mipmap/ic_launcher"
    android:enableOnBackInvokedCallback="true"
  android:roundIcon="@mipmap/ic_launcher_round"
    android:requestLegacyExternalStorage="true"
    android:usesCleartextTraffic="true"
  android:allowBackup="false"
  android:theme="@style/BootTheme"
        android:supportsRtl="true">
    <meta-data
        android:name="com.google.android.gms.car.application"
        android:resource="@xml/automotive_app_desc" />
    <meta-data android:name="com.google.android.gms.car.notification.SmallIcon"
        android:resource="@mipmap/ic_launcher" />
  <activity

    android:name=".MainActivity"
    android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
    android:launchMode="singleTask"
    android:windowSoftInputMode="adjustPan"
       android:screenOrientation="portrait"
    android:exported="true">
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
  </activity>
    <service
        android:name="org.birkir.carplay.CarPlayService"
        android:label="@string/app_name"
        android:icon="@mipmap/ic_launcher"
        android:exported="true"
       >
        <intent-filter>
            <action android:name="androidx.car.app.CarAppService"/>

        </intent-filter>
        <intent-filter>
            <action android:name="org.birkir.carplay.APP_RELOAD" />
        </intent-filter>

        <meta-data
            android:name="android.car.media.SERVICE"
            android:value="true"/>
    </service>

</application>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions