Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️
72 matches across 9 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | core/cordova.js | 477 | function assignOrWrapInDeprecateGetter(obj, key, value, message) { |
| LOW | core/cordova.js | 683 | function checkSubscriptionArgument(argument) { |
| LOW | core/cordova.js | 883 | function convertMessageToArgsNativeToJs(message) { |
| LOW | cli/src/plugin.ts | 45 | export function getIncludedPluginPackages(config: Config, platform: string): readonly string[] | undefined { |
| LOW | cli/src/common.ts | 248 | export async function getCapacitorPackageVersion(config: Config, platform: string): Promise<string> { |
| LOW | cli/src/common.ts | 273 | export async function getProjectPlatformDirectory(config: Config, platform: string): Promise<string | null> { |
| LOW | cli/src/common.ts | 319 | export async function getKnownCommunityPlatforms(): Promise<string[]> { |
| LOW | cli/src/common.ts | 327 | export async function getKnownEnterprisePlatforms(): Promise<string[]> { |
| LOW | cli/src/common.ts | 331 | export async function isValidEnterprisePlatform(platform: string): Promise<boolean> { |
| LOW | cli/src/cordova.ts | 32 | export function generateCordovaPluginsJSFile(config: Config, plugins: Plugin[], platform: string): string { |
| LOW | cli/src/cordova.ts | 532 | export function getIncompatibleCordovaPlugins(platform: string): string[] { |
| LOW | cli/src/cordova.ts | 622 | export async function writeCordovaAndroidManifest( |
| LOW | cli/src/config.ts | 335 | async function determineXcodeWorkspaceDirAbs(nativeProjectDirAbs: string): Promise<string> { |
| LOW | cli/src/config.ts | 368 | async function determineAndroidStudioPath(os: OS): Promise<string> { |
| LOW | cli/src/tasks/migrate.ts | 321 | async function checkCapacitorMajorVersion(config: Config): Promise<number> { |
| LOW | cli/src/tasks/migrate.ts | 396 | async function getAndroidVariablesAndClasspaths(config: Config) { |
| LOW | cli/src/tasks/open.ts | 48 | function createOpenablePlatformFilter(config: Config): (platform: string) => boolean { |
| LOW | cli/src/tasks/run.ts | 143 | function createRunnablePlatformFilter(config: Config): (platform: string) => boolean { |
| LOW | cli/src/tasks/build.ts | 81 | function createBuildablePlatformFilter(config: Config): (platform: string) => boolean { |
| LOW | cli/src/util/spm.ts | 53 | export async function checkPluginsForPackageSwift(config: Config, plugins: Plugin[]): Promise<Plugin[]> { |
| LOW | cli/src/util/spm.ts | 69 | export async function extractSPMPackageDirectory(config: Config): Promise<void> { |
| LOW | cli/src/util/spm.ts | 219 | export async function addInfoPlistDebugIfNeeded(config: Config): Promise<void> { |
| LOW | cli/src/util/spm.ts | 259 | export async function checkPackageTraitsRequirements(config: Config): Promise<string | null> { |
| LOW | cli/src/util/monorepotools.ts | 75 | export function findPackageRelativePathInMonorepo(packageName: string, currentPath: string): string | null { |
| LOW | cli/src/ios/update.ts | 73 | async function generateCordovaPackageFiles(cordovaPlugins: Plugin[], config: Config) { |
| LOW | cli/src/ios/update.ts | 79 | async function generateCordovaPackageFile(p: Plugin, config: Config) { |
| LOW | cli/src/ios/update.ts | 228 | async function writeGeneratedPackageSwift(p: Plugin, config: Config, iosPlatformVersion: string) { |
| LOW | cli/src/ios/update.ts | 331 | async function getRelativeCapacitoriOSPath(config: Config) { |
| LOW | cli/src/ios/update.ts | 674 | async function replaceFrameworkVariables(config: Config, prefsArray: any[], frameworkString: string) { |
| LOW | cli/src/android/common.ts | 52 | export async function editProjectSettingsAndroid(config: Config): Promise<void> { |
| LOW | cli/src/android/update.ts | 84 | async function findAndroidPluginClassesInPlugin(plugin: Plugin): Promise<PluginsJsonEntry[]> { |
| LOW | cli/src/android/update.ts | 224 | export async function handleCordovaPluginsGradle(config: Config, cordovaPlugins: Plugin[]): Promise<void> { |
| LOW | cli/src/android/update.ts | 386 | async function replaceFrameworkVariables(config: Config, prefsArray: any[], frameworkString: string) { |
| LOW | …s/Capacitor/Capacitor/Plugins/HttpRequestHandler.swift | 52 | open class HttpRequestHandler { |
| LOW | …/src/main/java/com/getcapacitor/plugin/SystemBars.java | 44 | function capacitorSystemBarsCheckMetaViewport() { |
| LOW | …a/com/getcapacitor/plugin/util/HttpRequestHandler.java | 31 | public class HttpRequestHandler { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | cli/src/ios/doctor.ts | 1 | import { check, checkWebDir } from '../common'; |
| LOW | cli/src/android/add.ts | 21 | ## This file is automatically generated by Android Studio. |
| LOW | ios/Capacitor/Capacitor/Capacitor.h | 1 | #import <UIKit/UIKit.h> |
| LOW | ios/Capacitor/Capacitor/KeyValueStore.swift | 1 | // |
| LOW | ios/Capacitor/Capacitor/KeyValueStore.swift | 21 | /// |
| LOW | ios/Capacitor/Capacitor/KeyValueStore.swift | 41 | /// |
| LOW | ios/Capacitor/Capacitor/KeyValueStore.swift | 61 | /// |
| LOW | ios/Capacitor/Capacitor/KeyValueStore.swift | 81 | /// [NSFileWriteOutOfSpaceError](https://developer.apple.com/documentation/foundation/1448136-nserror_codes/nsfile |
| LOW | ios/Capacitor/Capacitor/KeyValueStore.swift | 141 | try backend.delete(key) |
| LOW | ios/Capacitor/Capacitor/CAPInstancePlugin.swift | 1 | // |
| LOW | ios/Capacitor/Capacitor/Codable/JSValueEncoder.swift | 1 | // |
| LOW | ios/Capacitor/Capacitor/Codable/JSValueDecoder.swift | 1 | // |
| LOW | …acitor/CapacitorTests/CapacitorTests-Bridging-Header.h | 1 | // |
| LOW | …s/CapacitorCordova/CapacitorCordova/CapacitorCordova.h | 1 | #import <UIKit/UIKit.h> |
| LOW | …s/CapacitorCordova/CapacitorCordova/CapacitorCordova.h | 21 | #import <Cordova/CDVScreenOrientationDelegate.h> |
| LOW | …torCordova/CapacitorCordova/Classes/Public/CDVPlugin.m | 61 | // You can listen to more app notifications, see: |
| LOW | …dova/CapacitorCordova/Classes/Public/CDVAvailability.h | 21 | |
| LOW | …dova/CapacitorCordova/Classes/Public/CDVAvailability.h | 41 | #define __CORDOVA_2_5_0 20500 |
| LOW | …dova/CapacitorCordova/Classes/Public/CDVAvailability.h | 61 | #define __CORDOVA_4_1_0 40100 |
| LOW | …dova/CapacitorCordova/Classes/Public/CDVAvailability.h | 101 | |
| LOW | …CapacitorCordova/CapacitorCordova/Classes/Public/CDV.h | 21 | #import "CDVPlugin.h" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | cli/src/cordova.ts | 204 | config.app.extConfig.cordova.accessOrigins.map(async (host): Promise<string> => { |
| CRITICAL | cli/src/ios/update.ts | 556 | return `\n s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '${config.app.extConfig.ios.cordovaLinkerFlags.join( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | ios/Capacitor/Capacitor/JSExport.swift | 179 | CAPLog.print("Error: plugin method return type \(returnType) is not supported!") |
| MEDIUM | ios/Capacitor/Capacitor/JSExport.swift | 205 | CAPLog.print("Error while enumerating files") |
| MEDIUM | ios/Capacitor/Capacitor/CapacitorBridge.swift | 325 | CAPLog.print("Error registering plugins: \(error)") |
| MEDIUM | ios/Capacitor/Capacitor/CapacitorBridge.swift | 553 | CAPLog.print("Error: Plugin \(plugin.className ?? "") does not respond to method call \(selector).") |
| MEDIUM | ios/Capacitor/Capacitor/CapacitorBridge.swift | 566 | CAPLog.print("Error: Cordova Plugin mapping not found") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …d/capacitor/src/main/java/com/getcapacitor/Plugin.java | 569 | * @deprecated use {@link #requestAllPermissions(PluginCall, String)} in conjunction with @CapacitorPlugin |
| MEDIUM | …d/capacitor/src/main/java/com/getcapacitor/Plugin.java | 582 | * @deprecated use {@link #requestPermissionForAlias(String, PluginCall, String)} in conjunction with @CapacitorPlug |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | cli/src/android/add.ts | 21 | ## This file is automatically generated by Android Studio. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ios/Capacitor/Capacitor/CAPInstanceDescriptor.swift | 24 | The purpose of this function is to hide the messy details of parsing the configuration(s) so |
| LOW | …/Capacitor/Capacitor/Plugins/CapacitorUrlRequest.swift | 26 | // We need to check if the JSON is valid before attempting to serialize, as JSONSerialization.data will not thro |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ios/Capacitor/CodableTests/NestedCodableTests.swift | 18 | "fullName": "John Doe" |
| LOW | ios/Capacitor/CodableTests/NestedCodableTests.swift | 29 | fullName: "John Doe", |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/publish-android.sh | 20 | # Check if we need to publish a new native version of the Capacitor Android library |