Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Add more community guides to APIs and comm guides pages #1594

Merged
merged 1 commit into from
May 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions site/docs-md/apis/camera/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ async takePicture() {
}
```

## Angular example
## Example Guides

[Follow this guide](../../guides/ionic-framework-app) to implement the Camera API in an Ionic Angular app.
[Building an Ionic Framework Camera App](/docs/guides/ionic-framework-app)

## API

Expand Down
4 changes: 4 additions & 0 deletions site/docs-md/apis/network/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ The Network API requires the following permission be added to your `AndroidManif

This permission allows the app to access information about the current network, such as whether it is connected to wifi or cellular.

## Example Guides

[Network: Ionic 4 and Network Detection with Capacitor ›](https://developer.school/posts/ionic-4-network-detection-with-capacitor/)

## API

<plugin-api name="network"></plugin-api>
4 changes: 3 additions & 1 deletion site/docs-md/apis/push-notifications/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ An empty Array can be provided if none of the previous options are desired. `pus
<plugin-api index="true" name="push-notifications"></plugin-api>


## Example
## Example Guides

[Using Push Notifications with Firebase in an Ionic Angular App](/docs/guides/push-notifications-firebase)

## API

Expand Down
12 changes: 7 additions & 5 deletions site/docs-md/apis/splash-screen/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Then run `npx cap copy` to apply these changes.

## Configuration

These config parameters are availiable in `capacitor.config.json`:
These config parameters are available in `capacitor.config.json`:

```json
{
Expand All @@ -86,10 +86,6 @@ These config parameters are availiable in `capacitor.config.json`:
}
```

## Add your own splash screen images

See [Josh Morony's blog post](https://www.joshmorony.com/adding-icons-splash-screens-launch-images-to-capacitor-projects/) on how to change it.

### Android

If your splash screen images aren't named "splash.png" but for example "screen.png" you have to change `"androidSplashResourceName": "screen"` in `capacitor.config.json` and change the following files in you're Android app as well:
Expand Down Expand Up @@ -126,6 +122,12 @@ with
</style>
```

## Example Guides

[Adding Your Own Icons and Splash Screen Images &#8250;](https://www.joshmorony.com/adding-icons-splash-screens-launch-images-to-capacitor-projects/)

[Creating a Dynamic/Adaptable Splash Screen for Capacitor (Android) &#8250;](https://www.joshmorony.com/creating-a-dynamic-universal-splash-screen-for-capacitor-android/)

## API

<plugin-api name="splash-screen"></plugin-api>
12 changes: 10 additions & 2 deletions site/docs-md/guides/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ contributors:

## General

General Capacitor guides and tutorials from the community.

[How to Build an Ionic Chat App with React and Stream &#8250;](https://levelup.gitconnected.com/how-to-build-an-ionic-chat-app-with-react-and-stream-739b67611280)

[Capacitor: Five Apps in Five Minutes &#8250;](https://angularfirebase.com/lessons/capacitor-five-apps-in-five-minutes/)
Expand All @@ -20,6 +18,16 @@ General Capacitor guides and tutorials from the community.

[Capacitor Workflow for iOS and Android Apps &#8250;](https://www.youtube.com/watch?v=oXbRcpsytGQ)

## APIs

[Camera: Building an Ionic Framework Camera App](/docs/guides/ionic-framework-app)

[Network: Ionic 4 and Network Detection with Capacitor &#8250;](https://developer.school/posts/ionic-4-network-detection-with-capacitor/)

[Push Notifications: Using Push Notifications with Firebase in an Ionic Angular App](/docs/guides/push-notifications-firebase)

[Splash Screen: Creating a Dynamic/Adaptable Splash Screen for Capacitor (Android) &#8250;](https://www.joshmorony.com/creating-a-dynamic-universal-splash-screen-for-capacitor-android/)

## Integrations

[Using Google Maps and Geolocation in Ionic with Capacitor &#8250;](https://www.joshmorony.com/using-google-maps-and-geolocation-in-ionic-with-capacitor)
Expand Down