菜单文字后面增加了一个图标,导致菜单显示不全, 这个算微信官方bug [图片]
公众号菜单栏显示问题?看到有些公众号菜单栏名称后边自动加上了小程序或者H5网页的图标,这个是微信新增加的功能还是bug?[图片]
07-15补充一下,我们这个程序用了好多年了, 1个月前升级了1.6的分享api updateTimelineShareData:fail 一直正常的。
公众号网页不能分享失败 wx.config失败 2021.12.24突然不能用了?12/24 今天突然不能用微信分享了, 开发者工具提示: showMenuItems:fail, the permission value is offline verifying updateTimelineShareData:fail, the permission value is offline verifying 手机端显示,如图: [图片]
2021-12-24同问,为什么优衣库可以, 难道还有贵贱之分?
公众号内的h5页面直接代开微信小程序,看到优衣库可以,但是复制链接是mp.weixin.qq.com请问有什么办法么,还是我对优衣库的公众号有误解
2020-05-08我也遇这个问题,但确认appid没用错, 应用签名,大小写都试过,帮我看原因 [代码]package[代码] [代码]com.example.myapplication3;[代码] [代码]import[代码] [代码]android.content.BroadcastReceiver;[代码][代码]import[代码] [代码]android.content.Context;[代码][代码]import[代码] [代码]android.content.Intent;[代码][代码]import[代码] [代码]android.content.IntentFilter;[代码][代码]import[代码] [代码]android.os.Bundle;[代码][代码]import[代码] [代码]android.util.Log;[代码][代码]import[代码] [代码]android.view.View;[代码][代码]import[代码] [代码]android.widget.Toast;[代码] [代码]import[代码] [代码]androidx.appcompat.app.AppCompatActivity;[代码] [代码]import[代码] [代码]com.tencent.mm.opensdk.constants.ConstantsAPI;[代码][代码]import[代码] [代码]com.tencent.mm.opensdk.modelbiz.WXLaunchMiniProgram;[代码][代码]import[代码] [代码]com.tencent.mm.opensdk.openapi.IWXAPI;[代码][代码]import[代码] [代码]com.tencent.mm.opensdk.openapi.WXAPIFactory;[代码] [代码]public[代码] [代码]class[代码] [代码]MainActivity [代码][代码]extends[代码] [代码]AppCompatActivity {[代码][代码] [代码][代码]public[代码] [代码]static[代码] [代码]final[代码] [代码]String TAG = MainActivity.[代码][代码]class[代码][代码].getSimpleName();[代码] [代码] [代码][代码]// APP_ID 替换为你的应用从官方网站申请到的合法appID[代码][代码] [代码][代码]private[代码] [代码]static[代码] [代码]final[代码] [代码]String APP_ID = [代码][代码]"wx82d0****fe25eb40"[代码][代码];[代码] [代码] [代码][代码]// IWXAPI 是第三方app和微信通信的openApi接口[代码][代码] [代码][代码]private[代码] [代码]IWXAPI api;[代码] [代码] [代码][代码]private[代码] [代码]BroadcastReceiver broadcastReceiver;[代码] [代码] [代码][代码]private[代码] [代码]void[代码] [代码]regToWx() {[代码][代码] [代码][代码]// 通过WXAPIFactory工厂,获取IWXAPI的实例[代码][代码] [代码][代码]api = WXAPIFactory.createWXAPI([代码][代码]this[代码][代码], APP_ID, [代码][代码]true[代码][代码]);[代码] [代码] [代码][代码]// 将应用的appId注册到微信[代码][代码] [代码][代码]api.registerApp(APP_ID);[代码] [代码] [代码][代码]broadcastReceiver = [代码][代码]new[代码] [代码]BroadcastReceiver() {[代码][代码] [代码][代码]@Override[代码][代码] [代码][代码]public[代码] [代码]void[代码] [代码]onReceive(Context context, Intent intent) {[代码] [代码] [代码][代码]// 将该app注册到微信[代码][代码] [代码][代码]api.registerApp(APP_ID);[代码][代码] [代码][代码]}[代码][代码] [代码][代码]};[代码] [代码] [代码][代码]//建议动态监听微信启动广播进行注册到微信[代码][代码] [代码][代码]registerReceiver(broadcastReceiver, [代码][代码]new[代码] [代码]IntentFilter(ConstantsAPI.ACTION_REFRESH_WXAPP));[代码] [代码] [代码][代码]}[代码] [代码] [代码][代码]// 调启我的小程序[代码][代码] [代码][代码]private[代码] [代码]void[代码] [代码]goMiniProgram(){[代码][代码] [代码][代码]WXLaunchMiniProgram.Req req = [代码][代码]new[代码] [代码]WXLaunchMiniProgram.Req();[代码][代码] [代码][代码]req.userName = [代码][代码]"wxbd6534d10790****"[代码][代码]; [代码][代码]// 填小程序原始id[代码][代码] [代码][代码]req.path = [代码][代码]"pages/index/index"[代码][代码]; [代码][代码]//拉起小程序页面的可带参路径,不填默认拉起小程序首页[代码][代码] [代码][代码]req.miniprogramType = WXLaunchMiniProgram.Req.MINIPTOGRAM_TYPE_RELEASE; [代码][代码]//.MINIPTOGRAM_TYPE_RELEASE; // 可选打开 开发版,体验版和正式版[代码][代码] [代码][代码]api.sendReq(req);[代码][代码] [代码][代码]}[代码] [代码] [代码][代码]@Override[代码][代码] [代码][代码]protected[代码] [代码]void[代码] [代码]onCreate(Bundle savedInstanceState) {[代码][代码] [代码][代码]super[代码][代码].onCreate(savedInstanceState);[代码][代码] [代码][代码]setContentView(R.layout.activity_main);[代码] [代码] [代码][代码]// 注册到微信[代码][代码] [代码][代码]this[代码][代码].regToWx();[代码][代码] [代码][代码]}[代码] [代码] [代码][代码]public[代码] [代码]void[代码] [代码]clickToWX(View view){[代码][代码] [代码][代码]Log.i(TAG,TAG+[代码][代码]"clickToWX"[代码][代码]);[代码][代码] [代码][代码]Toast.makeText([代码][代码]this[代码][代码], [代码][代码]"点击跳转到小程序"[代码][代码], Toast.LENGTH_LONG).show();[代码][代码] [代码][代码]this[代码][代码].goMiniProgram();[代码][代码] [代码][代码]}[代码] [代码] [代码][代码]@Override[代码][代码] [代码][代码]protected[代码] [代码]void[代码] [代码]onDestroy() {[代码][代码] [代码][代码]super[代码][代码].onDestroy();[代码] [代码] [代码][代码]Log.i(TAG,TAG+[代码][代码]"onDestroy***********************************************"[代码][代码]);[代码][代码] [代码][代码]if[代码][代码](broadcastReceiver!= [代码][代码]null[代码][代码]){[代码][代码] [代码][代码]unregisterReceiver(broadcastReceiver);[代码][代码] [代码][代码]}[代码] [代码] [代码][代码]}[代码][代码]}[代码] [图片] [图片] [图片] [图片]
Android端app拉起微信小程序跳转提示“跳转失败” 不知道为何?IWXAPI api = WXAPIFactory.createWXAPI(context, appId, false); WXLaunchMiniProgram.Req req = new WXLaunchMiniProgram.Req(); req.userName = userId; if (TextUtils.isEmpty(path)) { req.path = ""; } else { req.path = path; } if (TextUtils.isEmpty(mini)) { req.miniprogramType = WXLaunchMiniProgram.Req.MINIPTOGRAM_TYPE_RELEASE; } else { req.miniprogramType = WXLaunchMiniProgram.Req.MINIPROGRAM_TYPE_PREVIEW; } api.sendReq(req); 微信版本7.0.6 appId: wx516f09ef989c1298 userId,req.userName: gh_b52e04a0100c path=""; mini=""; req.miniprogramType = WXLaunchMiniProgram.Req.MINIPTOGRAM_TYPE_RELEASE; compile 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+'
2019-11-25