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

配置app.config.ts内的permission属性,本地调试生效 预览不生效 #16467

Closed
mawenqing1 opened this issue Sep 5, 2024 · 0 comments
Labels
F-react Framework - React T-alipay Target - 编译到支付宝小程序 V-3 Version - 3.x

Comments

@mawenqing1
Copy link

相关平台

支付宝小程序

小程序基础库: 2.0
使用框架: React

复现步骤

1.配置permission 例如

permission: {
  'scope.userLocation': {
      desc: '据您的位置信息为您找到附近商家',
    },
}

2.小程序内没有问题,打开手机预览或真机调试,未生效

期望结果

预览结果与配置一直

实际结果

预览时配置未生效

环境信息

 Taro v3.6.31


  Taro CLI 3.6.31 environment info:
    System:
      OS: macOS 14.5
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 16.20.2 - ~/.nvm/versions/node/v16.20.2/bin/node
      Yarn: 1.22.19 - ~/.yarn/bin/yarn
      npm: 8.19.4 - ~/.nvm/versions/node/v16.20.2/bin/npm
    npmPackages:
      @tarojs/cli: 3.6.31 => 3.6.31 
      @tarojs/components: 3.6.31 => 3.6.31 
      @tarojs/helper: 3.6.31 => 3.6.31 
      @tarojs/plugin-framework-react: 3.6.31 => 3.6.31 
      @tarojs/plugin-platform-alipay: 3.6.31 => 3.6.31 
      @tarojs/plugin-platform-h5: 3.6.31 => 3.6.31 
      @tarojs/plugin-platform-jd: 3.6.31 => 3.6.31 
      @tarojs/plugin-platform-qq: 3.6.31 => 3.6.31 
      @tarojs/plugin-platform-swan: 3.6.31 => 3.6.31 
      @tarojs/plugin-platform-tt: 3.6.31 => 3.6.31 
      @tarojs/plugin-platform-weapp: 3.6.31 => 3.6.31 
      @tarojs/react: 3.6.31 => 3.6.31 
      @tarojs/runtime: 3.6.31 => 3.6.31 
      @tarojs/shared: 3.6.31 => 3.6.31 
      @tarojs/taro: 3.6.31 => 3.6.31 
      @tarojs/taro-loader: 3.6.31 => 3.6.31 
      @tarojs/webpack5-runner: 3.6.31 => 3.6.31 
      babel-preset-taro: 3.6.31 => 3.6.31 
      eslint-config-taro: 3.6.31 => 3.6.31 
      react: ^18.0.0 => 18.3.1 
This was referenced Sep 7, 2024
@TheKonka TheKonka added V-3 Version - 3.x F-react Framework - React T-alipay Target - 编译到支付宝小程序 labels Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-alipay Target - 编译到支付宝小程序 V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

2 participants