Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hansemannn/titanium-carplay
Use the Apple CarPlay framework in the Titanium SDK.
https://github.com/hansemannn/titanium-carplay
apple carplay ios javascript native titanium
Last synced: about 2 months ago
JSON representation
Use the Apple CarPlay framework in the Titanium SDK.
- Host: GitHub
- URL: https://github.com/hansemannn/titanium-carplay
- Owner: hansemannn
- License: other
- Created: 2018-06-21T05:39:28.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-11-01T13:48:11.000Z (about 1 year ago)
- Last Synced: 2024-05-01T20:23:39.048Z (9 months ago)
- Topics: apple, carplay, ios, javascript, native, titanium
- Language: Swift
- Homepage:
- Size: 417 KB
- Stars: 11
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Titanium Car Play
Use the Apple CarPlay framework in the Titanium SDK. **Note**: This is a complete Swift rewrite of the original Ti.CarPlay module and does not share backwards compatibility.
## Requirements
- [x] Titanium SDK 12.3.0+ (or [this change](https://github.com/tidev/titanium-sdk/pull/13941))
- [x] iOS 14+
- [x] Xcode 15+
- [x] Approved CarPlay entitlements from Apple## Architecture
The architecture of this project is meant to be as close to the Swift API as possible. Therefore, templates, methods
and properties are the named the same as natively. The typical flow is that you provide a default template inside
the `TiCarPlaySceneDelegate` class (recompile the module afterwards) and then control your full UI from the JavaScript
side. If you need initial logic in the module, you can use the `UserDefaults` API to load cached data from your main app
that was set via the `Ti.App.iOS.UserDefaults` API. Remember to configure a proper group name for your app first.## Example
See the example/app.js for details
## Author
Hans Knöchel
## License
MIT