Browse Source

feat(callAPP): 唤起APP参数配置

曾志翔 2 years ago
parent
commit
c0dc6dbdc2
1 changed files with 11 additions and 7 deletions
  1. 11 7
      plugins/callapp.js

+ 11 - 7
plugins/callapp.js

@@ -9,13 +9,15 @@ export default function (c, i) {
         host: 'web',
         port: 80,
       },
-      // intent: {
-      //   package: 'com.gemini.cloud.client',
-      //   action: undefined,
-      //   category: undefined,
-      //   component: undefined,
-      //   scheme: 'weixin',
-      // },
+      intent: {
+        package: 'com.gemini.cloud.client',
+        action: '',
+        category: '',
+        component: '',
+        scheme: 'SZXIosAPP',
+      },
+      timeout: 2000,
+      appstore: 'https://www.pgyer.com/gemini6',
       fallback: 'https://www.androidscloud.com',
     }),
   );
@@ -27,6 +29,7 @@ export default function (c, i) {
         host: 'web',
         port: 80,
       },
+      timeout: 2000,
       // intent: {
       //   package: 'com.gemini.cloud.client',
       //   action: undefined,
@@ -34,6 +37,7 @@ export default function (c, i) {
       //   component: undefined,
       //   scheme: 'weixin',
       // },
+      appstore: 'https://apps.apple.com/cn/app/id414478124',
       fallback: 'https://weixin.qq.com',
     }),
   );