@capacitor/action-sheet 1.0.6 → 4.0.0-beta.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,54 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 4.0.0-beta.0 (2022-06-27)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * add es2017 lib to tsconfig ([#180](https://github.com/ionic-team/capacitor-plugins/issues/180)) ([2c3776c](https://github.com/ionic-team/capacitor-plugins/commit/2c3776c38ca025c5ee965dec10ccf1cdb6c02e2f))
12
+ * correct addListeners links ([#655](https://github.com/ionic-team/capacitor-plugins/issues/655)) ([f9871e7](https://github.com/ionic-team/capacitor-plugins/commit/f9871e7bd53478addb21155e148829f550c0e457))
13
+ * inline source code in esm map files ([#760](https://github.com/ionic-team/capacitor-plugins/issues/760)) ([a960489](https://github.com/ionic-team/capacitor-plugins/commit/a960489a19db0182b90d187a50deff9dfbe51038))
14
+ * Migrate plugins from Color.parseColor() to WebColor.parseColor() ([#140](https://github.com/ionic-team/capacitor-plugins/issues/140)) ([26625cf](https://github.com/ionic-team/capacitor-plugins/commit/26625cfefe45b8d1f17ce27efbc8b04f23e99d93))
15
+ * remove postpublish scripts ([#656](https://github.com/ionic-team/capacitor-plugins/issues/656)) ([ed6ac49](https://github.com/ionic-team/capacitor-plugins/commit/ed6ac499ebf4a47525071ccbfc36c27503e11f60))
16
+ * **action-sheet:** add back deprecated `ActionSheetOptionStyle` type ([e026425](https://github.com/ionic-team/capacitor-plugins/commit/e0264256532624d5892e9b5468be89cd400cf823))
17
+ * support deprecated types from Capacitor 2 ([#139](https://github.com/ionic-team/capacitor-plugins/issues/139)) ([2d7127a](https://github.com/ionic-team/capacitor-plugins/commit/2d7127a488e26f0287951921a6db47c49d817336))
18
+ * **action-sheet:** change package name to 'actionsheet' ([#57](https://github.com/ionic-team/capacitor-plugins/issues/57)) ([5cf608b](https://github.com/ionic-team/capacitor-plugins/commit/5cf608bb82106297a8610b72c7e636d6bfd372de))
19
+
20
+
21
+ ### Features
22
+
23
+ * Action Sheet plugin ([#42](https://github.com/ionic-team/capacitor-plugins/issues/42)) ([8435243](https://github.com/ionic-team/capacitor-plugins/commit/84352432587a424588e81a06bdde5cd4d83aa2cd))
24
+ * set targetSDK default value to 32 ([#970](https://github.com/ionic-team/capacitor-plugins/issues/970)) ([fa70d96](https://github.com/ionic-team/capacitor-plugins/commit/fa70d96f141af751aae53ceb5642c46b204f5958))
25
+ * Use java 11 ([#910](https://github.com/ionic-team/capacitor-plugins/issues/910)) ([5acb2a2](https://github.com/ionic-team/capacitor-plugins/commit/5acb2a288a413492b163e4e97da46a085d9e4be0))
26
+ * **action-sheet:** Make title optional ([#805](https://github.com/ionic-team/capacitor-plugins/issues/805)) ([2018f78](https://github.com/ionic-team/capacitor-plugins/commit/2018f7823cc25ea39c3533772512d221d2dba926))
27
+ * add commonjs output format ([#179](https://github.com/ionic-team/capacitor-plugins/issues/179)) ([8e9e098](https://github.com/ionic-team/capacitor-plugins/commit/8e9e09862064b3f6771d7facbc4008e995d9b463))
28
+ * set targetSDK default value to 31 ([#824](https://github.com/ionic-team/capacitor-plugins/issues/824)) ([3ee10de](https://github.com/ionic-team/capacitor-plugins/commit/3ee10de98067984c1a4e75295d001c5a895c47f4))
29
+ * Upgrade gradle to 7.4 ([#826](https://github.com/ionic-team/capacitor-plugins/issues/826)) ([5db0906](https://github.com/ionic-team/capacitor-plugins/commit/5db0906f6264287c4f8e69dbaecf19d4d387824b))
30
+
31
+
32
+
33
+
34
+
35
+ ## [1.0.8](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/action-sheet@1.0.7...@capacitor/action-sheet@1.0.8) (2022-02-10)
36
+
37
+ **Note:** Version bump only for package @capacitor/action-sheet
38
+
39
+
40
+
41
+
42
+
43
+ ## [1.0.7](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/action-sheet@1.0.6...@capacitor/action-sheet@1.0.7) (2022-01-19)
44
+
45
+
46
+ ### Bug Fixes
47
+
48
+ * inline source code in esm map files ([#760](https://github.com/ionic-team/capacitor-plugins/issues/760)) ([a960489](https://github.com/ionic-team/capacitor-plugins/commit/a960489a19db0182b90d187a50deff9dfbe51038))
49
+
50
+
51
+
52
+
53
+
6
54
  ## [1.0.6](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/action-sheet@1.0.5...@capacitor/action-sheet@1.0.6) (2021-11-03)
7
55
 
8
56
  **Note:** Version bump only for package @capacitor/action-sheet
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
11
11
  s.author = package['author']
12
12
  s.source = { :git => 'https://github.com/ionic-team/capacitor-plugins.git', :tag => package['name'] + '@' + package['version'] }
13
13
  s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}', 'action-sheet/ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
14
- s.ios.deployment_target = '12.0'
14
+ s.ios.deployment_target = '13.0'
15
15
  s.dependency 'Capacitor'
16
16
  s.swift_version = '5.1'
17
17
  end
package/README.md CHANGED
@@ -13,7 +13,11 @@ npx cap sync
13
13
 
14
14
  This plugin will use the following project variables (defined in your app's `variables.gradle` file):
15
15
 
16
- - `$androidxMaterialVersion`: version of `com.google.android.material:material` (default: `1.3.0`)
16
+ - `$androidxMaterialVersion`: version of `com.google.android.material:material` (default: `1.6.1`)
17
+
18
+ ## PWA Notes
19
+
20
+ [PWA Elements](https://capacitorjs.com/docs/web/pwa-elements) are required for Action Sheet plugin to work.
17
21
 
18
22
  ## Example
19
23
 
@@ -1,9 +1,9 @@
1
1
  ext {
2
- junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1'
3
- androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0'
4
- androidxMaterialVersion = project.hasProperty('androidxMaterialVersion') ? rootProject.ext.androidxMaterialVersion : '1.3.0'
5
- androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2'
6
- androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0'
2
+ junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
+ androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.4.2'
4
+ androidxMaterialVersion = project.hasProperty('androidxMaterialVersion') ? rootProject.ext.androidxMaterialVersion : '1.6.1'
5
+ androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.3'
6
+ androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.4.0'
7
7
  }
8
8
 
9
9
  buildscript {
@@ -12,17 +12,17 @@ buildscript {
12
12
  mavenCentral()
13
13
  }
14
14
  dependencies {
15
- classpath 'com.android.tools.build:gradle:4.2.1'
15
+ classpath 'com.android.tools.build:gradle:7.2.1'
16
16
  }
17
17
  }
18
18
 
19
19
  apply plugin: 'com.android.library'
20
20
 
21
21
  android {
22
- compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 30
22
+ compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 32
23
23
  defaultConfig {
24
- minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 21
25
- targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 30
24
+ minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
25
+ targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 32
26
26
  versionCode 1
27
27
  versionName "1.0"
28
28
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -37,14 +37,13 @@ android {
37
37
  abortOnError false
38
38
  }
39
39
  compileOptions {
40
- sourceCompatibility JavaVersion.VERSION_1_8
41
- targetCompatibility JavaVersion.VERSION_1_8
40
+ sourceCompatibility JavaVersion.VERSION_11
41
+ targetCompatibility JavaVersion.VERSION_11
42
42
  }
43
43
  }
44
44
 
45
45
  repositories {
46
46
  google()
47
- jcenter()
48
47
  mavenCentral()
49
48
  }
50
49
 
@@ -86,11 +86,13 @@ public class ActionSheet extends BottomSheetDialogFragment {
86
86
  LinearLayout layout = new LinearLayout(getContext());
87
87
  layout.setOrientation(LinearLayout.VERTICAL);
88
88
  layout.setPadding(layoutPaddingPx16, layoutPaddingPx16, layoutPaddingPx16, layoutPaddingPx16);
89
- TextView ttv = new TextView(getContext());
90
- ttv.setTextColor(Color.parseColor("#757575"));
91
- ttv.setPadding(layoutPaddingPx8, layoutPaddingPx8, layoutPaddingPx8, layoutPaddingPx8);
92
- ttv.setText(title);
93
- layout.addView(ttv);
89
+ if (title != null) {
90
+ TextView ttv = new TextView(getContext());
91
+ ttv.setTextColor(Color.parseColor("#757575"));
92
+ ttv.setPadding(layoutPaddingPx8, layoutPaddingPx8, layoutPaddingPx8, layoutPaddingPx8);
93
+ ttv.setText(title);
94
+ layout.addView(ttv);
95
+ }
94
96
 
95
97
  for (int i = 0; i < options.length; i++) {
96
98
  final int optionIndex = i;
@@ -20,10 +20,6 @@ public class ActionSheetPlugin extends Plugin {
20
20
  public void showActions(final PluginCall call) {
21
21
  String title = call.getString("title");
22
22
  JSArray options = call.getArray("options");
23
- if (title == null) {
24
- call.reject("Must supply a title");
25
- return;
26
- }
27
23
  if (options == null) {
28
24
  call.reject("Must supply options");
29
25
  return;
package/dist/docs.json CHANGED
@@ -71,7 +71,7 @@
71
71
  ],
72
72
  "docs": "The title of the Action Sheet.",
73
73
  "complexTypes": [],
74
- "type": "string"
74
+ "type": "string | undefined"
75
75
  },
76
76
  {
77
77
  "name": "message",
@@ -4,7 +4,7 @@ export interface ShowActionsOptions {
4
4
  *
5
5
  * @since 1.0.0
6
6
  */
7
- title: string;
7
+ title?: string;
8
8
  /**
9
9
  * A message to show under the title.
10
10
  *
@@ -1 +1 @@
1
- {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"AAyBA,MAAM,CAAN,IAAY,sBAsBX;AAtBD,WAAY,sBAAsB;IAChC;;;;OAIG;IACH,6CAAmB,CAAA;IAEnB;;;;OAIG;IACH,qDAA2B,CAAA;IAE3B;;;;;OAKG;IACH,2CAAiB,CAAA;AACnB,CAAC,EAtBW,sBAAsB,KAAtB,sBAAsB,QAsBjC;AAkED;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,sBAAsB,CAAC"}
1
+ {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"AAyBA,MAAM,CAAN,IAAY,sBAsBX;AAtBD,WAAY,sBAAsB;IAChC;;;;OAIG;IACH,6CAAmB,CAAA;IAEnB;;;;OAIG;IACH,qDAA2B,CAAA;IAE3B;;;;;OAKG;IACH,2CAAiB,CAAA;AACnB,CAAC,EAtBW,sBAAsB,KAAtB,sBAAsB,QAsBjC;AAkED;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,sBAAsB,CAAC","sourcesContent":["export interface ShowActionsOptions {\n /**\n * The title of the Action Sheet.\n *\n * @since 1.0.0\n */\n title?: string;\n\n /**\n * A message to show under the title.\n *\n * This option is only supported on iOS.\n *\n * @since 1.0.0\n */\n message?: string;\n\n /**\n * Options the user can choose from.\n *\n * @since 1.0.0\n */\n options: ActionSheetButton[];\n}\n\nexport enum ActionSheetButtonStyle {\n /**\n * Default style of the option.\n *\n * @since 1.0.0\n */\n Default = 'DEFAULT',\n\n /**\n * Style to use on destructive options.\n *\n * @since 1.0.0\n */\n Destructive = 'DESTRUCTIVE',\n\n /**\n * Style to use on the option that cancels the Action Sheet.\n * If used, should be on the latest availabe option.\n *\n * @since 1.0.0\n */\n Cancel = 'CANCEL',\n}\n\nexport interface ActionSheetButton {\n /**\n * The title of the option\n *\n * @since 1.0.0\n */\n title: string;\n\n /**\n * The style of the option\n *\n * This option is only supported on iOS.\n *\n * @since 1.0.0\n */\n style?: ActionSheetButtonStyle;\n\n /**\n * Icon for the option (ionicon naming convention)\n *\n * This option is only supported on Web.\n *\n * @since 1.0.0\n */\n icon?: string;\n}\n\nexport interface ShowActionsResult {\n /**\n * The index of the clicked option (Zero-based)\n *\n * @since 1.0.0\n */\n index: number;\n}\n\nexport interface ActionSheetPlugin {\n /**\n * Show an Action Sheet style modal with various options for the user\n * to select.\n *\n * @since 1.0.0\n */\n showActions(options: ShowActionsOptions): Promise<ShowActionsResult>;\n}\n\n/**\n * @deprecated Use `ShowActionsOptions`.\n * @since 1.0.0\n */\nexport type ActionSheetOptions = ShowActionsOptions;\n\n/**\n * @deprecated Use `ShowActionsResult`.\n * @since 1.0.0\n */\nexport type ActionSheetResult = ShowActionsResult;\n\n/**\n * @deprecated Use `ActionSheetButton`.\n * @since 1.0.0\n */\nexport type ActionSheetOption = ActionSheetButton;\n\n/**\n * @deprecated Use `ActionSheetButtonStyle`.\n * @since 1.0.0\n */\nexport const ActionSheetOptionStyle = ActionSheetButtonStyle;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,WAAW,GAAG,cAAc,CAAoB,aAAa,EAAE;IACnE,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,cAAc,EAAE,CAAC;CAC7D,CAAC,CAAC;AAEH,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,WAAW,GAAG,cAAc,CAAoB,aAAa,EAAE;IACnE,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,cAAc,EAAE,CAAC;CAC7D,CAAC,CAAC;AAEH,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,CAAC","sourcesContent":["import { registerPlugin } from '@capacitor/core';\n\nimport type { ActionSheetPlugin } from './definitions';\n\nconst ActionSheet = registerPlugin<ActionSheetPlugin>('ActionSheet', {\n web: () => import('./web').then(m => new m.ActionSheetWeb()),\n});\n\nexport * from './definitions';\nexport { ActionSheet };\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAQ5C,MAAM,OAAO,cAAe,SAAQ,SAAS;IAC3C,KAAK,CAAC,WAAW,CAAC,OAA2B;QAC3C,OAAO,IAAI,OAAO,CAAoB,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE;YACzD,IAAI,WAAW,GAAQ,QAAQ,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;YAClE,IAAI,CAAC,WAAW,EAAE;gBAChB,WAAW,GAAG,QAAQ,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;gBACzD,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;aACxC;YACD,WAAW,CAAC,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;YACnC,WAAW,CAAC,UAAU,GAAG,KAAK,CAAC;YAC/B,WAAW,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;YACtC,WAAW,CAAC,gBAAgB,CAAC,aAAa,EAAE,KAAK,EAAE,CAAM,EAAE,EAAE;gBAC3D,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC;gBAC3B,OAAO,CAAC;oBACN,KAAK,EAAE,SAAS;iBACjB,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAQ5C,MAAM,OAAO,cAAe,SAAQ,SAAS;IAC3C,KAAK,CAAC,WAAW,CAAC,OAA2B;QAC3C,OAAO,IAAI,OAAO,CAAoB,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE;YACzD,IAAI,WAAW,GAAQ,QAAQ,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;YAClE,IAAI,CAAC,WAAW,EAAE;gBAChB,WAAW,GAAG,QAAQ,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;gBACzD,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;aACxC;YACD,WAAW,CAAC,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;YACnC,WAAW,CAAC,UAAU,GAAG,KAAK,CAAC;YAC/B,WAAW,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;YACtC,WAAW,CAAC,gBAAgB,CAAC,aAAa,EAAE,KAAK,EAAE,CAAM,EAAE,EAAE;gBAC3D,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC;gBAC3B,OAAO,CAAC;oBACN,KAAK,EAAE,SAAS;iBACjB,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { WebPlugin } from '@capacitor/core';\n\nimport type {\n ActionSheetPlugin,\n ShowActionsResult,\n ShowActionsOptions,\n} from './definitions';\n\nexport class ActionSheetWeb extends WebPlugin implements ActionSheetPlugin {\n async showActions(options: ShowActionsOptions): Promise<ShowActionsResult> {\n return new Promise<ShowActionsResult>((resolve, _reject) => {\n let actionSheet: any = document.querySelector('pwa-action-sheet');\n if (!actionSheet) {\n actionSheet = document.createElement('pwa-action-sheet');\n document.body.appendChild(actionSheet);\n }\n actionSheet.header = options.title;\n actionSheet.cancelable = false;\n actionSheet.options = options.options;\n actionSheet.addEventListener('onSelection', async (e: any) => {\n const selection = e.detail;\n resolve({\n index: selection,\n });\n });\n });\n }\n}\n"]}
@@ -3,7 +3,7 @@ import UIKit
3
3
 
4
4
  @objc public class ActionSheet: NSObject {
5
5
 
6
- @objc public func buildActionSheet(title: String, message: String, actions: [UIAlertAction]) -> UIAlertController {
6
+ @objc public func buildActionSheet(title: String?, message: String?, actions: [UIAlertAction]) -> UIAlertController {
7
7
  let controller = UIAlertController(title: title, message: message, preferredStyle: .actionSheet)
8
8
  for action in actions {
9
9
  controller.addAction(action)
@@ -10,11 +10,8 @@ public class ActionSheetPlugin: CAPPlugin {
10
10
  private let implementation = ActionSheet()
11
11
 
12
12
  @objc func showActions(_ call: CAPPluginCall) {
13
- guard let title = call.options["title"] as? String else {
14
- call.reject("title must be provided")
15
- return
16
- }
17
- let message = call.options["message"] as? String ?? ""
13
+ let title = call.options["title"] as? String
14
+ let message = call.options["message"] as? String
18
15
 
19
16
  let options = call.getArray("options", JSObject.self) ?? []
20
17
  var alertActions = [UIAlertAction]()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/action-sheet",
3
- "version": "1.0.6",
3
+ "version": "4.0.0-beta.0",
4
4
  "description": "The Action Sheet API provides access to native Action Sheets, which come up from the bottom of the screen and display actions a user can take.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "scripts": {
31
31
  "verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
32
- "verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..",
32
+ "verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..",
33
33
  "verify:android": "cd android && ./gradlew clean build test && cd ..",
34
34
  "verify:web": "npm run build",
35
35
  "lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
@@ -45,10 +45,10 @@
45
45
  "publish:cocoapod": "pod trunk push ./CapacitorActionSheet.podspec --allow-warnings"
46
46
  },
47
47
  "devDependencies": {
48
- "@capacitor/android": "^3.0.0",
49
- "@capacitor/core": "^3.0.0",
48
+ "@capacitor/android": "next",
49
+ "@capacitor/core": "next",
50
50
  "@capacitor/docgen": "0.0.18",
51
- "@capacitor/ios": "^3.0.0",
51
+ "@capacitor/ios": "next",
52
52
  "@ionic/eslint-config": "^0.3.0",
53
53
  "@ionic/prettier-config": "~1.0.1",
54
54
  "@ionic/swiftlint-config": "^1.1.2",
@@ -61,7 +61,7 @@
61
61
  "typescript": "~4.1.5"
62
62
  },
63
63
  "peerDependencies": {
64
- "@capacitor/core": "^3.0.0"
64
+ "@capacitor/core": "next"
65
65
  },
66
66
  "prettier": "@ionic/prettier-config",
67
67
  "swiftlint": "@ionic/swiftlint-config",
@@ -79,5 +79,5 @@
79
79
  "publishConfig": {
80
80
  "access": "public"
81
81
  },
82
- "gitHead": "64df93225736e9dfad336562f5e53e5a2243052b"
82
+ "gitHead": "fd7db8285f72990522da0adc889514c9804b6dae"
83
83
  }