Giter Site home page Giter Site logo

ahzmr / cordova-plugin-baichuan Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 6.0 35.5 MB

Cordova plugin for Baichuan SDK (阿里百川Cordova插件)

License: Apache License 2.0

Java 4.44% Objective-C 94.07% Ruby 0.58% JavaScript 0.91%
baichuan-sdk cordova cordova-plugin-baichuan phonegap

cordova-plugin-baichuan's People

Contributors

ahzmr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cordova-plugin-baichuan's Issues

调用showpage方法的时候报错了

在调用 showpage方法的时候返回错误提示,no enum constant com.alibaba.baichuan.trade.biz.applink.adapter. AlicbFailModeType.AlibcNativeFailMode,
我检查了一下java代码里声明引入变量 只有到这个级别 com.alibaba.baichuan.trade.biz.applink.adapter. AlicbFailModeType,我尝试着加上那个变量但是会打包就失败,这是什么情况,谢谢

插件冲突,求指导,谢谢

Error: cmd: Command failed with exit code 1 Error output:
F:\workappusekey\ggbapp\platforms\android\AndroidManifest.xml:28:19-91 Error:
Attribute activity#com.alipay.sdk.app.H5PayActivity@configChanges value=(orientation|keyboardHidden|navigation|screenSize) from AndroidManifest.xml:28:19-91
is also present at [com.alibaba.sdk.android:alibc_trade_sdk:3.1.1.206] AndroidManifest.xml:44:13-74 value=(orientation|keyboardHidden|navigation).
Suggestion: add 'tools:replace="android:configChanges"' to element at AndroidManifest.xml:28:9-257 to override.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':processDebugManifest'.

Manifest merger failed : Attribute activity#com.alipay.sdk.app.H5PayActivity@configChanges value=(orientation|keyboardHidden|navigation|screenSize) from AndroidManifest.xml:28:19-91
is also present at [com.alibaba.sdk.android:alibc_trade_sdk:3.1.1.206] AndroidManifest.xml:44:13-74 value=(orientation|keyboardHidden|navigation).
Suggestion: add 'tools:replace="android:configChanges"' to element at AndroidManifest.xml:28:9-257 to override.

这是插件冲突的报错,然后按照建议添加代码之后,就会报加代码的地方出错,按照你的建议在application添加代码之后也会报添加的地方错,谢谢大神指导

boss,能加点儿演示吗?

大神,辛苦了啊
打包release版本,上传到百川,下载安全图片,把安全图片放到 /res/drawable 下,重新编译,手机运行,闪退。。。不知道啥情况

插件初始化失败

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

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

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

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

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

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

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

太厉害了大神,就是一句话,感激不尽!!!!!!!!!!!!

当我踌躇要不要换原生开发的时候,我不小心搜了一下baichuan.看来还是有大神存在的,忍不住留言支持.大神如果有需要,我们可以跟你一起写这个插件.您就是我黑暗中的萤火虫.迷一样的男子!!!

打release包报错,帮忙看看,谢谢

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Error: cmd: Command failed with exit code 1 Error output:
F:\workappusekey\ggbapp\platforms\android\src\com\zhijianhuo\cordova\plugin\BaichuanPlugin.java:131: ����: -source 1.6 �в�֧�� switch �д����ַ���
switch (action) {
^
(��ʹ�� -source 7 �����߰汾������ switch �д����ַ���)
ע: ijЩ�����ļ�ʹ�û򸲸����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
1 ������

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileReleaseJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

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.