Android Auto and Carplay #1984
Replies: 6 comments 19 replies
-
@sean-pearson , thanks for reaching out! I don't think any of us noticed this discussion so sorry for leaving you unread for 2 weeks. All in all, Android Auto is something that we'd love to have in this library. There's been a feature request for it for a while now. Regarding your first crack at open-source: don't sweat it! It's not too different from normal dev work and you can do it any way you like. In general, the typical flow is to fork the project you want to contribute to, implement your changes there, and then submit a PR back to the main repository from the branch containing your changes. However, you could even send us the link to your repo and we could take a cursory look at the code if that's easier for you. In general, I would encourage you not to worry about cleaning stuff up too much, there won't be any judgments from the maintainers or community for anything anyone is willing to contribute. I think the primary thing to keep in mind for this project is that we currently support both Android & iOS. In an ideal world, we'd want a consistent react-native/js interface with both Android Auto & Carplay to simplify development for the library's users. However, sometimes that's not possible so it takes a bit of judgment. However, interface design is something that the maintainers could likely help you with/provide feedback on at an early stage. You could even simply propose your concept of how the features would work with the existing interface and get some feedback. All in all, I'm excited to hear about your interest and looking forward to seeing what you've cooked up! |
Beta Was this translation helpful? Give feedback.
-
@jspizziri I'm not sure if you saw but react-native-carplay seems to have added the now-playing template. I was wondering if you had some time to get on a google meet with me so I can go over what I have done with Android Auto and get your input on how we could integrate it with react native track player. I sent an invite on LinkedIn to connect to chat if you are free. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hi all, For CarPlay, the current master of react-native-carplay by @birkir features a NowPlaying-template which integrates smoothly with RNTP, since RNTP syncs with the native iOS audio player and the NowPlaying view is accessible throughout the whole Apple ecosystem (iOS/iPadOS, watchOS, and of course CarPlay), so displaying the currently running track is as simple as playing it in RNTP and then pushing the NowPlaying template onto the CarPlay view stack. For Android Auto there's active development in this RNTP-PR by @lovegaoshi which features the NowPlaying-template seen above. |
Beta Was this translation helpful? Give feedback.
-
Did you do the app to Android auto? I'm trying to developer but I'm can't. I need some example to start my app. |
Beta Was this translation helpful? Give feedback.
-
I am currently working on getting Android Auto to work with React Native and am planning on adding Carplay. I have a demo working for Android Auto but was thinking it would be more useful if I got it in an open-source project. The thing is I've never worked with an open-source project before. When I am working on cleaning it up. What should I keep in mind if I wanted to add it to this project? I love your current work! Any suggestions or advice would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions