Giter Site home page Giter Site logo

应小米测试要求,首次进入插件,要显示用户协议,安卓有方法调用,iOS 有没有? about ios-rn-sdk HOT 5 CLOSED

Smart-XiaoLeiGe avatar Smart-XiaoLeiGe commented on July 24, 2024
应小米测试要求,首次进入插件,要显示用户协议,安卓有方法调用,iOS 有没有?

from ios-rn-sdk.

Comments (5)

Smart-XiaoLeiGe avatar Smart-XiaoLeiGe commented on July 24, 2024

image001

from ios-rn-sdk.

Smart-XiaoLeiGe avatar Smart-XiaoLeiGe commented on July 24, 2024

@chundong @kyou @kangkai @jxfengzi

from ios-rn-sdk.

Smart-XiaoLeiGe avatar Smart-XiaoLeiGe commented on July 24, 2024

两个API 介绍一样,功能不一样,这文档写的可以的👎

openPrivacyLicense AL-[129,) 

@param license 软件许可以及使用协议的名称

@param licenseURL 软件许可以及使用协议的详细内容 的url

@param policy 用户隐私协议的名称

@param policyURL 用户隐私协议的详细url

@param callBack callback

  MHPluginSDK.openPrivacyLicense("license","licenseURL","policy, "policyURL,(result)=>{
    if(result == "ok") {

    } else {
      
    }
  })

privacyAndProtocolReview AL-[133,) 

用于查看隐私协议和用户使用条款,参数说明

license 软件许可以及使用协议的名称

licenseURL 软件许可以及使用协议的详细内容 的url

policy 用户隐私协议的名称

policyURL 用户隐私协议的详细url

from ios-rn-sdk.

ldezho avatar ldezho commented on July 24, 2024

@Smart-XiaoLeiGe 我这边调用MHPluginSDK.openPrivacyLicense后,插件页首先白屏,然后米家app直接crash,请问您是怎么调用的?有出现过这种问题的吗?谢谢。

from ios-rn-sdk.

Smart-XiaoLeiGe avatar Smart-XiaoLeiGe commented on July 24, 2024

@Smart-XiaoLeiGe 我这边调用MHPluginSDK.openPrivacyLicense后,插件页首先白屏,然后米家app直接crash,请问您是怎么调用的?有出现过这种问题的吗?谢谢。

就是正常的文档里面的写法
MHPluginSDK.openPrivacyLicense(LocalizedStrings.alertLicense, this.props.app.pathForResource("xxxx.html"), LocalizedStrings.alertPolicy, this.props.app.pathForResource("xxx.html"), (result) => {

                });

from ios-rn-sdk.

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.