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

Support for Android Auto / Apple Carplay #19900

Closed
ahmadkhudeish opened this issue Jun 26, 2018 · 3 comments
Closed

Support for Android Auto / Apple Carplay #19900

ahmadkhudeish opened this issue Jun 26, 2018 · 3 comments
Labels
Platform: Android Android applications. Resolution: Locked This issue was locked by the bot. Type: Discussion Long running discussion.

Comments

@ahmadkhudeish
Copy link


For Discussion

Hi there,

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

Cheers
Ahmad

@react-native-bot react-native-bot added Type: Discussion Long running discussion. Platform: Android Android applications. labels Jun 26, 2018
@fungilation
Copy link

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

@ahmadkhudeish
Copy link
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
Copy link
Contributor

hramos commented Jun 28, 2018

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.

@hramos hramos closed this as completed Jun 28, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Jun 28, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jun 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: Android Android applications. Resolution: Locked This issue was locked by the bot. Type: Discussion Long running discussion.
Projects
None yet
Development

No branches or pull requests

4 participants