* feat(diagnostics): add missing constants and methods for latest plugin version (#4600)
* feat(cordova-plugin-firebase-model): Add new plugin to download and process ML model hosted in firebase. (#4608)
* feat(unvired-cordova-sdk): Add new function to regenrate the JWT Token
* feat(unvired-cordova-sdk): Add couple of properties to login parameters.
* feat(cordova-plugin-firebase-model): Add new plugin for downloading and processing ML model hosted in Firebase.
* fix(cordova-plugin-unvired-sdk): revert last set of changes.
* fix(cordova-plugin-unvired-sdk): Add two new login properties.
* fix(cordova-plugin-firebase-model): Delete the previously added plugin.
* Revert "fix(cordova-plugin-firebase-model): Delete the previously added plugin."
This reverts commit 86f39dc7e8.
* Revert "fix(cordova-plugin-unvired-sdk): Add two new login properties."
This reverts commit a79f31e12e.
* feat(clevertap): support clevertap-cordova 2.7.0 (#4617) [skip ci]
* feat(clevertap): add CleverTap plugin
* style(clevertap): cleanup stray lint error
* refactor
* feat(clevertap): update for latest CleverTap Cordova plugin
* chore: Update Repo from Ionic Native Repo
* fix: Code Changes for parity SDK-155
* fix: Indentation fixes for SDK-155
* fix: Code Repo fix while updating fork branch
* fix: Remove unnecessary adder .scripts Folder
* fix: Remove unwanted added folder .circleci
* fix: Remove unwanted added File .npmrc
* fix: Revert .Github Folder Changes to as per Ionic-Native master
* fix: Update changes as per ionic-native master
* fix: Code Repo fix while updating fork branch
fix: Remove unnecessary adder .scripts Folder
fix: Remove unwanted added folder .circleci
fix: Remove unwanted added File .npmrc
fix: Revert .Github Folder Changes to as per Ionic-Native master
fix: Update changes as per ionic-native master
* fix(CleverTap): Fix for missing methods issue #3491
* refactor(profile): remove setProfile methods for fb and google
* refactor(dynamic variables): remove Product A/B Testing (Dynamic Variables) code
* fix(product config): add key param to product config getters
* feat(identity): add a new public method getCleverTapID and deprecate existing CleverTapID methods
* feat(profile): add public methods to increment/decrement values set via User properties
* feat(profile): add public methods to increment/decrement values set via User properties
* feat(inapp): add public methods for suspending/discarding & resuming InApp Notifications
* feat(inbox): add new api for iOS to delete bulk inbox messages for given message ids
* refactor(xiaomi-push): add region as an extra mandatory parameter to setPushXiaomiToken
* Update index.ts to support cordova 2.7.0
* Update index.ts
---------
Co-authored-by: Peter Wilkniss <peter@clevertap.com>
Co-authored-by: Daniel Sogl <mytechde@outlook.com>
Co-authored-by: Darshan Pania <darshan@clevertap.com>
Co-authored-by: Surya <suryanarayan@clevertap.com>
Co-authored-by: SuryaClevertap <63039490+SuryaClevertap@users.noreply.github.com>
Co-authored-by: Piyush Kukadiya <piyush.kukadiya@clevertap.com>
Co-authored-by: piyush-kukadiya <61137760+piyush-kukadiya@users.noreply.github.com>
* feat(save-dialog): add plugin (#4618)
* smtp-client
* fix plugin ref
* cloud settings
* + save-dialog
---------
Co-authored-by: Daniel Sogl <daniel@sogls.de>
* Change installation example to use plugin author's package ID
(rather than a random fork)
---------
Co-authored-by: Dave Alden <dpa99c@gmail.com>
Co-authored-by: Srinidhi <srinidhi.rao@unvired.com>
Co-authored-by: AishwaryaNanna <97506871+AishwaryaNanna@users.noreply.github.com>
Co-authored-by: Peter Wilkniss <peter@clevertap.com>
Co-authored-by: Darshan Pania <darshan@clevertap.com>
Co-authored-by: Surya <suryanarayan@clevertap.com>
Co-authored-by: SuryaClevertap <63039490+SuryaClevertap@users.noreply.github.com>
Co-authored-by: Piyush Kukadiya <piyush.kukadiya@clevertap.com>
Co-authored-by: piyush-kukadiya <61137760+piyush-kukadiya@users.noreply.github.com>
Co-authored-by: marysuon <marysuon@gmail.com>
* feat(diagnostics): add missing constants and methods for latest plugin version (#4600)
* feat(cordova-plugin-firebase-model): Add new plugin to download and process ML model hosted in firebase. (#4608)
* feat(unvired-cordova-sdk): Add new function to regenrate the JWT Token
* feat(unvired-cordova-sdk): Add couple of properties to login parameters.
* feat(cordova-plugin-firebase-model): Add new plugin for downloading and processing ML model hosted in Firebase.
* fix(cordova-plugin-unvired-sdk): revert last set of changes.
* fix(cordova-plugin-unvired-sdk): Add two new login properties.
* fix(cordova-plugin-firebase-model): Delete the previously added plugin.
* Revert "fix(cordova-plugin-firebase-model): Delete the previously added plugin."
This reverts commit 86f39dc7e8.
* Revert "fix(cordova-plugin-unvired-sdk): Add two new login properties."
This reverts commit a79f31e12e.
* feat(clevertap): support clevertap-cordova 2.7.0 (#4617) [skip ci]
* feat(clevertap): add CleverTap plugin
* style(clevertap): cleanup stray lint error
* refactor
* feat(clevertap): update for latest CleverTap Cordova plugin
* chore: Update Repo from Ionic Native Repo
* fix: Code Changes for parity SDK-155
* fix: Indentation fixes for SDK-155
* fix: Code Repo fix while updating fork branch
* fix: Remove unnecessary adder .scripts Folder
* fix: Remove unwanted added folder .circleci
* fix: Remove unwanted added File .npmrc
* fix: Revert .Github Folder Changes to as per Ionic-Native master
* fix: Update changes as per ionic-native master
* fix: Code Repo fix while updating fork branch
fix: Remove unnecessary adder .scripts Folder
fix: Remove unwanted added folder .circleci
fix: Remove unwanted added File .npmrc
fix: Revert .Github Folder Changes to as per Ionic-Native master
fix: Update changes as per ionic-native master
* fix(CleverTap): Fix for missing methods issue #3491
* refactor(profile): remove setProfile methods for fb and google
* refactor(dynamic variables): remove Product A/B Testing (Dynamic Variables) code
* fix(product config): add key param to product config getters
* feat(identity): add a new public method getCleverTapID and deprecate existing CleverTapID methods
* feat(profile): add public methods to increment/decrement values set via User properties
* feat(profile): add public methods to increment/decrement values set via User properties
* feat(inapp): add public methods for suspending/discarding & resuming InApp Notifications
* feat(inbox): add new api for iOS to delete bulk inbox messages for given message ids
* refactor(xiaomi-push): add region as an extra mandatory parameter to setPushXiaomiToken
* Update index.ts to support cordova 2.7.0
* Update index.ts
---------
Co-authored-by: Peter Wilkniss <peter@clevertap.com>
Co-authored-by: Daniel Sogl <mytechde@outlook.com>
Co-authored-by: Darshan Pania <darshan@clevertap.com>
Co-authored-by: Surya <suryanarayan@clevertap.com>
Co-authored-by: SuryaClevertap <63039490+SuryaClevertap@users.noreply.github.com>
Co-authored-by: Piyush Kukadiya <piyush.kukadiya@clevertap.com>
Co-authored-by: piyush-kukadiya <61137760+piyush-kukadiya@users.noreply.github.com>
* feat(save-dialog): add plugin (#4618)
* smtp-client
* fix plugin ref
* cloud settings
* + save-dialog
---------
Co-authored-by: Daniel Sogl <daniel@sogls.de>
* Update to cordova 5 (#98)
---------
Co-authored-by: Dave Alden <dpa99c@gmail.com>
Co-authored-by: Srinidhi <srinidhi.rao@unvired.com>
Co-authored-by: AishwaryaNanna <97506871+AishwaryaNanna@users.noreply.github.com>
Co-authored-by: Peter Wilkniss <peter@clevertap.com>
Co-authored-by: Darshan Pania <darshan@clevertap.com>
Co-authored-by: Surya <suryanarayan@clevertap.com>
Co-authored-by: SuryaClevertap <63039490+SuryaClevertap@users.noreply.github.com>
Co-authored-by: Piyush Kukadiya <piyush.kukadiya@clevertap.com>
Co-authored-by: piyush-kukadiya <61137760+piyush-kukadiya@users.noreply.github.com>
Co-authored-by: marysuon <marysuon@gmail.com>
Co-authored-by: Cesar de la Vega <cesarvegaro@gmail.com>
Changes:
- added confirmationRequired param to show method to options
- moved plugin errors to a separate enum
- changes some plugin method return values
* chore(deps): bump angular and typescript
- required to enable ivy output & partial compilation mode
* chore(build): enable ivy output & partial compilation mode
- change ngx builds to use ivy
- remove some code that is no longer required with ivy
* add set zoom for Dynamsoft Barcode Scanner
* update Dynamsoft Barcode Scanner to add setFocus
* feat: add rotate scan option and rotation frame result to Dynamsoft Barcode Scanner
* add comments and rename the rotation result for Dynamsoft Barcode Scanner
Added new POST_NOTIFICATIONS, READ_MEDIA_AUDIO, READ_MEDIA_IMAGES, and READ_MEDIA_VIDEO permissions. Adding missing Bluetooth permissions for advertise, connect, and scan.
The Bluetooth permissions are already present in the underlying Cordova plugin. The Android 13 permissions have been submitted to the underlying Cordova plugin as a pull request so may not be present there yet, but match the pull request and the actual underlying permission names found in Android 13.
`useTouchID` is not an optional parameter. When it is not explicitly set, the whole app crashes with this error:
> Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull boolValue]: unrecognized selector sent to instance 0x111f02f08'
This bug is known since November 2018 and likely won't be fixed: https://github.com/ionic-team/cordova-plugin-ios-keychain/issues/34
* feat(urbanairship): Add attributes editing and fix tag editing
* feat(urbanairship): Update for urbanairship 14.0
Co-authored-by: Christian von Rohr <christian.vonrohr@well.ch>
"this.emailComposer.hasClient()" and "this.emailComposer.isAvailable()" method usage is wrong on the official documentation. Please check.
.hasClient and .isAvailable both requires an app name string as the parameter, and they return promises.
The original code of putting the parameter "app" into the "then()" chainable is not correct, as the "then()" only accepts callback functions as parameters.
Tested and proved in visual studio code.
* add chooser actual fork plugin
* * removes base64 functionality as we can use ionic native file plugin to get file directly
* use getFiles
Co-authored-by: Pronin Andrey <a@innoline.pro>
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://ionicworldwide.herokuapp.com/
- [ ] bug report
- [ ] feature request
- [ ] support request => Please do not submit support requests here, use the discussions section https://github.com/danielsogl/awesome-cordova-plugins/discussions
* **deps:** update dependency tslib to v2.6.0 ([#4595](https://github.com/danielsogl/awesome-cordova-plugins/issues/4595)) ([b600651](https://github.com/danielsogl/awesome-cordova-plugins/commit/b600651f02e56e446e49b2ae40418d46e0dca09b))
* **mobile-messaging:** correct return type of submitEvent ([#4564](https://github.com/danielsogl/awesome-cordova-plugins/issues/4564)) ([0527afe](https://github.com/danielsogl/awesome-cordova-plugins/commit/0527afe93578810b4084e0da330574f956b0a7b5))
* **mobile-messaging:** fix event (un)register and saveUser ([#4569](https://github.com/danielsogl/awesome-cordova-plugins/issues/4569)) ([fbd523f](https://github.com/danielsogl/awesome-cordova-plugins/commit/fbd523f36a7214b1e933cca8765fece744ea8192))
### Features
* **cashfree-pg:** support cordova-plugin-cashfree-pg 1.0.2 ([#4572](https://github.com/danielsogl/awesome-cordova-plugins/issues/4572)) ([8047c9a](https://github.com/danielsogl/awesome-cordova-plugins/commit/8047c9ad5203f9d6b53a663907c5f07c24fe565b))
* **http:** onProgress param to sendRequest method ([#4512](https://github.com/danielsogl/awesome-cordova-plugins/issues/4512)) ([4cd48b4](https://github.com/danielsogl/awesome-cordova-plugins/commit/4cd48b4d0e72770962857c96c001c5597b504772))
* **zip:** add callback param so the progress function can be calleds ([#4519](https://github.com/danielsogl/awesome-cordova-plugins/issues/4519)) ([f9110cb](https://github.com/danielsogl/awesome-cordova-plugins/commit/f9110cb4295b964ce89aef8fe3c56e71a09bb320))
* **chooser:** Update for support android 11+ ([#4436](https://github.com/danielsogl/awesome-cordova-plugins/issues/4436)) ([ba37646](https://github.com/danielsogl/awesome-cordova-plugins/commit/ba37646fc4b7cc86b497affa0ef932ad374b9080))
* **power-management:** add power management support ([#4443](https://github.com/danielsogl/awesome-cordova-plugins/issues/4443)) ([b283dc2](https://github.com/danielsogl/awesome-cordova-plugins/commit/b283dc2e761dd897556a8ed955a312b663ca9c5e))
* **bluetooth-le:** use correct return types ([#4411](https://github.com/danielsogl/awesome-cordova-plugins/issues/4411)) ([2d347e4](https://github.com/danielsogl/awesome-cordova-plugins/commit/2d347e46edb47a13e662e55ae8c126021a54ea85))
* **deps:** update dependency tslib to v2.4.1 ([#4413](https://github.com/danielsogl/awesome-cordova-plugins/issues/4413)) ([e90a6a3](https://github.com/danielsogl/awesome-cordova-plugins/commit/e90a6a306c24bf5b58ff2419fe1e8fea73c62472))
* **diagnostic:** add getBluetoothAuthorizationStatus function ([#4398](https://github.com/danielsogl/awesome-cordova-plugins/issues/4398)) ([c544b43](https://github.com/danielsogl/awesome-cordova-plugins/commit/c544b43a5198566b2e56a0c3e0bbeb74e5527f0e))
* **diagnostic:** add new Android runtime permissions for Bluetooth ([#4402](https://github.com/danielsogl/awesome-cordova-plugins/issues/4402)) ([6a97dc5](https://github.com/danielsogl/awesome-cordova-plugins/commit/6a97dc5e07ace559b766482ca1ee1a187ffb5d0c))
### Features
* **ble:** add wrapper for starting location notifications ([#4399](https://github.com/danielsogl/awesome-cordova-plugins/issues/4399)) ([755b28e](https://github.com/danielsogl/awesome-cordova-plugins/commit/755b28e32534d75a6f8079b9be5a8e1b81aef636))
* **device:** detect if app is running on a macOS desktop with Apple Silicon ([#4299](https://github.com/danielsogl/awesome-cordova-plugins/issues/4299)) ([af55cb2](https://github.com/danielsogl/awesome-cordova-plugins/commit/af55cb25fa39146c0ed79d94e3805a401b881cc2))
* **sms-retriever:** update startWatching result type ([#4309](https://github.com/danielsogl/awesome-cordova-plugins/issues/4309)) ([178489f](https://github.com/danielsogl/awesome-cordova-plugins/commit/178489ffaae6ad256ca1536bc79e63354c72516f))
* **lets-cooee:** add event observer and installation documentation ([#4278](https://github.com/danielsogl/awesome-cordova-plugins/issues/4278)) ([aef160e](https://github.com/danielsogl/awesome-cordova-plugins/commit/aef160e4180d28598a8ef25c75cd8057dd59f81f))
* **unvired-cordova-sdk:** Add new function to regenrate the JWT Token ([#4291](https://github.com/danielsogl/awesome-cordova-plugins/issues/4291)) ([678fb71](https://github.com/danielsogl/awesome-cordova-plugins/commit/678fb71a7f4cf1ad34c2746fdaa3690a13df4fe4))
* **deps:** update dependency tslib to v2.4.0 ([#4154](https://github.com/danielsogl/awesome-cordova-plugins/issues/4154)) ([bae0a8d](https://github.com/danielsogl/awesome-cordova-plugins/commit/bae0a8dbc85fb751470365080b1a35689d9d6be4))
* **keychain:** mark useTouchID as required ([#4182](https://github.com/danielsogl/awesome-cordova-plugins/issues/4182)) ([6b2c1fd](https://github.com/danielsogl/awesome-cordova-plugins/commit/6b2c1fd32e068a25dccd0f9fda5357fdc9eb7c26))
* **http:** add set client auth mode method ([#4100](https://github.com/danielsogl/awesome-cordova-plugins/issues/4100)) ([04fdacc](https://github.com/danielsogl/awesome-cordova-plugins/commit/04fdacc22feba4eedf14c76b0a9c408ec1ee1bdf))
* **star-prnt:** allow null port for print methods and openCashDrawer ([#4095](https://github.com/danielsogl/awesome-cordova-plugins/issues/4095)) ([a17dba1](https://github.com/danielsogl/awesome-cordova-plugins/commit/a17dba1f8b6570d76d5c8a30f437edb2dca9abea))
* **urbanairship:** new functions for version cordova-urbanairship 14.0 ([#4097](https://github.com/danielsogl/awesome-cordova-plugins/issues/4097)) ([12ef7ac](https://github.com/danielsogl/awesome-cordova-plugins/commit/12ef7ac215f1f9cf718a004fae9e7f4d01f597b8))
* **clevertap:** support new clevertap changes ([#4011](https://github.com/danielsogl/awesome-cordova-plugins/issues/4011)) ([24c61a5](https://github.com/danielsogl/awesome-cordova-plugins/commit/24c61a50a76cc174245624ea71f21bf0f556a317)), closes [#3491](https://github.com/danielsogl/awesome-cordova-plugins/issues/3491)
* **sumup:** add test and setup function ([#3950](https://github.com/danielsogl/awesome-cordova-plugins/issues/3950)) ([7350c63](https://github.com/danielsogl/awesome-cordova-plugins/commit/7350c630fea4db8c31a07f46b4464bab2f1b55e4))
@@ -10,7 +10,7 @@ To learn more about the reasons why Ionic Native was renamed to Awesome Cordova
## Capacitor Support
In addition to Cordova, Awesome Cordova Plugins also works with [Capacitor](https://capacitor.ionicframework.com), Ionic's official native runtime. Basic usage below. For complete details, [see the Capacitor documentation](https://capacitor.ionicframework.com/docs/cordova/using-cordova-plugins).
In addition to Cordova, Awesome Cordova Plugins also works with [Capacitor](https://capacitorjs.com), Ionic's official native runtime. Basic usage below. For complete details, [see the Capacitor documentation](https://capacitorjs.com/docs/v2/cordova/using-cordova-plugins).
The Brightness plugin let you control the display brightness of your device.
Requires Cordova plugin: `cordova-plugin-brightness`. For more info, please see the [Brightness plugin docs](https://github.com/mgcrea/cordova-plugin-brightness).
This plugin provides an interface to in-app browser tabs that exist on some mobile platforms, specifically [Custom Tabs](http://developer.android.com/tools/support-library/features.html#custom-tabs) on Android (including the [Chrome Custom Tabs](https://developer.chrome.com/multidevice/android/customtabs) implementation), and [SFSafariViewController](https://developer.apple.com/library/ios/documentation/SafariServices/Reference/SFSafariViewController_Ref/) on iOS.
This plugin provides an interface to in-app browser tabs that exist on some mobile platforms, specifically [Custom Tabs](http://developer.android.com/tools/support-library/features.html#custom-tabs) on Android (including the [Chrome Custom Tabs](https://developer.chrome.com/multidevice/android/customtabs) implementation), and [SFSafariViewController](https://developer.apple.com/library/ios/documentation/SafariServices/Reference/SFSafariViewController_Ref/) on iOS.
At this point you'll need to open your project's [`config.xml`](https://cordova.apache.org/docs/en/latest/config_ref/index.html) file, found in the root directory of your project.
Use the Facebook SDK plugin to obtain access to the native FB application on iOS and Android.
Requires Cordova plugin: `cordova-plugin-fbsdk`. For more info, please see the [Facebook SDK](https://github.com/MaximBelov/cordova-plugin-fbsdk).
#### Installation
To use the FB plugin, you first have to create a new Facebook App inside of the Facebook developer portal at [https://developers.facebook.com/apps](https://developers.facebook.com/apps).
At this point you'll need to open your project's [`config.xml`](https://cordova.apache.org/docs/en/latest/config_ref/index.html) file, found in the root directory of your project.
And that's it! You can now make calls to Facebook using the plugin.
## Events
App events allow you to understand the makeup of users engaging with your app, measure the performance of your Facebook mobile app ads, and reach specific sets of your users with Facebook mobile app ads.
@@ -13,7 +13,7 @@ Get and set data in the iOS Keychain
Requires Cordova plugin: `cordova-plugin-ios-keychain`. For more info, please see the [Keychain plugin docs](https://github.com/ionic-team/cordova-plugin-ios-keychain).
See also [Secure Storage](https://ionicframework.com/docs/native/secure-storage/) for more supported platforms.
See also [Secure Storage](https://ionic.io/docs/secure-storage) for more supported platforms.
Requires Cordova plugin: `cordova-plugin-magnetometer`. For more info, please see the [Device Orientation docs](https://github.com/sdesalas/cordova-plugin-magnetometer).
This plugin exposes information on the status of various accessibility features of mobile operating systems, including, for example, whether a screen reader is running, invert colors is enabled, and the preferred scaling for text.
It also allows an application to send a string to be spoken by the screen reader, or a command to stop the screen reader from speaking.
This plugin provides a TypeScript wrapper around the [Tealium](https://www.tealium.com) Cordova plugin for Ionic Native.
This plugin does provides a wrapper around the Tealium Cordova Plugin for Ionic Native.
For full documentation, see [https://community.tealiumiq.com/t5/Mobile-Libraries/Tealium-for-Cordova/ta-p/17618](https://community.tealiumiq.com/t5/Mobile-Libraries/Tealium-for-Cordova/ta-p/17618)
For full documentation, see [https://docs.tealium.com/platforms/cordova/](https://docs.tealium.com/platforms/cordova/)
@@ -619,7 +652,7 @@ export class Adjust extends AwesomeCordovaNativePlugin {
gdprForgetMe():void{}
/**
* You can now notify Adjust when a user has exercised their right to stop sharing their data with partners for marketing purposes, but has allowed it to be shared for statistics purposes.
* You can now notify Adjust when a user has exercised their right to stop sharing their data with partners for marketing purposes, but has allowed it to be shared for statistics purposes.
* Calling the following method will instruct the Adjust SDK to communicate the user's choice to disable data sharing to the Adjust backend
*/
@Cordova({sync: true})
@@ -666,6 +699,12 @@ export class Adjust extends AwesomeCordovaNativePlugin {
return;
}
/**
* Instruct to Adjust SDK to check current state of att_status
*/
@Cordova({sync: true})
checkForNewAttStatus():void{}
/**
* If you want to access information about a user's current attribution whenever you need it, you can make a call to this function
*
@@ -766,4 +805,14 @@ export class Adjust extends AwesomeCordovaNativePlugin {
* On which Screen the Picker should be started (iOS only)
* default: "LIBRARY"
*/
startOnScreen?:'LIBRARY'|'IMAGE'|'VIDEO';
/**
* Date format of the Scroll Indicator (Android only)
* default: "YYYY.MM"
*/
scrollIndicatorDateFormat?: string;
/**
* Show Title (Android only)
* default: true
*/
showTitle?: boolean;
/**
* Customize the Title (Android only)
* default: "Select Image"
*/
title?: string;
/**
* Show the zoomIndicator at the Images (Android only)
* default: true
*/
zoomIndicator?: boolean;
/**
* Min Count of files to be selected
* default: 0 (android), 1 (iOS)
*/
min?: number;
/**
* Message to be shown if min Count not reached (Android only)
* default: "You need to select a minimum of ... pictures")"
*/
minCountMessage?: string;
/**
* Max Count of files can selected
* default: 0 (android), 1 (iOS)
*/
max?: number;
/**
* Message to be shown if max Count is reached
* default: "You can select a maximum of ... pictures"
*/
maxCountMessage?: string;
/**
* Change Done Button Text
*/
buttonText?: string;
/**
* Show Library as Dropdown (Android only)
* default: false
*/
asDropdown?: boolean;
/**
* Return the Result as base64
* default: false
*/
asBase64?: boolean;
/**
* Return the Image as JPEG
* default: false
*/
asJpeg?: boolean;
/**
* Video Compression Option (iOS only)
* available options: https://github.com/Yummypets/YPImagePicker/blob/23158e138bd649b40762bf2e4aa4beb0d463a121/Source/Configuration/YPImagePickerConfiguration.swift#L226-L240
* default: AVAssetExportPresetHighestQuality
*/
videoCompression?: string;
}
interfaceResult{
type:'image'|'video';
isBase64: boolean;
src: string;
}
exportenumErrorCodes{
UnsupportedAction=1,
WrongJsonObject=2,
PickerCanceled=3,
UnknownError=10,
}
/**
* Used for every Plugin Error Callback
*/
interfaceAdvancedImagePickerError{
/**
* One of the AdvancedImagePickerErrorCodes
*/
code: ErrorCodes;
/**
* If available some more info (mostly exception message)
*/
message: string;
}
/**
* @name AdvancedImagePicker
* @description
* This Cordova Plugin is for a better (multiple) ImagePicker with more options.
*
* @usage
* ```typescript
* import { AdvancedImagePicker } from '@awesome-cordova-plugins/advanced-image-picker/npx';
* The Brightness plugin let you control the display brightness of your device.
*
* Requires Cordova plugin: `cordova-plugin-brightness`. For more info, please see the [Brightness plugin docs](https://github.com/mgcrea/cordova-plugin-brightness).
*
* @usage
* ```typescript
* import { Brightness } from '@awesome-cordova-plugins/brightness/ngx';
* This plugin provides an interface to in-app browser tabs that exist on some mobile platforms, specifically [Custom Tabs](http://developer.android.com/tools/support-library/features.html#custom-tabs) on Android (including the [Chrome Custom Tabs](https://developer.chrome.com/multidevice/android/customtabs) implementation), and [SFSafariViewController](https://developer.apple.com/library/ios/documentation/SafariServices/Reference/SFSafariViewController_Ref/) on iOS.
*
* @usage
* ```typescript
* import { BrowserTab } from '@awesome-cordova-plugins/browser-tab/ngx';
*
* constructor(private browserTab: BrowserTab) {
*
* browserTab.isAvailable()
* .then(isAvailable => {
* if (isAvailable) {
* browserTab.openUrl('https://ionic.io');
* } else {
* // open URL with InAppBrowser instead or SafariViewController
@@ -143,6 +162,25 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
POWERING_OFF: string;
};
@CordovaProperty()
cpuArchitecture:{
MIPS: string;
MIPS_64: string;
UNKNOWN: string;
ARMv6: string;
ARMv7: string;
ARMv8: string;
X86: string;
X86_64: string;
};
@CordovaProperty()
remoteNotificationType:{
ALERT: string;
SOUND: string;
BADGE: string;
};
@CordovaProperty()
motionStatus:{
NOT_REQUESTED: string;
@@ -154,6 +192,18 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
UNKNOWN: string;
};
/**
* Access to the photo library (iOS 14+)
*
* ADD_ONLY - can add to but not read from Photo Library
* READ_WRITE - can both add to and read from Photo Library
*
*/
photoLibraryAccessLevel={
ADD_ONLY:'add_only',
READ_WRITE:'read_write',
};
/**
* Checks if app is able to access device location.
*
@@ -257,8 +307,18 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
return;
}
// ANDROID AND IOS ONLY
/**
* Enables debug mode, which logs native plugin debug messages to the native and JS consoles.
* Debug mode is initially disabled on plugin initialisation.
*/
@Cordova({platforms:['Android','iOS']})
enableDebug():Promise<void>{
return;
}
/**
* Returns true if the device setting for location is on. On Android this returns true if Location Mode is switched on. On iOS this returns true if Location Services is switched on.
*
@@ -290,15 +350,27 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
return;
}
/**
* Returns the individual location authorization status for each type of location access (FINE, COARSE and BACKGROUND).
*
* @returns {Promise<any>}
*/
@Cordova({platforms:['Android','iOS']})
getLocationAuthorizationStatuses():Promise<any>{
return;
}
/**
* Returns the location authorization status for the application.
* Note for Android: this is intended for Android 6 / API 23 and above. Calling on Android 5 / API 22 and below will always return GRANTED status as permissions are already granted at installation time.
*
* @param {string} [mode] iOS only: location authorization mode: "always" or "when_in_use". If not specified, defaults to "when_in_use".
* @param {string} [mode] location authorization mode: "always" or "when_in_use". If not specified, defaults to "when_in_use". (this.locationAuthorizationMode)
* @param {string} [accuracy] requested location accuracy: "full" or "reduced". If not specified, defaults to "full". (this.locationAccuracyAuthorization)
* Returns the current battery level of the device as a percentage.
*
* @returns {Promise<any>}
*/
@Cordova({platforms:['Android','iOS']})
getCurrentBatteryLevel():Promise<any>{
return;
}
// ANDROID ONLY
/**
* Restarts the application.
* By default, a "warm" restart will be performed in which the main Cordova activity is immediately restarted, causing the Webview instance to be recreated.
* However, if the `cold` parameter is set to true, then the application will be "cold" restarted, meaning a system exit will be performed, causing the entire application to be restarted.
* This is useful if you want to fully reset the native application state but will cause the application to briefly disappear and re-appear..
* Checks if high-accuracy locations are available to the app from GPS hardware.
* Returns true if Location mode is enabled and is set to "Device only" or "High accuracy" AND if the app is authorized to use location.
@@ -548,6 +654,26 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
return;
}
/**
* Checks if airplane mode is enabled on device.
*
* @returns {Promise<any>}
*/
@Cordova({platforms:['Android']})
isAirplaneModeEnabled():Promise<any>{
return;
}
/**
* Checks if mobile data is enabled on device.
*
* @returns {Promise<any>}
*/
@Cordova({platforms:['Android']})
isMobileDataEnabled():Promise<any>{
return;
}
/**
* Returns the current location mode setting for the device.
*
@@ -558,6 +684,26 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
return;
}
/**
* Returns details of the OS of the device on which the app is currently running
*
* @returns {Promise<any>}
*/
@Cordova({platforms:['Android']})
getDeviceOSVersion():Promise<any>{
return;
}
/**
* Returns details of the SDK levels used to build the app.
*
* @returns {Promise<any>}
*/
@Cordova({platforms:['Android']})
getBuildOSVersion():Promise<any>{
return;
}
/**
* Returns the current authorization status for a given permission.
* Note: this is intended for Android 6 / API 23 and above. Calling on Android 5 / API 22 and below will always return GRANTED status as permissions are already granted at installation time.
@@ -671,6 +817,27 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
return;
}
/**
* Returns the Bluetooth authorization status of the application on the device.
*
* @returns {Promise<any>}
*/
@Cordova({platforms:['Android','iOS']})
getBluetoothAuthorizationStatus():Promise<any>{
return;
}
/**
* Returns the individual authorization status for each Bluetooth run-time permission on Android 12+ / API 31+
* On Android 11 / API 30 and below, all will be returned as GRANTED if the manifest has BLUETOOTH since they are implicitly granted at build-time.
*
* @returns {Promise<any>}
*/
@Cordova({platforms:['Android']})
getBluetoothAuthorizationStatuses():Promise<any>{
return;
}
/**
* Checks if the application is authorized to use external storage.
*
@@ -814,20 +981,34 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
/**
* Checks if the application is authorized to use the Camera Roll in Photos app.
*
* @param accessLevel - (optional) On iOS 14+, specifies the level of access to the photo library to query as a constant in cordova.plugins.diagnostic.photoLibraryAccessLevel`
* Possible values are:
* ADD_ONLY - can add to but not read from Photo Library
* READ_WRITE - can both add to and read from Photo Library
* Returns the authorization status for the application to use the Camera Roll in Photos app.
*
* @param accessLevel - (optional) On iOS 14+, specifies the level of access to the photo library to query as a constant in cordova.plugins.diagnostic.photoLibraryAccessLevel`
* Possible values are:
* ADD_ONLY - can add to but not read from Photo Library
* READ_WRITE - can both add to and read from Photo Library
@@ -836,10 +1017,27 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
* Should only be called if authorization status is NOT_REQUESTED.
* Calling it when in any other state will have no effect.
*
* @param accessLevel - (optional) On iOS 14+, specifies the level of access to the photo library to query as a constant in cordova.plugins.diagnostic.photoLibraryAccessLevel`
* Possible values are:
* ADD_ONLY - can add to but not read from Photo Library
* READ_WRITE - can both add to and read from Photo Library
@@ -1006,13 +1204,13 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
}
/**
* Returns the location accuracy authorization for the application on iOS 14+. Note: calling on iOS <14 will result in the Promise being rejected.
* Returns the location accuracy authorization for the application on iOS 14+ and Android 12+. Note: calling on iOS <14 or Android <12 will always return cordova.plugins.diagnostic.locationAccuracyAuthorization.FULL
*
* Learn more about this method [here](https://github.com/dpa99c/cordova-diagnostic-plugin#getlocationaccuracyauthorization)
* At this point you'll need to open your project's [`config.xml`](https://cordova.apache.org/docs/en/latest/config_ref/index.html) file, found in the root directory of your project.
* Use the Facebook SDK plugin to obtain access to the native FB application on iOS and Android.
*
* Requires Cordova plugin: `cordova-plugin-fbsdk`. For more info, please see the [Facebook SDK](https://github.com/MaximBelov/cordova-plugin-fbsdk).
*
* #### Installation
*
* To use the FB plugin, you first have to create a new Facebook App inside of the Facebook developer portal at [https://developers.facebook.com/apps](https://developers.facebook.com/apps).
* At this point you'll need to open your project's [`config.xml`](https://cordova.apache.org/docs/en/latest/config_ref/index.html) file, found in the root directory of your project.
* And that's it! You can now make calls to Facebook using the plugin.
*
* ## Events
*
* App events allow you to understand the makeup of users engaging with your app, measure the performance of your Facebook mobile app ads, and reach specific sets of your users with Facebook mobile app ads.
* @param {string[]} permissions List of [permissions](https://developers.facebook.com/docs/facebook-login/limited-login/permissions) this app has upon logging in.
* @returns {Promise<FbSdkLoginResponse>} Returns a Promise that resolves with a status object if login succeeds, and rejects if login fails.
* Check if the user has approved all necessary permissions
*
* @param {string[]} permissions List of [permissions](https://developers.facebook.com/docs/facebook-login/permissions) to check for
* @returns {Promise<string>} Returns a Promise that resolves with a success string if all passed permissions are granted, or an error string if any permissions are not granted
* For more info see the [Facebook docs](https://developers.facebook.com/docs/reference/javascript/FB.logout)
*
* @returns {Promise<any>} Returns a Promise that resolves on a successful logout, and rejects if logout fails.
*/
@Cordova()
logout():Promise<any>{
return;
}
/**
* Determine if a user is logged in to Facebook and has authenticated your app. There are three possible states for a user:
*
* 1) the user is logged into Facebook and has authenticated your application (connected)
* 2) the user is logged into Facebook but has not authenticated your application (not_authorized)
* 3) the user is either not logged into Facebook or explicitly logged out of your application so it doesn't attempt to connect to Facebook and thus, we don't know if they've authenticated your application or not (unknown)
* For more information see the [Facebook docs](https://developers.facebook.com/docs/reference/javascript/FB.getLoginStatus)
*
* @returns {Promise<any>} Returns a Promise that resolves with a status, or rejects with an error
*/
@Cordova()
getLoginStatus():Promise<any>{
return;
}
/**
* Get a Facebook access token for using Facebook services.
*
* @returns {Promise<string>} Returns a Promise that resolves with an access token, or rejects with an error
*/
@Cordova()
getAccessToken():Promise<string>{
return;
}
/**
* Get profile information for the currently logged in user
*
* @returns {Promise<any>} Returns a Promise that resolves with success data, or rejects with an error
*/
@Cordova()
getCurrentProfile():Promise<any>{
return;
}
/**
* Show one of various Facebook dialogs. Example of options for a Share dialog:
*
* ```
* {
* method: 'share',
* href: 'http://example.com'
* }
* ```
*
* For more options see the [Cordova plugin docs](https://github.com/MaximBelov/cordova-plugin-fbsdk#show-a-dialog) and the [Facebook docs](https://developers.facebook.com/docs/javascript/reference/FB.ui)
*
* @param {Object} options The dialog options
* @returns {Promise<any>} Returns a Promise that resolves with success data, or rejects with an error
*/
@Cordova()
showDialog(options: any):Promise<any>{
return;
}
/**
* Make a call to Facebook Graph API. Can take additional permissions beyond those granted on login.
*
* For more information see:
*
* Calling the Graph API - https://developers.facebook.com/docs/javascript/reference/FB.api
* Graph Explorer - https://developers.facebook.com/tools/explorer
* Graph API - https://developers.facebook.com/docs/graph-api
*
* @param {string} requestPath Graph API endpoint you want to call
* @param {string[]} permissions List of [permissions](https://developers.facebook.com/docs/facebook-login/permissions) for this request.
* @param {string} httpMethod HTTP method for the request, one of "GET", "POST", or "DELETE" (default is "GET")
* @returns {Promise<any>} Returns a Promise that resolves with the result of the request, or rejects with an error
* NOTE: on iOS in order to collect demographic, age, gender data etc. you should additionally include AdSupport.framework into your project.
*
* ## Using capacitor?
* For Android you'll have to add in __android/app/src/main/AndroidManfiest.xml__ under `<application>`
* For Android you'll have to add in __android/app/src/main/AndroidManifest.xml__ under `<application>`
* ```
* <meta-data
* tools:replace="android:value"
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.