Skip to content

Commit

Permalink
chore(readme): added missing item on index and using of types in Ionic
Browse files Browse the repository at this point in the history
  • Loading branch information
distante committed Jun 25, 2020
1 parent e7e977c commit 58d6392
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ Every now and then kind folks ask me how they can give me all their money. So if
6. [Usage on Windows Phone](#6-usage-on-windows-phone)
7. [Share-popover on iPad](#7-share-popover-on-ipad)
8. [Whitelisting on iOS](#8-whitelisting-on-ios)
9. [NSPhotoLibraryUsageDescription on iOS](#9-nsphotolibraryusagedescription-on-ios)
10. [Import Types into an Ionic Angular Project](#10-import-types-into-an-ionic-angular-project)

## 1. Description

Expand Down Expand Up @@ -552,3 +554,12 @@ The plugin configures a default description for you. If you do need to customise
```
$ cordova plugin add cordova-plugin-x-socialsharing --variable PHOTO_LIBRARY_USAGE_DESCRIPTION="This app uses your photo library" --variable PHOTO_LIBRARY_ADD_USAGE_DESCRIPTION="This app saves images your photo library"
```

## 10. Import Types into an Ionic Angular Project

If you do not already have a typings file definition, create one inside your `src` folder, for example`src/typings.d.ts`

Add this reference into your typings file definition:
```
/// <reference path="../node_modules/cordova-plugin-x-socialsharing/types/index.d.ts" />
```

0 comments on commit 58d6392

Please sign in to comment.