- App分享链接卡片给微信好友,自己看得到,对方看不到信息?
分享链接: https://www.kanfangjilu.com/team-houses/6334431f351ae90ad83d46c5?agent_id=62e13ab9c7b75e61f1571a05
2022-12-05 - App内分享文章到微信,朋友圈仅自己可见,好友看不到?(未设置尽自己可见或私密)
文章链接:https://mp.weixin.qq.com/s/_ZbPKr2XIqKQLURTHSd_8g wxAppId:wx84ef4b0064a3b863 微信号:NB5759
2021-09-26 - Android11分享图片到朋友圈提示图片不存在,预览图也不展示
1、我们的App 目标版本是26 2、用户的手机系统是Android 11 3、图片分享使用的FileProvider方式进行 4、其他版本的手机如9、10系统的, 分享朋友圈时,微信重启闪退两次; 发送给朋友时,微信正常调起,点击分享直接微信闪退,崩溃信息如下:第一个是朋友圈异常,第二个是朋友 授权代码: val contentUri = FileProvider.getUriForFile(context, "com.fanggeek.agent.fileprovider.CustomFileProvider", // 要与`AndroidManifest.xml`里配置的`authorities`一致,假设你的应用包名为com.example.app file) // 授权给微信访问路径 context.grantUriPermission("com.tencent.mm", // 这里填微信包名 contentUri, Intent.FLAG_GRANT_READ_URI_PERMISSION) return contentUri.toString() // contentUri.toString() 即是以"content://"开头的用于共享的路径 Process: com.tencent.mm, PID: 28806 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.tencent.mm/com.tencent.mm.plugin.sns.ui.SnsUploadUI}: java.lang.SecurityException: Permission Denial: opening provider com.fanggeek.agent.fileprovider.CustomFileProvider from ProcessRecord{a8520e1 28806:com.tencent.mm/u129a198} (pid=28806, uid=12910198) that is not exported from UID 10514 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3894) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4077) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2458) at android.os.Handler.dispatchMessage(Handler.java:110) at android.os.Looper.loop(Looper.java:219) at android.app.ActivityThread.main(ActivityThread.java:8375) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055) Caused by: java.lang.SecurityException: Permission Denial: opening provider com.fanggeek.agent.fileprovider.CustomFileProvider from ProcessRecord{a8520e1 28806:com.tencent.mm/u129a198} (pid=28806, uid=12910198) that is not exported from UID 10514 at android.os.Parcel.createException(Parcel.java:2071) at android.os.Parcel.readException(Parcel.java:2039) at android.os.Parcel.readException(Parcel.java:1987) at android.app.IActivityManager$Stub$Proxy.getContentProvider(IActivityManager.java:5092) at android.app.ActivityThread.acquireProvider(ActivityThread.java:7502) at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2939) at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:2155) at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1682) at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1514) at android.content.ContentResolver.openInputStream(ContentResolver.java:1198) at com.tencent.mm.vfs.ContentsSchemeResolver$ContentProviderFileSystem.openRead(SourceFile:58) at com.tencent.mm.vfs.a.bgz(SourceFile:22) at com.tencent.mm.vfs.NativeFileSystem.e(SourceFile:500) at com.tencent.mm.vfs.NativeFileSystem.f(SourceFile:34) at com.tencent.mm.vfs.NativeFileSystem$c.d(SourceFile:404) at com.tencent.mm.vfs.a.c(SourceFile:79) at com.tencent.mm.vfs.q.ne(SourceFile:352) at com.tencent.mm.plugin.sns.ui.ap.az(SourceFile:206) at com.tencent.mm.plugin.sns.ui.SnsUploadUI.aC(SourceFile:1911) at com.tencent.mm.plugin.sns.ui.SnsUploadUI.onCreate(SourceFile:256) at android.app.Activity.performCreate(Activity.java:8121) at android.app.Activity.performCreate(Activity.java:8109) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1320) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3867) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4077) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2458) at android.os.Handler.dispatchMessage(Handler.java:110) at android.os.Looper.loop(Looper.java:219) at android.app.ActivityThread.main(ActivityThread.java:8375) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055) Process: com.tencent.mm, PID: 21312 java.lang.SecurityException: Permission Denial: opening provider com.fanggeek.agent.fileprovider.CustomFileProvider from ProcessRecord{a693371 21312:com.tencent.mm/u129a198} (pid=21312, uid=12910198) that is not exported from UID 10514 at android.os.Parcel.createException(Parcel.java:2071) at android.os.Parcel.readException(Parcel.java:2039) at android.os.Parcel.readException(Parcel.java:1987) at android.app.IActivityManager$Stub$Proxy.getContentProvider(IActivityManager.java:5092) at android.app.ActivityThread.acquireProvider(ActivityThread.java:7502) at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2939) at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:2155) at android.content.ContentResolver.query(ContentResolver.java:939) at android.content.ContentResolver.query(ContentResolver.java:891) at android.content.ContentResolver.query(ContentResolver.java:840) at com.tencent.mm.vfs.ContentsSchemeResolver$ContentProviderFileSystem.bgD(SourceFile:85) at com.tencent.mm.vfs.q.bgN(SourceFile:231) at com.tencent.mm.ui.transmit.SendAppMessageWrapperUI.a(SourceFile:962) at com.tencent.mm.ui.transmit.SendAppMessageWrapperUI.a(SourceFile:26788) at com.tencent.mm.ui.transmit.SendAppMessageWrapperUI$7.a(SourceFile:718) at com.tencent.mm.pluginsdk.ui.applet.o$10.onClick(SourceFile:513) at com.tencent.mm.ui.widget.a.d$4.onClick(SourceFile:697) at android.view.View.performClick(View.java:7281) at android.view.View.performClickInternal(View.java:7255) at android.view.View.access$3600(View.java:828) at android.view.View$PerformClick.run(View.java:27924) at android.os.Handler.handleCallback(Handler.java:900) at android.os.Handler.dispatchMessage(Handler.java:103) at android.os.Looper.loop(Looper.java:219) at android.app.ActivityThread.main(ActivityThread.java:8375) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055) Caused by: android.os.RemoteException: Remote stack trace: at com.android.server.am.ActivityManagerService.getContentProviderImpl(libmapleservices.so:5651088) at com.android.server.am.ActivityManagerService.getContentProvider(libmapleservices.so:5668252) at android.app.IActivityManager$Stub.onTransact(libmapleframework.so:5488216) at com.android.server.am.ActivityManagerService.onTransact(libmapleservices.so:6774416) at com.android.server.am.HwActivityManagerService.onTransact(libmaplehwServices.so:1435196)
2020-12-23 - 微信分享SDK verison 5.5.8,微信版本7.0.14,操作分享朋友圈显示上次未发布内容
第一次分享朋友圈(web链接),编辑内容,未发布,返回 变更分享信息(title、desc等),再次操作分享朋友圈,调起微信还显示之前内容,分享卡片信息未变更 切换其他对象继续操作同样流程,每个对象均出现相同的问题,且都保留了各自第一次分享的内容,互不影响。但信息未更新。
2020-05-09