ionic-chromecast 0.0.8 → 0.0.9

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.
Files changed (2) hide show
  1. package/README.md +26 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -22,11 +22,36 @@ npx cap sync
22
22
 
23
23
  ## Android Configuration
24
24
 
25
- The plugin automatically configures the necessary permissions and Cast options:
25
+ The plugin automatically configures the necessary permissions:
26
26
  - `INTERNET`
27
27
  - `ACCESS_NETWORK_STATE`
28
28
  - `ACCESS_WIFI_STATE`
29
29
 
30
+ ### Required Cast Options Provider
31
+
32
+ Before using the plugin on Android, add the Cast options provider to your app's `AndroidManifest.xml` inside the `<application>` tag:
33
+
34
+ ```xml
35
+ <meta-data
36
+ android:name="com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME"
37
+ android:value="com.fabianacevedo.ionicchromecast.CastOptionsProvider"
38
+ tools:replace="android:value" />
39
+ ```
40
+
41
+ If your manifest does not already declare the `tools` namespace, add it to the root `<manifest>` element:
42
+
43
+ ```xml
44
+ <manifest
45
+ xmlns:android="http://schemas.android.com/apk/res/android"
46
+ xmlns:tools="http://schemas.android.com/tools">
47
+ ```
48
+
49
+ Then sync Android:
50
+
51
+ ```bash
52
+ npx cap sync android
53
+ ```
54
+
30
55
  ### Requirements
31
56
  - Android API 23+
32
57
  - Google Play Services
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-chromecast",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "Capacitor plugin for Google Cast SDK (Chromecast) integration with Android support",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",