@iternio/react-native-auto-play 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,38 +1,452 @@
1
- # react-native-nitro-template
2
1
 
3
- This is a template for Nitro Modules.
2
+
3
+
4
+
5
+
6
+ # React Native Auto Play
7
+
8
+ **React Native Auto Play** provides a comprehensive solution for integrating your React Native application with both **Apple CarPlay** and **Android Auto**. This library allows you to build automotive-specific user interfaces using familiar React Native components and concepts.
9
+
10
+ [![npm version](https://img.shields.io/npm/v/@iternio/react-native-auto-play.svg)](https://www.npmjs.com/package/@iternio/react-native-auto-play)
11
+ [![npm downloads](https://img.shields.io/npm/dm/@iternio/react-native-auto-play.svg)](https://www.npmjs.com/package/@iternio/react-native-auto-play)
12
+ [![License](https://img.shields.io/npm/l/@iternio/react-native-auto-play.svg)](https://github.com/Iternio-Planning-AB/react-native-auto-play/blob/main/LICENSE)
13
+
14
+ ## Features
15
+
16
+ - **Cross-Platform:** Write once, run on both Apple CarPlay and Android Auto.
17
+ - **Both Architectures:** Supports both the legacy and the new React Native architecture.
18
+ - **Template-Based UI:** Utilize a rich set of templates like `MapTemplate`, `ListTemplate`, `GridTemplate`, and more to build UIs that comply with automotive design guidelines.
19
+ - **Navigation APIs:** Build full-featured navigation experiences with APIs for trip management, maneuvers, and route guidance.
20
+ - **Dashboard & Cluster Support:** Extend your app's presence to the CarPlay Dashboard (CarPlay only) and instrument cluster displays (CarPlay & Android Auto).
21
+ - **Hooks-Based API:** A modern and intuitive API using React Hooks (`useMapTemplate`, `useVoiceInput`, etc.) for interacting with the automotive system.
22
+ - **Headless Operation:** Runs in the background to keep the automotive experience alive even when the main app is not in the foreground.
23
+ - **Powered by [NitroModules](https://nitro.margelo.com/)**
24
+
25
+ ## Installation
26
+
27
+ 1. **Install the package and its peer dependencies:**
28
+
29
+ ```bash
30
+ yarn add @iternio/react-native-auto-play react-native-nitro-modules
31
+ ```
32
+
33
+ 2. **For iOS, install the pods:**
34
+
35
+ ```bash
36
+ cd ios && pod install && cd ..
37
+ ```
38
+
39
+ 3. **For Android, the library will be autolinked.**
40
+
41
+ ## Platform Setup
42
+
43
+ ### iOS
44
+
45
+ #### Bundle identifier
46
+ To get the CarPlay app showing up you need to set a proper Bundle Identifier:
47
+ - Open `example.xcodeproj`
48
+ - Select the example target, go to the **Signing & Capabilities** tab.
49
+ - Under **Signing > Bundle Identifier**, enter your unique bundle ID (e.g., `at.g4rb4g3.autoplay.example`).
50
+
51
+ #### Entitlements
52
+ Create a `Entitlements.plist` file in your project, paste the content below and adjust the **com.apple.developer.carplay-maps** key to your needs. Check [Apple docs](https://developer.apple.com/documentation/carplay/requesting-carplay-entitlements) for details.
53
+
54
+ ```xml
55
+ <?xml version="1.0" encoding="UTF-8"?>
56
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
57
+ <plist version="1.0">
58
+ <dict>
59
+ <key>com.apple.developer.carplay-maps</key>
60
+ <true/>
61
+ <key>application-identifier</key>
62
+ <string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>
63
+ </dict>
64
+ </plist>
65
+ ```
66
+ - Open `example.xcodeproj`
67
+ - Select the example target, go to the **Build Settings tab** and filter for entitlement.
68
+ - On **Code Signing Entitlements** enter the path to the Entitlements.plist file you just created.
69
+
70
+ #### Scene delegates
71
+ Depending on your needs you need to set up the scene delegates. The library brings following delegates:
72
+
73
+ - WindowApplicationSceneDelegate - The main scene visible on your mobile device
74
+ - HeadUnitSceneDelegate - The main scene on CarPlay device
75
+ - DashboardSceneDelegate - Scene visible on the CarPlay overview screen usualy with some other widgets like calendar, weather or music.
76
+ - ClusterSceneDelegate - Scene visible on a cars instrument cluster.
77
+
78
+ Paste this into your Info.plist and adjust it to your needs. Check [Apple docs](https://developer.apple.com/documentation/carplay/displaying-content-in-carplay) for details.
79
+ ```xml
80
+ <key>UIApplicationSceneManifest</key>
81
+ <dict>
82
+ <key>CPSupportsDashboardNavigationScene</key>
83
+ <true/>
84
+ <key>CPSupportsInstrumentClusterNavigationScene</key>
85
+ <true/>
86
+ <key>UIApplicationSupportsMultipleScenes</key>
87
+ <true/>
88
+ <key>UISceneConfigurations</key>
89
+ <dict>
90
+ <key>CPTemplateApplicationDashboardSceneSessionRoleApplication</key>
91
+ <array>
92
+ <dict>
93
+ <key>UISceneClassName</key>
94
+ <string>CPTemplateApplicationDashboardScene</string>
95
+ <key>UISceneConfigurationName</key>
96
+ <string>CarPlayDashboard</string>
97
+ <key>UISceneDelegateClassName</key>
98
+ <string>DashboardSceneDelegate</string>
99
+ </dict>
100
+ </array>
101
+ <key>CPTemplateApplicationInstrumentClusterSceneSessionRoleApplication</key>
102
+ <array>
103
+ <dict>
104
+ <key>UISceneClassName</key>
105
+ <string>CPTemplateApplicationInstrumentClusterScene</string>
106
+ <key>UISceneConfigurationName</key>
107
+ <string>CarPlayCluster</string>
108
+ <key>UISceneDelegateClassName</key>
109
+ <string>ClusterSceneDelegate</string>
110
+ </dict>
111
+ </array>
112
+ <key>CPTemplateApplicationSceneSessionRoleApplication</key>
113
+ <array>
114
+ <dict>
115
+ <key>UISceneClassName</key>
116
+ <string>CPTemplateApplicationScene</string>
117
+ <key>UISceneConfigurationName</key>
118
+ <string>CarPlayHeadUnit</string>
119
+ <key>UISceneDelegateClassName</key>
120
+ <string>HeadUnitSceneDelegate</string>
121
+ </dict>
122
+ </array>
123
+ <key>UIWindowSceneSessionRoleApplication</key>
124
+ <array>
125
+ <dict>
126
+ <key>UISceneClassName</key>
127
+ <string>UIWindowScene</string>
128
+ <key>UISceneConfigurationName</key>
129
+ <string>WindowApplication</string>
130
+ <key>UISceneDelegateClassName</key>
131
+ <string>WindowApplicationSceneDelegate</string>
132
+ </dict>
133
+ </array>
134
+ </dict>
135
+ </dict>
136
+ ```
137
+
138
+ #### MapTemplate
139
+ if you want to make use of the MapTemplate and render react components you need to add this to your AppDelegate.swift
140
+ This should cover old and new architecture, adjust to your needs!
141
+
142
+ ```swift
143
+ @objc func getRootViewForAutoplay(
144
+ moduleName: String,
145
+ initialProperties: [String: Any]?
146
+ ) -> UIView? {
147
+ if RCTIsNewArchEnabled() {
148
+ if let factory = reactNativeFactory?.rootViewFactory as? ExpoReactRootViewFactory {
149
+ return factory.superView(
150
+ withModuleName: moduleName,
151
+ initialProperties: initialProperties,
152
+ launchOptions: nil
153
+ )
154
+ }
155
+
156
+ return reactNativeFactory?.rootViewFactory.view(
157
+ withModuleName: moduleName,
158
+ initialProperties: initialProperties
159
+ )
160
+ }
161
+
162
+ if let rootView = window?.rootViewController?.view as? RCTRootView {
163
+ return RCTRootView(
164
+ bridge: rootView.bridge,
165
+ moduleName: moduleName,
166
+ initialProperties: initialProperties
167
+ )
168
+ }
169
+
170
+ return nil
171
+ }
172
+ ```
173
+
174
+ #### MapTemplate maneuver dark & light mode
175
+ It is recommended to attach a listener to MapTemplate.onAppearanceDidChange and send maneuver updates based on this to make sure the colors are applied properly.
176
+ Reason for this is that CarPlay does not allow for color updates on maneuvers shown on the screen. You need to send maneuvers with a new id to get them updated properly on the screen.
177
+ The color properties do not need to handle the mode change, best practice is to use ThemedColor whenever possible and set appropriate light and dark mode colors.
178
+ This is mainly required on CarPlay for now since Android Auto lacks light mode.
179
+
180
+ #### Dashboard buttons
181
+ In case you wanna open up your CarPlay app from one of the CarPlay dashboard buttons set `launchHeadUnitScene` on the button and add this to your Info.plist. Make sure to apply your "Bundle Identifier" instead of the example one.
182
+ ```xml
183
+ <key>CFBundleURLTypes</key>
184
+ <array>
185
+ <dict>
186
+ <key>CFBundleTypeRole</key>
187
+ <string>Editor</string>
188
+ <key>CFBundleURLSchemes</key>
189
+ <array>
190
+ <string>at.g4rb4g3.autoplay.example</string>
191
+ </array>
192
+ </dict>
193
+ </array>
194
+ ```
195
+
196
+ ### Android Auto
197
+ No platform specific setup required - we got you covered with all the required stuff.
198
+
199
+ ## Icons
200
+ The library is using [Material Symbols](https://fonts.google.com/icons) for iconography. The font is bundled with the library, so no extra setup is required. You can use these icons on both Android Auto and CarPlay.
201
+
202
+ It is also possible to use custom bundled images (e.g. PNG, WEBP or Vector Drawables). Make sure to add them to your native projects.
203
+ - iOS: Add to your `Images.xcassets`
204
+ - Android: Add to `res/drawable`
4
205
 
5
206
  ## Usage
6
207
 
7
- Clone this repo, and change all `$$*$$` names according to your `nitro.json` file.
208
+ ### 1. Register the AutoPlay Components
209
+
210
+ You need to register your AutoPlay components in your app's entry file (e.g., `index.js`). This includes setting up the headless task that runs when CarPlay or Android Auto is connected.
211
+
212
+ ```javascript
213
+ // index.js
214
+ import { AppRegistry } from 'react-native';
215
+ import { name as appName } from './app.json';
216
+ import App from './src/App';
217
+ import registerAutoPlay from './src/AutoPlay'; // Your AutoPlay setup
218
+
219
+ AppRegistry.registerComponent(appName, () => App);
220
+ registerAutoPlay();
221
+ ```
222
+
223
+ ### 2. Create the AutoPlay Experience
224
+
225
+ Create a file (e.g., `src/AutoPlay.js`) to define your automotive UI. This is where you will configure your templates and the React components they will render.
226
+
227
+ ```tsx
228
+ // src/AutoPlay.tsx
229
+ import {
230
+ AutoPlayCluster,
231
+ CarPlayDashboard,
232
+ HybridAutoPlay,
233
+ MapTemplate,
234
+ useMapTemplate,
235
+ } from '@iternio/react-native-auto-play';
236
+ import React, { useEffect } from 'react';
237
+ import { Platform, Text, View } from 'react-native';
238
+
239
+ // A simple component that can be reused across different screens
240
+ const MyCarScreen = ({ title }: { title: string }) => (
241
+ <View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
242
+ <Text style={{ color: 'white', fontSize: 24 }}>{title}</Text>
243
+ </View>
244
+ );
245
+
246
+ // The React component to be rendered inside the MapTemplate
247
+ const MapScreen = () => {
248
+ const mapTemplate = useMapTemplate();
249
+
250
+ useEffect(() => {
251
+ // Show an alert on the car screen when the component mounts
252
+ mapTemplate?.showAlert({
253
+ id: 'welcome-alert',
254
+ title: { text: 'Welcome!' },
255
+ subtitle: { text: 'Your app is now running on the car screen.' },
256
+ durationMs: 5000,
257
+ priority: 'low',
258
+ });
259
+ }, [mapTemplate]);
260
+
261
+ return <MyCarScreen title="Hello, Map!" />;
262
+ };
263
+
264
+ const registerAutoPlay = () => {
265
+ const onConnect = () => {
266
+ // When a car is connected, create a MapTemplate and set it as the root
267
+ const rootTemplate = new MapTemplate({
268
+ component: MapScreen, // Render our map component
269
+ headerActions: {
270
+ android: [
271
+ {
272
+ type: 'image',
273
+ image: { name: 'search', type: 'glyph' },
274
+ onPress: () => console.log('Search pressed'),
275
+ },
276
+ {
277
+ type: 'image',
278
+ image: { name: 'cog', type: 'glyph' },
279
+ onPress: () => console.log('Settings pressed'),
280
+ },
281
+ ],
282
+ ios: {
283
+ leadingNavigationBarButtons: [
284
+ {
285
+ type: 'image',
286
+ image: { name: 'search', type: 'glyph' },
287
+ onPress: () => console.log('Search pressed'),
288
+ },
289
+ ],
290
+ trailingNavigationBarButtons: [
291
+ {
292
+ type: 'image',
293
+ image: { name: 'cog', type: 'glyph' },
294
+ onPress: () => console.log('Settings pressed'),
295
+ },
296
+ ],
297
+ },
298
+ },
299
+ });
300
+
301
+ rootTemplate.setRootTemplate();
302
+ };
303
+
304
+ // Register components for the Dashboard and Cluster
305
+ if (Platform.OS === 'ios') {
306
+ CarPlayDashboard.setComponent(() => <MyCarScreen title="Hello, Dashboard!" />);
307
+ }
308
+ AutoPlayCluster.setComponent(() => <MyCarScreen title="Hello, Cluster!" />);
309
+
310
+
311
+ // Add listeners for car connection and disconnection events
312
+ HybridAutoPlay.addListener('didConnect', onConnect);
313
+ HybridAutoPlay.addListener('didDisconnect', () => {
314
+ console.log('Car disconnected');
315
+ });
316
+ };
317
+ export default registerAutoPlay;
318
+ ```
319
+
320
+ ## API Reference
321
+
322
+ ### Main Object
323
+
324
+ - `HybridAutoPlay`: The primary interface for interacting with the native module, handling connection status and events.
325
+
326
+ ### Localization
327
+ The library allows you to pass distances and durations and formats them according to the system defaults.
328
+ For iOS make sure to provide all supported app languages in Info.plist CFBundleLocalizations for this to work properly, missing languages will use CFBundleDevelopmentRegion as fallback which is **en** most of the time. This results in a mix up with the region which might result in **en**_AT instead of **de**_AT for example.
329
+
330
+ ### Component Props
331
+
332
+ #### RootComponentInitialProps
333
+
334
+ Every component registered with a template (e.g., via `MapTemplate`'s `component` prop) or a scene (e.g., `CarPlayDashboard.setComponent`) receives `RootComponentInitialProps` as its props. This object contains important information about the environment where the component is being rendered.
335
+
336
+ - `id`: A unique identifier for the screen. Can be `AutoPlayRoot` for the main screen, `CarPlayDashboard` for the dashboard, or a UUID for cluster displays.
337
+ - `rootTag`: The React Native root tag for the view.
338
+ - `colorScheme`: The initial color scheme (`'dark'` or `'light'`). Listen for changes with the `onAppearanceDidChange` event on the template.
339
+ - `window`: An object containing the dimensions and scale of the screen:
340
+ - `width`: The width of the screen.
341
+ - `height`: The height of the screen.
342
+ - `scale`: The screen's scale factor.
343
+
344
+ **iOS Specific Properties:**
345
+
346
+ On iOS, the component registered with `AutoPlayCluster.setComponent` receives additional props in its `RootComponentInitialProps` that indicate user preferences for the cluster display. You can also listen for changes to these settings.
347
+
348
+ - `compass: boolean`: Indicates if the compass display is enabled by the user. The initial value is passed as a prop.
349
+ - `speedLimit: boolean`: Indicates if the speed limit display is enabled by the user. The initial value is passed as a prop.
350
+
351
+ You can listen for changes to these settings using listeners on the `AutoPlayCluster` object:
352
+
353
+ ```tsx
354
+ // Listen for compass setting changes
355
+ const compassCleanup = AutoPlayCluster.addListenerCompass((clusterId, isEnabled) => {
356
+ console.log(`Compass is now ${isEnabled ? 'enabled' : 'disabled'} for cluster ${clusterId}`);
357
+ });
358
+
359
+ // Listen for speed limit setting changes
360
+ const speedLimitCleanup = AutoPlayCluster.addListenerSpeedLimit((clusterId, isEnabled) => {
361
+ console.log(`Speed limit is now ${isEnabled ? 'enabled' : 'disabled'} for cluster ${clusterId}`);
362
+ });
363
+
364
+ // Don't forget to clean up the listeners when your component unmounts
365
+ useEffect(() => {
366
+ return () => {
367
+ compassCleanup();
368
+ speedLimitCleanup();
369
+ };
370
+ }, []);
371
+ ```
372
+
373
+
374
+ ### Templates
375
+
376
+ - `MapTemplate`: For navigation apps.
377
+ - `ListTemplate`: To display a list of items.
378
+ - `GridTemplate`: To display a grid of items.
379
+ - `SearchTemplate`: For search functionality.
380
+ - `InformationTemplate`: For showing information with actions.
381
+ - `MessageTemplate`: For displaying messages.
382
+
383
+ ### Hooks
384
+
385
+ - `useMapTemplate()`: Get a reference to the parent `MapTemplate` instance.
386
+ - `useVoiceInput()`: Access voice input functionality - Android Auto only.
387
+ - `useSafeAreaInsets()`: Get safe area insets for the car screen.
388
+ - `useFocusedEffect()`: A useEffect alternative that executes when the specified component is visible to the user - use any of the `AutoPlayModules` enum or a cluster uuid.
389
+ - `useAndroidAutoTelemetry()`: Access to car telemetry data on Android Auto.
390
+ ```tsx
391
+ import {
392
+ useAndroidAutoTelemetry,
393
+ AndroidAutoTelemetryPermissions,
394
+ } from '@iternio/react-native-auto-play';
395
+
396
+ const MyComponent = () => {
397
+ const { telemetry, permissionsGranted, error } = useAndroidAutoTelemetry({
398
+ requiredPermissions: [
399
+ AndroidAutoTelemetryPermissions.Speed,
400
+ AndroidAutoTelemetryPermissions.Energy,
401
+ AndroidAutoTelemetryPermissions.Odometer,
402
+ ],
403
+ });
404
+
405
+ if (!permissionsGranted) {
406
+ return <Text>Waiting for telemetry permissions...</Text>;
407
+ }
408
+
409
+ if (error) {
410
+ return <Text>Error getting telemetry: {error}</Text>;
411
+ }
412
+
413
+ return (
414
+ <View>
415
+ <Text>Speed: {telemetry?.speed?.value} km/h</Text>
416
+ <Text>Fuel Level: {telemetry?.fuelLevel?.value}%</Text>
417
+ <Text>Battery Level: {telemetry?.batteryLevel?.value}%</Text>
418
+ <Text>Range: {telemetry?.range?.value} km</Text>
419
+ <Text>Odometer: {telemetry?.odometer?.value} km</Text>
420
+ </View>
421
+ );
422
+ }
423
+ ```
424
+ The `telemetry` object may contain the following fields. Each field is an object with a `value` and a `timestamp`.
425
+ - `speed`: Speed in km/h.
426
+ - `fuelLevel`: Fuel level in %.
427
+ - `batteryLevel`: Battery level in %.
428
+ - `range`: Range in km.
429
+ - `odometer`: Odometer in km.
430
+ - `vehicle`: Vehicle information (model name, model year, manufacturer).
431
+
432
+
433
+ ### Scenes
434
+
435
+ - `CarPlayDashboard`: A component to render content on the CarPlay dashboard (CarPlay only).
436
+ - `AutoPlayCluster`: A component to render content on the instrument cluster (CarPlay & Android Auto).
437
+
438
+ ## Known Issues
439
+
440
+ ### iOS
441
+
442
+ - **Broken exceptions with `react-native-skia`**: When using `react-native-skia` up to version `2.4.7`, exceptions on iOS are not reported correctly. This is fixed in newer versions of `react-native-skia`. For more details, see this [pull request](https://github.com/Shopify/react-native-skia/pull/3595).
443
+ - **AppState on iOS**: The `AppState` module from React Native does not work correctly on iOS because this library uses scenes, which are not supported by the stock `AppState` module. This library provides a custom state listener that works for both Android and iOS. Use `HybridAutoPlay.addListenerRenderState` instead of `AppState`.
444
+ - **Timers stop on screen lock**: iOS stops all timers when the device's main screen is turned off. To ensure timers continue to run (which is often necessary for background tasks related to autoplay), a patch for `react-native` is required. A patch is included in the root `patches/` directory and can be applied using `patch-package`.
8
445
 
9
446
  ## Contributing
10
447
 
11
- Contribute a change to this template to update it for newer React Native versions.
12
-
13
- ## Structure
14
-
15
- - [`android/`](android): All your `android`-specific implementations.
16
- - [`build.gradle`](android/build.gradle): The gradle build file. This contains four important pieces:
17
- 1. Standard react-native library boilerplate code
18
- 2. Configures Kotlin (`apply plugin: 'org.jetbrains.kotlin.android'`)
19
- 3. Adds all Nitrogen files (`apply from: '.../NitroAutoplay+autolinking.gradle'`)
20
- 4. Triggers the native C++ build (via CMake/`externalNativeBuild`)
21
- - [`CMakeLists.txt`](android/CMakeLists.txt): The CMake build file to build C++ code. This contains four important pieces:
22
- 1. Creates a library called `NitroAutoplay` (same as in `nitro.json`)
23
- 2. Adds all Nitrogen files (`include(.../NitroAutoplay+autolinking.cmake)`)
24
- 3. Adds all custom C++ files (only `HybridTestObjectCpp.cpp`)
25
- 4. Adds a `cpp-adapter.cpp` file, which autolinks all C++ HybridObjects (only `HybridTestObjectCpp`)
26
- - [`src/main/java/com/margelo/nitro/autoplay/`](android/src/main/java/com/margelo/nitro/autoplay/): All Kotlin implementations.
27
- - [`NitroAutoplayPackage.kt`](android/src/main/java/com/margelo/nitro/autoplay/ReactNativeAutoPlayPackage.kt): The react-native package. You need this because the react-native CLI only adds libraries if they have a `*Package.kt` file. In here, you can autolink all Kotlin HybridObjects.
28
- - [`cpp/`](cpp): All your cross-platform implementations. (only `HybridTestObjectCpp.cpp`)
29
- - [`ios/`](ios): All your iOS-specific implementations.
30
- - [`nitrogen/`](nitrogen): All files generated by nitrogen. You should commit this folder to git.
31
- - [`src/`](src): The TypeScript codebase. This defines all HybridObjects and loads them at runtime.
32
- - [`specs/`](src/specs): All HybridObject types. Nitrogen will run on all `*.nitro.ts` files.
33
- - [`nitro.json`](nitro.json): The configuration file for nitrogen. This will define all native namespaces, as well as the library name.
34
- - [`NitroAutoplay.podspec`](NitroAutoplay.podspec): The iOS podspec build file to build the iOS code. This contains three important pieces:
35
- 1. Specifies the Pod's name. This must be identical to the name specified in `nitro.json`.
36
- 2. Adds all of your `.swift` or `.cpp` files (implementations).
37
- 3. Adds all Nitrogen files (`add_nitrogen_files(s)`)
38
- - [`package.json`](package.json): The npm package.json file. `react-native-nitro-modules` should be a `peerDependency`.
448
+ Contributions are welcome! Please submit a pull request.
449
+
450
+ ## License
451
+
452
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
@@ -141,6 +141,14 @@ class HybridAutoPlay: HybridAutoPlaySpec {
141
141
  animated: false
142
142
  )
143
143
  }
144
+
145
+ DispatchQueue.main.async {
146
+ if let template = TemplateStore.getTemplate(
147
+ templateId: templateId
148
+ ) {
149
+ template.invalidate()
150
+ }
151
+ }
144
152
  }
145
153
  }
146
154
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iternio/react-native-auto-play",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Android Auto and Apple CarPlay for react-native",
5
5
  "main": "lib/index",
6
6
  "module": "lib/index",