mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-18 16:02:53 +08:00
Add premier and capIncompat metadata to plugins
This commit is contained in:
parent
1567e8ff2f
commit
1f678a0ad8
@ -15,6 +15,8 @@ interface Plugin {
|
||||
cordovaPlugin: {
|
||||
name: string;
|
||||
};
|
||||
premierSlug: string;
|
||||
capacitorIncompatible: boolean;
|
||||
}
|
||||
|
||||
const rootDir = resolve(__dirname, '../..');
|
||||
@ -55,6 +57,9 @@ function processPlugin(pluginModule): Plugin {
|
||||
const displayName = getTag(pluginClass, 'name');
|
||||
const usage = getTag(pluginClass, 'usage');
|
||||
const description = getTag(pluginClass, 'description');
|
||||
const premierSlug = getTag(pluginClass, 'premier');
|
||||
const capIncompat = getTag(pluginClass, 'capacitorincompatible');
|
||||
const capacitorIncompatible = capIncompat ? true : undefined;
|
||||
return {
|
||||
packageName,
|
||||
displayName,
|
||||
@ -66,6 +71,8 @@ function processPlugin(pluginModule): Plugin {
|
||||
cordovaPlugin: {
|
||||
name: decorator.plugin,
|
||||
},
|
||||
premierSlug,
|
||||
capacitorIncompatible,
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -100,6 +100,7 @@ export interface AdExtras {
|
||||
/**
|
||||
* @paid
|
||||
* @name AdMob Pro
|
||||
* @capacitorincompatible true
|
||||
* @description
|
||||
* Plugin for Google Ads, including AdMob / DFP (DoubleClick for publisher) and mediations to other Ad networks.
|
||||
*
|
||||
|
@ -3,6 +3,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
|
||||
/**
|
||||
* @name Android Permissions
|
||||
* @premier android-permissions
|
||||
* @description
|
||||
* This plugin is designed to support Android new permissions checking mechanism.
|
||||
*
|
||||
|
@ -133,6 +133,7 @@ export interface AppUrls {
|
||||
|
||||
/**
|
||||
* @name App Rate
|
||||
* @premier app-rate
|
||||
* @description
|
||||
* The AppRate plugin makes it easy to prompt the user to rate your app, either now, later, or never.
|
||||
*
|
||||
|
@ -3,6 +3,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
|
||||
/**
|
||||
* @name App Version
|
||||
* @premier app-version
|
||||
* @description
|
||||
* Reads the version of your app from the target build settings.
|
||||
*
|
||||
|
@ -33,6 +33,7 @@ export interface WatchExistData {
|
||||
|
||||
/**
|
||||
* @name Apple Wallet
|
||||
* @premier apple-payment-pass
|
||||
* @description
|
||||
* A Cordova plugin that enables users from Add Payment Cards to their Apple Wallet.
|
||||
*
|
||||
|
@ -3,6 +3,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
|
||||
/**
|
||||
* @name Badge
|
||||
* @premier badge
|
||||
* @description
|
||||
* The essential purpose of badge numbers is to enable an application to inform its users that it has something for them — for example, unread messages — when the application isn’t running in the foreground.
|
||||
*
|
||||
|
@ -136,6 +136,7 @@ export interface PaymentUIResult {
|
||||
|
||||
/**
|
||||
* @name Braintree
|
||||
* @capacitorincompatible true
|
||||
* @description
|
||||
* This plugin enables the use of the Braintree Drop-In Payments UI in your Ionic applications on Android and iOS, using the native Drop-In UI for each platform (not the Javascript SDK).
|
||||
*
|
||||
|
@ -58,6 +58,7 @@ export interface NameOrOptions {
|
||||
|
||||
/**
|
||||
* @name Calendar
|
||||
* @premier calendar
|
||||
* @description
|
||||
* This plugin allows you to add events to the Calendar of the mobile device.
|
||||
*
|
||||
|
@ -123,6 +123,7 @@ export enum Direction {
|
||||
|
||||
/**
|
||||
* @name Camera
|
||||
* @premier camera
|
||||
* @description
|
||||
* Take a photo or capture video.
|
||||
*
|
||||
|
@ -2,6 +2,7 @@ import { Injectable } from '@angular/core';
|
||||
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
/**
|
||||
* @name Clipboard
|
||||
* @premier clipboard
|
||||
* @description
|
||||
* Clipboard management plugin for Cordova that supports iOS, Android, and Windows Phone 8.
|
||||
*
|
||||
|
@ -300,6 +300,7 @@ export class ContactFindOptions implements IContactFindOptions {
|
||||
|
||||
/**
|
||||
* @name Contacts
|
||||
* @premier contacts
|
||||
* @description
|
||||
* Access and manage Contacts on the device.
|
||||
*
|
||||
|
@ -30,6 +30,7 @@ export interface DeeplinkOptions {
|
||||
|
||||
/**
|
||||
* @name Deeplinks
|
||||
* @premier deeplinks
|
||||
* @description This plugin handles deeplinks on iOS and Android for both custom URL scheme links
|
||||
* and Universal App Links.
|
||||
*
|
||||
|
@ -11,6 +11,7 @@ export interface DeviceFeedbackStatus {
|
||||
|
||||
/**
|
||||
* @name Device Feedback
|
||||
* @premier vibration
|
||||
* @description
|
||||
*
|
||||
* Plugin that lets you provide haptic or acoustic feedback on Android devices.
|
||||
|
@ -5,6 +5,7 @@ declare const window: any;
|
||||
|
||||
/**
|
||||
* @name Device
|
||||
* @premier device
|
||||
* @description
|
||||
* Access information about the underlying device and platform.
|
||||
*
|
||||
|
@ -15,6 +15,7 @@ export interface DialogsPromptCallback {
|
||||
|
||||
/**
|
||||
* @name Dialogs
|
||||
* @premier dialogs
|
||||
* @description
|
||||
* This plugin gives you ability to access and customize the device native dialogs.
|
||||
*
|
||||
|
@ -50,6 +50,7 @@ export interface EmailComposerOptions {
|
||||
|
||||
/**
|
||||
* @name Email Composer
|
||||
* @premier email-composer
|
||||
* @description
|
||||
*
|
||||
* Requires Cordova plugin: cordova-plugin-email-composer. For more info, please see the [Email Composer plugin docs](https://github.com/hypery2k/cordova-email-plugin).
|
||||
|
@ -18,6 +18,7 @@ export interface NotificationData {
|
||||
|
||||
/**
|
||||
* @name FCM
|
||||
* @capacitorincompatible true
|
||||
* @description
|
||||
* Provides basic functionality for Firebase Cloud Messaging
|
||||
*
|
||||
|
@ -5,6 +5,7 @@ declare const window: any;
|
||||
|
||||
/**
|
||||
* @name File Path
|
||||
* @premier filesystem
|
||||
* @description
|
||||
*
|
||||
* This plugin allows you to resolve the native filesystem path for Android content URIs and is based on code in the aFileChooser library.
|
||||
|
@ -636,6 +636,7 @@ declare const window: Window;
|
||||
|
||||
/**
|
||||
* @name File
|
||||
* @premier filesystem
|
||||
* @description
|
||||
* This plugin implements a File API allowing read/write access to files residing on the device.
|
||||
*
|
||||
|
@ -4,6 +4,7 @@ import { Observable } from 'rxjs';
|
||||
|
||||
/**
|
||||
* @name Firebase
|
||||
* @capacitorincompatible true
|
||||
* @description
|
||||
* This plugin brings push notifications, analytics, event tracking, crash reporting and more from Google Firebase to your Cordova project! Android and iOS supported (including iOS 10).
|
||||
*
|
||||
|
@ -106,6 +106,7 @@ export interface GeolocationOptions {
|
||||
|
||||
/**
|
||||
* @name Geolocation
|
||||
* @premier geolocation
|
||||
* @description
|
||||
* This plugin provides information about the device's location, such as latitude and longitude. Common sources of location information include Global Positioning System (GPS) and location inferred from network signals such as IP address, RFID, WiFi and Bluetooth MAC addresses, and GSM/CDMA cell IDs.
|
||||
*
|
||||
|
@ -8,6 +8,7 @@ export interface GlobalizationOptions {
|
||||
|
||||
/**
|
||||
* @name Globalization
|
||||
* @premier globalization
|
||||
* @description
|
||||
* This plugin obtains information and performs operations specific to the user's locale, language, and timezone.
|
||||
*
|
||||
|
@ -252,6 +252,7 @@ export class InAppBrowserObject {
|
||||
|
||||
/**
|
||||
* @name In App Browser
|
||||
* @premier inappbrowser
|
||||
* @description Launches in app Browser
|
||||
* @usage
|
||||
* ```typescript
|
||||
|
@ -3,6 +3,7 @@ import { CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
|
||||
/**
|
||||
* @name Ionic Webview
|
||||
* @capacitorincompatible true
|
||||
* @description
|
||||
* Access Web View utilities.
|
||||
*
|
||||
|
@ -16,6 +16,8 @@ export enum KeyboardResizeMode {
|
||||
|
||||
/**
|
||||
* @name Keyboard
|
||||
* @premier keyboard
|
||||
* @capacitorincompatible true
|
||||
* @description
|
||||
* Keyboard plugin for Cordova.
|
||||
*
|
||||
|
@ -114,6 +114,7 @@ export interface ConfigurationData {
|
||||
|
||||
/**
|
||||
* @name Media Capture
|
||||
* @premier media-capture
|
||||
* @description
|
||||
* This plugin provides access to the device's audio, image, and video capture capabilities.
|
||||
*
|
||||
|
@ -179,6 +179,7 @@ export type MediaErrorCallback = (error: MediaError) => void;
|
||||
|
||||
/**
|
||||
* @name Media
|
||||
* @premier media
|
||||
* @description
|
||||
* This plugin provides the ability to record and play back audio files on a device.
|
||||
*
|
||||
|
@ -30,6 +30,7 @@ export interface MusicControlsOptions {
|
||||
|
||||
/**
|
||||
* @name Music Controls
|
||||
* @capacitorincompatible true
|
||||
* @description
|
||||
* Music controls for Cordova applications.
|
||||
* Display a 'media' notification with play/pause, previous, next buttons, allowing the user to control the play.
|
||||
|
@ -3,6 +3,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
|
||||
/**
|
||||
* @name Native Storage
|
||||
* @premier nativestorage
|
||||
* @description Native storage of variables in Android and iOS
|
||||
*
|
||||
* @usage
|
||||
|
@ -17,6 +17,7 @@ export enum Connection {
|
||||
|
||||
/**
|
||||
* @name Network
|
||||
* @premier network-information
|
||||
* @description
|
||||
* Requires Cordova plugin: cordova-plugin-network-information. For more info, please see the [Network plugin docs](https://github.com/apache/cordova-plugin-network-information).
|
||||
*
|
||||
|
@ -60,6 +60,7 @@ export interface QRScannerStatus {
|
||||
|
||||
/**
|
||||
* @name QR Scanner
|
||||
* @capacitorincompatible true
|
||||
* @description
|
||||
* A fast, energy efficient, highly-configurable QR code scanner for Cordova apps.
|
||||
*
|
||||
|
@ -4,6 +4,7 @@ import { Observable } from 'rxjs';
|
||||
|
||||
/**
|
||||
* @name Screen Orientation
|
||||
* @premier screen-orientation
|
||||
* @description
|
||||
* Cordova plugin to set/lock the screen orientation in a common way.
|
||||
*
|
||||
|
@ -3,6 +3,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
|
||||
/**
|
||||
* @name Social Sharing
|
||||
* @premier social-sharing
|
||||
* @description
|
||||
* Share text, files, images, and links via social networks, sms, and email.
|
||||
*
|
||||
|
@ -3,6 +3,8 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
|
||||
/**
|
||||
* @name Splash Screen
|
||||
* @premier splashscreen
|
||||
* @capacitorincompatible true
|
||||
* @description This plugin displays and hides a splash screen during application launch. The methods below allows showing and hiding the splashscreen after the app has loaded.
|
||||
* @usage
|
||||
* ```typescript
|
||||
|
@ -3,6 +3,8 @@ import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-nati
|
||||
|
||||
/**
|
||||
* @name Status Bar
|
||||
* @premier statusbar
|
||||
* @capacitorincompatible true
|
||||
* @description
|
||||
* Manage the appearance of the native status bar.
|
||||
*
|
||||
|
@ -3,6 +3,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
|
||||
/**
|
||||
* @name Vibration
|
||||
* @premier vibration
|
||||
* @description Vibrates the device
|
||||
* @usage
|
||||
* ```typescript
|
||||
|
Loading…
Reference in New Issue
Block a user