From ecd850fd3beb0be920ad044a9abf0d93e131c746 Mon Sep 17 00:00:00 2001 From: DoubleTime Date: Thu, 2 Jan 2020 15:50:30 +0800 Subject: [PATCH] add instruction --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 7f1d50a..9fd202d 100644 --- a/README.md +++ b/README.md @@ -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.