Skip to content

Commit

Permalink
add instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
DoubleTime authored Jan 2, 2020
1 parent a92ca0b commit ecd850f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ tns plugin add nativescript-open-app
```

## Usage
### Add Queries
```
var queries = [{"key":"fruit","value":"orange"}];
openApp("xxx", true,null,queries);
```

### Android
To open an app, you need its id (for example "com.facebook.katana" for Facebook and "com.twitter.android" for Twitter).
You can easily find it in app's URL on https://play.google.com.
Expand Down

0 comments on commit ecd850f

Please sign in to comment.