Skip to content

Commit

Permalink
chore: add compatibility matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Cordobo committed Aug 4, 2024
1 parent d0987c1 commit c29ac0d
Showing 1 changed file with 22 additions and 25 deletions.
47 changes: 22 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@

## Features

- Compatible with **Angular** and Ionic
- Compatible with **Angular** and **Ionic**
- Ivy compiler support, AOT, SSR (Server Side Rendering)
- Under active development
- Accessibility (a11y) attributes supported (alt, aria-label, title)
- Support for images
- Trusted and used by thousands of developers like you
- Easy to use, [sample web app](#demo-app) included

`angularx-qrcode` is compatible with Ionic 3/4/5/6/7/8 and Angular 4/5/6/7/8/9/10/11/12/13/14/15/16/17/18+ with support for the Ivy compiler. It is a drop-in replacement for the no-longer-maintained angular component ng2-qrcode and based on node-qrcode.

Expand Down Expand Up @@ -48,36 +49,32 @@ npm install [email protected] --save
yarn add [email protected]
```

**Older supported angular versions**
**All supported angular versions**

| Angular Version | angularx-qrcode Version |
|-----------------|-------------------------|
| ^18 | ^18.0.1 |
| ^17 | ^17.0.1 |
| ^16 | ^16.0.2 |
| ^15 | ^15.0.1 |
| ^14 | ^14.0.0 |
| ^13 | ^13.0.15 |
| ^12 | ^12.0.3 |
| ^11 | ^11.0.0 |
| ^10 | ^10.0.12 |
| ^9 | ^2.3.7 |
| ^8 | ^2.1.4 |
| ^5 / ^6 / ^7 | ^1.6.4 |
| ^4 | ^1.0.3 |

```
# angular 15 and Ionic
npm install [email protected] --save
# angular 14 and Ionic
npm install [email protected] --save
# angular 13 and Ionic
npm install [email protected] --save
# angular 12 and Ionic
npm install [email protected] --save
# angular 11 and Ionic
npm install [email protected] --save
# angular 10 and Ionic
npm install [email protected] --save
# angular 9 and Ionic
npm install angularx-qrcode@~2.3.7 --save
# angular 8 and Ionic
npm install angularx-qrcode@~2.1.4 --save
# angular 5/6/7
npm install [email protected] --save
# Angular 4
npm install [email protected] --save
```

# Demo App

**[Working online demo of Angular QR Code Generator](https://cordobo.github.io/angularx-qrcode/)**

The source for the demo angular app is available in [`projects/demo-app`](projects/demo-app). Run the command
The source for the working angular app is available in [`projects/demo-app`](projects/demo-app).

Run the command:

```
npm start
Expand Down

0 comments on commit c29ac0d

Please sign in to comment.