-
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend capacitor plugin for android + ios configs (closes #604)
- Loading branch information
Showing
6 changed files
with
58 additions
and
6 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
packages/knip/fixtures/plugins/capacitor/android/capacitor.settings.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN | ||
include ':capacitor-android' | ||
project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/android/capacitor') | ||
|
||
include ':capacitor-app' | ||
project(':capacitor-app').projectDir = new File('../node_modules/@capacitor/app/android') | ||
|
||
include ':capacitor-haptics' | ||
project(':capacitor-haptics').projectDir = new File('../node_modules/@capacitor/haptics/android') | ||
|
||
include ':capacitor-keyboard' | ||
project(':capacitor-keyboard').projectDir = new File('../node_modules/@capacitor/keyboard/android') | ||
|
||
include ':capacitor-status-bar' | ||
project(':capacitor-status-bar').projectDir = new File('../node_modules/@capacitor/status-bar/android') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers' | ||
|
||
platform :ios, '13.0' | ||
use_frameworks! | ||
|
||
# workaround to avoid Xcode caching of Pods that requires | ||
# Product -> Clean Build Folder after new Cordova plugins installed | ||
# Requires CocoaPods 1.6 or newer | ||
install! 'cocoapods', :disable_input_output_paths => true | ||
|
||
def capacitor_pods | ||
pod 'Capacitor', :path => '../../node_modules/@capacitor/ios' | ||
pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios' | ||
pod 'CapacitorApp', :path => '../../node_modules/@capacitor/app' | ||
pod 'CapacitorHaptics', :path => '../../node_modules/@capacitor/haptics' | ||
pod 'CapacitorKeyboard', :path => '../../node_modules/@capacitor/keyboard' | ||
pod 'CapacitorStatusBar', :path => '../../node_modules/@capacitor/status-bar' | ||
end | ||
|
||
target 'App' do | ||
capacitor_pods | ||
# Add your Pods here | ||
end | ||
|
||
post_install do |installer| | ||
assertDeploymentTarget(installer) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters