开发者社区 问答 正文

调用nfc读卡接口出错

钉钉版本    2.8.1
机型    lg g3
系统    android6
调用的jsapi    dd.biz.nfc.nfcRead
返回的错误    {"errorCode:7,"errorMessage":"Not authorized"}
这是什么原因

展开
收起
hehua0733 2016-04-21 11:10:21 4073 分享 版权
1 条回答
写回答
取消 提交回答
  • 回 楼主(hehua0733) 的帖子
    亲,jsapi方法名字是:
    dd.device.nfc.nfcRead({

            onSuccess : function(data) {
             /*
            {
                content: 'alibaba-inc',
            }
            */
            },
            onFail : function(err) {}
    });
    2016-04-21 22:38:42
    赞同 展开评论
问答分类:
问答地址: