Giter VIP home page Giter VIP logo

Comments (4)

SophiaGuo avatar SophiaGuo commented on May 10, 2024

目前是只有Oppo需要。如果Oppo上不使用checkPermission直接调用startPerformance,会返回ERR_UNAUTHORIZED = -10001的错误码。
onData callbackType:1, requestId:1571236527643207, timestamp:329537366584094, retCode:-10001, funcId:1013, dataType:0

from hardcoder.

gaojiejun avatar gaojiejun commented on May 10, 2024

目前是只有Oppo需要。如果Oppo上不使用checkPermission直接调用startPerformance,会返回ERR_UNAUTHORIZED = -10001的错误码。
onData callbackType:1, requestId:1571236527643207, timestamp:329537366584094, retCode:-10001, funcId:1013, dataType:0

从文档处了解到的信息是小米、vivo到线上也需要, 整个初始化流程现在有割裂(initHardcoder & checkPermission), 请问这个是否考虑统一呢

from hardcoder.

SophiaGuo avatar SophiaGuo commented on May 10, 2024

目前只有oppo是需要的,小米应该是采用白名单配置方式。这个可以考虑统一,因为checkpermission接口是为了开放平台才添加的,之前使用是init后直接可用。

from hardcoder.

kirozhao avatar kirozhao commented on May 10, 2024

目前只有oppo是需要的,小米应该是采用白名单配置方式。这个可以考虑统一,因为checkpermission接口是为了开放平台才添加的,之前使用是init后直接可用。

应该统一流程,如果某个厂商/机型不需要 checkpermission,可以直接 pass 通过
但初始化流程上应该保持一致性

from hardcoder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.