Skip to content

Support for Android Auto / Apple Carplay #19900

@ahmadkhudeish

Description

@ahmadkhudeish

For Discussion

Hi there,

Are there any plans to support Android Auto / Apple Carplay on React Native?

Cheers
Ahmad

Activity

fungilation

fungilation commented on Jun 28, 2018

@fungilation

Interesting question. On a UI level, it could work similarly to tvOS?

ahmadkhudeish

ahmadkhudeish commented on Jun 28, 2018

@ahmadkhudeish
Author

@fungilation that's right, I only need to use it on a UI level. I can use Android Auto from the Native API using Java or Kotlin but I want to use it with React Native. I haven't found any resources about this. any ideas if this is already supported in RN?

hramos

hramos commented on Jun 28, 2018

@hramos
Contributor

There's no explicit support for CarPlay in the React Native library itself, because CarPlay is a native SiriKit feature. You can set up your Xcode project to support CarPlay as you normally would, regardless of whether you are using React Native or not in your application.

If you are interested in using React Native to drive the CarPlay screen, it appears CarPlay would require your view controller to use a specific subset of UIKit components and to adhere to CarPlay's limitations.

I personally do not know if it's possible to use a React Native backed view to drive this - I'd be surprised if it works right now - but this use case does seem better served by using CarKit directly. I don't see much benefit in using React Native here. I'd be interested in hearing more about your particular use case, and why React Native would be useful to you here. Can post in https://discuss.reactjs.org/ instead? A GitHub issue is not the best place for this type of question.

locked as resolved and limited conversation to collaborators on Jun 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @hramos@fungilation@ahmadkhudeish@react-native-bot

        Issue actions

          Support for Android Auto / Apple Carplay · Issue #19900 · facebook/react-native