@capacitor/cli 8.3.6 → 8.3.8
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/assets/android-template.tar.gz +0 -0
- package/assets/capacitor-cordova-android-plugins.tar.gz +0 -0
- package/assets/capacitor-cordova-ios-plugins.tar.gz +0 -0
- package/assets/ios-pods-template.tar.gz +0 -0
- package/assets/ios-spm-template.tar.gz +0 -0
- package/dist/declarations.d.ts +40 -0
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/declarations.d.ts
CHANGED
|
@@ -672,9 +672,25 @@ export interface PluginsConfig {
|
|
|
672
672
|
/**
|
|
673
673
|
* Enable CapacitorCookies to override the global `document.cookie` on native.
|
|
674
674
|
*
|
|
675
|
+
* This only controls the patching. The plugin's own methods work either
|
|
676
|
+
* way; use `disabled` to stop the plugin from loading.
|
|
677
|
+
*
|
|
675
678
|
* @default false
|
|
676
679
|
*/
|
|
677
680
|
enabled?: boolean;
|
|
681
|
+
/**
|
|
682
|
+
* Prevent the plugin from loading on iOS and Android, so its methods fail
|
|
683
|
+
* as unimplemented. Takes precedence over `enabled`. The plugin's native
|
|
684
|
+
* code stays in the app binary.
|
|
685
|
+
*
|
|
686
|
+
* On Android, this also stops sharing cookies between the web view and
|
|
687
|
+
* native requests made with `HttpURLConnection`, such as `CapacitorHttp`
|
|
688
|
+
* or plugins that download files.
|
|
689
|
+
*
|
|
690
|
+
* @since 8.3.8
|
|
691
|
+
* @default false
|
|
692
|
+
*/
|
|
693
|
+
disabled?: boolean;
|
|
678
694
|
};
|
|
679
695
|
/**
|
|
680
696
|
* Capacitor Http plugin configuration
|
|
@@ -685,9 +701,21 @@ export interface PluginsConfig {
|
|
|
685
701
|
/**
|
|
686
702
|
* Enable CapacitorHttp to override the global `fetch` and `XMLHttpRequest` on native.
|
|
687
703
|
*
|
|
704
|
+
* This only controls the patching. The plugin's own methods work either
|
|
705
|
+
* way; use `disabled` to stop the plugin from loading.
|
|
706
|
+
*
|
|
688
707
|
* @default false
|
|
689
708
|
*/
|
|
690
709
|
enabled?: boolean;
|
|
710
|
+
/**
|
|
711
|
+
* Prevent the plugin from loading on iOS and Android, so its methods fail
|
|
712
|
+
* as unimplemented. Takes precedence over `enabled`. The plugin's native
|
|
713
|
+
* code stays in the app binary.
|
|
714
|
+
*
|
|
715
|
+
* @since 8.3.8
|
|
716
|
+
* @default false
|
|
717
|
+
*/
|
|
718
|
+
disabled?: boolean;
|
|
691
719
|
};
|
|
692
720
|
/**
|
|
693
721
|
* System Bars plugin configuration
|
|
@@ -730,5 +758,17 @@ export interface PluginsConfig {
|
|
|
730
758
|
*
|
|
731
759
|
*/
|
|
732
760
|
animation?: 'FADE' | 'NONE';
|
|
761
|
+
/**
|
|
762
|
+
* Prevent the plugin from loading on iOS and Android, so its methods fail
|
|
763
|
+
* as unimplemented and the other options above are ignored. The plugin's
|
|
764
|
+
* native code stays in the app binary.
|
|
765
|
+
*
|
|
766
|
+
* On Android, this also turns off safe area insets handling, as with
|
|
767
|
+
* `insetsHandling: 'disable'`.
|
|
768
|
+
*
|
|
769
|
+
* @since 8.3.8
|
|
770
|
+
* @default false
|
|
771
|
+
*/
|
|
772
|
+
disabled?: boolean;
|
|
733
773
|
};
|
|
734
774
|
}
|
package/package.json
CHANGED