Skip to content

Commit

Permalink
docs: added ionic 3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanneff authored Apr 12, 2017
1 parent 6e84333 commit 6d1668b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
// ...
```

- Ionic 2
- Ionic 2/3
```typescript
// sample app.component.js
import { Component } from '@angular/core';
Expand Down Expand Up @@ -930,13 +930,13 @@
- Branch opens and installs your app. You cannot simulate Branch in the desktop browser

```js
// Ionic 2 - running on browser instead of device
// Ionic 2/3 - running on browser instead of device
if (!platform.is('cordova')) { return }
Branch.userCompletedAction('did_this')
```

```js
// Ionic 2 - missing Branch import
// Ionic 2/3 - missing Branch import
declare var Branch
```

Expand Down

0 comments on commit 6d1668b

Please sign in to comment.