Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intent无法唤起 #156

Open
13832198312 opened this issue Nov 11, 2024 · 0 comments
Open

intent无法唤起 #156

13832198312 opened this issue Nov 11, 2024 · 0 comments

Comments

@13832198312
Copy link

  • npm 版本号:

  • 配置 Option:

const option = {
  scheme: {
    protocol: 'zhihu',
  },
  intent: {
    package: 'com.zhihu.android',
    scheme: 'zhihu',
  },
  universal: {
    host: 'oia.zhihu.com',
    pathKey: '',
  },
  appstore: 'https://itunes.apple.com/cn/app/id432274380',
  yingyongbao: '//a.app.qq.com/o/simple.jsp?pkgname=com.zhihu.android',
  fallback: 'https://oia.zhihu.com/',
  timeout: 2000,
};
  • 机型、系统、APP:
    ios android 浏览器 知乎

  • 遇到的问题及复现步骤:
    <button
    onClick={() => {
    evokeByLocation(lib.generateIntent({ path: '' }));
    }}
    >
    intent - location

demo里,通过intent无法唤起知乎,是否可以在微信的h5页面里通过intent的方式唤起app

  • 期望的效果:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant