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

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

Open
Nardeep opened this issue Jan 21, 2025 · 1 comment
Open

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

Nardeep opened this issue Jan 21, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Nardeep
Copy link

Nardeep commented Jan 21, 2025

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>
@Nardeep Nardeep added the bug Something isn't working label Jan 21, 2025
@Nardeep
Copy link
Author

Nardeep commented Jan 21, 2025

@birkir please check this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant