|
@@ -1,11 +1,12 @@
|
|
|
import CallApp from 'callapp-lib';
|
|
|
|
|
|
-export default function (c, i) {
|
|
|
+export default function ({ $userAgent }, i) {
|
|
|
+ const scheme = $userAgent.isIos ? 'szxiOSApp' : 'opengeminiapp';
|
|
|
i(
|
|
|
'callSzx',
|
|
|
new CallApp({
|
|
|
- scheme: { protocol: 'SZXIosAPP', host: '' },
|
|
|
- intent: { package: 'com.gemini.cloud.client', scheme: 'SZXIosAPP' },
|
|
|
+ scheme: { protocol: scheme, host: '' },
|
|
|
+ intent: { package: 'com.gemini.cloud.client', scheme },
|
|
|
timeout: 2000,
|
|
|
yingyongbao:
|
|
|
'https://a.app.qq.com/o/simple.jsp?pkgname=com.gemini.cloud.client',
|