Code Monkey home page Code Monkey logo

Comments (5)

zxlie avatar zxlie commented on July 17, 2024

抱歉,我现在身边没有Android手机,抽空了会再看看。
你可以扫描一下zxlie/WeixinApi首页上的二维码,在线体验一下,看demo中的回调是否能被触发。
如果确实不行,应该本身就存在问题的。当然,你也可以拿一个微信官方页面上的源代码来分析一下,应该是一致的。
这个WeixinApi其实也是源自官方源码的整理。

原始邮件
发件人:[email protected]
收件人:zxlie/[email protected]
发送时间:2014年5月14日(周三) 11:17
主题:[WeixinApi] Android下的分享朋友圈回调无法解决? (#1)

Android下的分享朋友圈回调不会触发的问题,无法解决吗?

Reply to this email directly or view it on GitHub.

from weixinapi.

xieco avatar xieco commented on July 17, 2024

你好,我发现WeixinJSBridge WeixinJSBridge.invoke('sendAppMessage', {数据对象}, function (resp) {})这个方法调用时都没有发送到朋友圈,但已经执行回调了,是什么问题?其中appid为空,是不是那个引起的呢

from weixinapi.

zxlie avatar zxlie commented on July 17, 2024

你是直接调用这个API的么?如果是,貌似真不行的,另外,appid是可以为空的,非必选。

from weixinapi.

benbenye avatar benbenye commented on July 17, 2024

分享到朋友圈的时候,已经调用了// 分享成功
confirm : function(resp) {

    },

然后取消回来的时候调用 all()
// 整个分享过程结束
all : function(resp) {
document.getElementById('pengyouquan-bg').style.display='';
}


为什么不是cancel()?

from weixinapi.

zxlie avatar zxlie commented on July 17, 2024

@benbenye Android上的微信取消分享,是客户端的Bug,js api层面无法避开:http://www.baidufe.com/item/4bdcde11a024c63df3af.html

from weixinapi.

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.