@capacitor-mlkit/selfie-segmentation 6.2.0 → 7.0.0-next.1

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.
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
13
13
  s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
14
14
  s.ios.deployment_target = '13.0'
15
15
  s.dependency 'Capacitor'
16
- s.dependency 'GoogleMLKit/SegmentationSelfie', '5.0.0'
16
+ s.dependency 'GoogleMLKit/SegmentationSelfie', '7.0.0'
17
17
  s.swift_version = '5.1'
18
18
  s.static_framework = true
19
19
  end
package/README.md CHANGED
@@ -5,16 +5,30 @@ Unofficial Capacitor plugin for [ML Kit Selfie Segmentation](https://developers.
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install @capacitor-mlkit/selfie-segmentation
8
+ npm install @capacitor-mlkit/selfie-segmentation@next
9
9
  npx cap sync
10
10
  ```
11
11
 
12
+ **Attention**: Please use the `next` tag to install the latest version of the plugin due to issue [#179](https://github.com/capawesome-team/capacitor-mlkit/pull/179).
13
+
14
+ ### Android
15
+
12
16
  #### Variables
13
17
 
14
18
  This plugin will use the following project variables (defined in your app’s `variables.gradle` file):
15
19
 
16
20
  - `$mlkitSelfieSegmentationVersion` version of `com.google.mlkit:segmentation-selfie` (default: `16.0.0-beta4`)
17
21
 
22
+ ### iOS
23
+
24
+ #### Minimum Deployment Target
25
+
26
+ Make sure to set the deployment target in your `ios/App/Podfile` to at least `15.5`:
27
+
28
+ ```ruby
29
+ platform :ios, '15.5'
30
+ ```
31
+
18
32
  ## Configuration
19
33
 
20
34
  No configuration required for this plugin.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor-mlkit/selfie-segmentation",
3
- "version": "6.2.0",
3
+ "version": "7.0.0-next.1",
4
4
  "description": "Capacitor plugin for ML Kit Selfie Segmentation.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",