Skip to content

Commit

Permalink
chore: remove electron mentions (#2812)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Apr 22, 2020
1 parent e219e69 commit 4dad4a1
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 23 deletions.
2 changes: 1 addition & 1 deletion site/docs-md/basics/managing-platforms.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Managing Deployment Platforms

Capacitor supports iOS, Android, mobile web, and Electron.
Capacitor supports iOS, Android, and PWA.
4 changes: 0 additions & 4 deletions site/docs-md/basics/running-your-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,3 @@ npx cap serve
```

This will open your web app in a local web server instance in the browser.

## Electron

(Coming soon)
1 change: 0 additions & 1 deletion site/docs-md/basics/workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,4 @@ To update any or all of the platforms you are using:
```bash
npm update @capacitor/ios
npm update @capacitor/android
npm update @capacitor/electron
```
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ If you've previously created icon and splash screen images, they can be found in

Begin by auditing your existing Cordova plugins - it's possible that you may be able to remove ones that are no longer needed.

Next, review all of Capacitor's [core plugins](/docs/apis) as well as [community plugins](/docs/community/plugins). You may be able to switch to the Capacitor-equivalent Cordova plugin. Also note that some Capacitor plugins extend beyond mobile, including [PWA](/docs/web) and [Desktop](/docs/electron/) functionality, which Cordova traditionally hasn't had support for. For example, compare the [Capacitor Camera](/docs/apis/camera) to the [Cordova Camera](https://github.com/apache/cordova-plugin-camera).
Next, review all of Capacitor's [core plugins](/docs/apis) as well as [community plugins](/docs/community/plugins). You may be able to switch to the Capacitor-equivalent Cordova plugin.

Some plugins may not match functionality entirely, but based on the features you need that may not matter.

Expand Down
2 changes: 1 addition & 1 deletion site/docs-md/cordova/migration-strategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Capacitor works with any Ionic project (1.0 to 4.x+), but in order to enjoy the

Begin by auditing your existing Cordova plugins - it's possible that you may be able to remove ones that are no longer needed.

Next, review all of Capacitor's [core plugins](/docs/apis) as well as [community plugins](/docs/community/plugins). You may be able to switch to the Capacitor-equivalent Cordova plugin. Also note that some Capacitor plugins extend beyond mobile, including [PWA](/docs/web) and [Desktop](/docs/electron/) functionality, which Cordova traditionally hasn't had support for. For example, compare the [Capacitor Camera](/docs/apis/camera) to the [Cordova Camera](https://github.com/apache/cordova-plugin-camera).
Next, review all of Capacitor's [core plugins](/docs/apis) as well as [community plugins](/docs/community/plugins). You may be able to switch to the Capacitor-equivalent Cordova plugin.

Some plugins may not match functionality entirely, but based on the features you need that may not matter.

Expand Down
6 changes: 1 addition & 5 deletions site/docs-md/getting-started/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,4 @@ Android development requires the **Android SDK** installed with **[Android Studi

Android version support for Capacitor is more complex than iOS. Currently, we are targeting API level 21 or greater, meaning Android 5.0 (Lollipop) or above. [As of May 2019](https://developer.android.com/about/dashboards), this represents over 89% of the Android market.

Also, Capacitor requires an Android WebView with Chrome version 50 or later. On Android 5 and 6, the Capacitor uses the System WebView. On Android 7+, Google Chrome is used.

## Electron Development

No specific dependencies are needed to use Capacitor with Electron.
Also, Capacitor requires an Android WebView with Chrome version 50 or later. On Android 5 and 6, the Capacitor uses the System WebView. On Android 7+, Google Chrome is used.
1 change: 0 additions & 1 deletion site/docs-md/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ Next, install any of the desired native platforms:
```bash
npx cap add android
npx cap add ios
npx cap add electron
```

🎉 Capacitor is now installed in your project. 🎉
Expand Down
4 changes: 2 additions & 2 deletions site/docs-md/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Capacitor - A Cross-platform App Runtime
description: A cross-platform app runtime for building Native Progressive Web Apps for iOS, Android, Electron, and beyond
description: A cross-platform app runtime for building Native Progressive Web Apps for iOS, Android, and beyond
url: /docs/
contributors:
- mlynch
Expand All @@ -11,7 +11,7 @@ contributors:

# Capacitor: A Cross-platform App Runtime

<p class="intro">Capacitor is a cross-platform app runtime that makes it easy to build web apps that run natively on iOS, Android, Electron, <em>and</em> the web. We call these apps "Native Progressive Web Apps" and they represent the next evolution beyond Hybrid apps.</p>
<p class="intro">Capacitor is a cross-platform app runtime that makes it easy to build web apps that run natively on iOS, Android, <em>and</em> the web. We call these apps "Native Progressive Web Apps" and they represent the next evolution beyond Hybrid apps.</p>

<img src="/assets/img/docs/capacitor-index.png" style="max-height: 360px" />

Expand Down
2 changes: 1 addition & 1 deletion site/docs-md/web/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ contributors:

### Installation

Chances are, you already have Capacitor installed in your app if you're using Capacitor to build an iOS, Android, or Electron app. In capacitor, the `web` platform is just the web project that powers your app!
Chances are, you already have Capacitor installed in your app if you're using Capacitor to build an iOS, or Android app. In capacitor, the `web` platform is just the web project that powers your app!

If you don't have Capacitor installed yet, consult the [Installation](./getting-started) guide before continuing.

Expand Down
2 changes: 1 addition & 1 deletion site/docs-md/web/pwa-elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ contributors:
# PWA Elements

<p class="intro">Some Capacitor plugins, such as <code>Camera</code> or <code>Toast</code>, have web-based UI available when not running natively. For example, calling <code>Camera.getPhoto()</code> will
load a responsive photo-taking experience when running on the web or electron:</p>
load a responsive photo-taking experience when running on the web:</p>

<img src="/assets/img/docs/pwa-elements.png" style="height: 200px" />

Expand Down
Binary file modified site/src/assets/img/supported-env.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions site/src/components/landing-page/landing-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class LandingPage {
<hgroup>
<h1 id="action-call">The Native Bridge for Cross-Platform Web Apps</h1>
<h3>
Invoke Native SDKs on iOS, Android, Electron, and the Web with one code base.
Invoke Native SDKs on iOS, Android, and the Web with one code base.
Optimized for Ionic Framework apps, or use with any web app framework.
</h3>
<stencil-route-link url="/docs/getting-started/">
Expand All @@ -36,7 +36,7 @@ export class LandingPage {
</button>
</stencil-route-link>
<h5>Supports</h5>
<img alt="Apple, Android, Electron, PWA" src="/assets/img/supported-env.png"></img>
<img alt="Apple, Android, PWA" src="/assets/img/supported-env.png"></img>
</hgroup>
<div class="hero-illustration">
<img src="/assets/img/capacitor-hero.jpg"></img>
Expand All @@ -48,8 +48,7 @@ export class LandingPage {
<h2>Cross Platform</h2>

<p>
Build web apps that run equally well on iOS, Android,
Electron, and as Progressive Web Apps
Build web apps that run equally well on iOS, Android, and as Progressive Web Apps
</p>
</div>
<div class="points__item points__item--nativeaccess">
Expand Down
2 changes: 1 addition & 1 deletion site/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Capacitor - build cross platform apps with the web</title>
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
<meta name="description" content="The Native Bridge for Cross-Platform Web Apps. Invoke Native SDKs on iOS, Android, Electron, and the Web with one code base. Optimized for Ionic Framework apps, or use with any web app framework.">
<meta name="description" content="The Native Bridge for Cross-Platform Web Apps. Invoke Native SDKs on iOS, Android, and the Web with one code base. Optimized for Ionic Framework apps, or use with any web app framework.">
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
<meta name="theme-color" content="#16161d">
Expand Down

0 comments on commit 4dad4a1

Please sign in to comment.