callapp.js 860 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import CallApp from 'callapp-lib';
  2. export default function (c, i) {
  3. i(
  4. 'callSzxApp',
  5. new CallApp({
  6. scheme: {
  7. protocol: 'SZXIosAPP',
  8. host: 'web',
  9. port: 80,
  10. },
  11. // intent: {
  12. // package: 'com.gemini.cloud.client',
  13. // action: undefined,
  14. // category: undefined,
  15. // component: undefined,
  16. // scheme: 'weixin',
  17. // },
  18. fallback: 'https://www.androidscloud.com',
  19. }),
  20. );
  21. i(
  22. 'callWechat',
  23. new CallApp({
  24. scheme: {
  25. protocol: 'weixin',
  26. host: 'web',
  27. port: 80,
  28. },
  29. // intent: {
  30. // package: 'com.gemini.cloud.client',
  31. // action: undefined,
  32. // category: undefined,
  33. // component: undefined,
  34. // scheme: 'weixin',
  35. // },
  36. fallback: 'https://weixin.qq.com',
  37. }),
  38. );
  39. }