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

插件初始化失败 #2

Open
dajavu opened this issue Oct 16, 2017 · 1 comment
Open

插件初始化失败 #2

dajavu opened this issue Oct 16, 2017 · 1 comment

Comments

@dajavu
Copy link

dajavu commented Oct 16, 2017

大神,我看您写的文档一两天了,试了很多次,都是失败。

我用的是ionic2
我引入plugin之后,直接在ts文件里调用,

Baichuan.auth('login', function(res){
  console.log(res)
});

打包App之后,控制器打印:插件初始化失败

您的:“安装前准备工作” 我都做了,是不是我在ts里面少写了什么,比如没有初始化?

还有您提供的www文件了的baichuan.js应该怎么使用?

小白,不太懂,如果您有时间解答下,不胜感激!

@dajavu
Copy link
Author

dajavu commented Oct 19, 2017

之后把百川的SDK放入libs目录就可以了

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