- 小程序获取不到unionid?
小程序调用wx.login获取code后,将code上传服务器,能获取到openid,概率性(十分之一)获取不到unionid,请问怎么解决?
2020-09-24 - 公众号中启动小程序,启动失败
在公众号中启动小程序,启动失败,系统log如下: M01D6E2 09-17 14:05:58.053 16759 16759 E Instrumentation: Uninitialized ActivityThread, likely app-created Instrumentation, disabling AppComponentFactory M01D6E2 09-17 14:05:58.053 16759 16759 E Instrumentation: java.lang.Throwable M01D6E2 09-17 14:05:58.053 16759 16759 E Instrumentation: at android.app.Instrumentation.getFactory(Instrumentation.java:1225) M01D6E2 09-17 14:05:58.053 16759 16759 E Instrumentation: at android.app.Instrumentation.newActivity(Instrumentation.java:1216) M01D6E2 09-17 14:05:58.053 16759 16759 E Instrumentation: at com.tencent.mm.splash.k.newActivity(SourceFile:61) M01D6E2 09-17 14:05:58.053 16759 16759 E Instrumentation: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2864) M01D6E2 09-17 14:05:58.053 16759 16759 E Instrumentation: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3115) M01D6E2 09-17 14:05:58.053 16759 16759 E Instrumentation: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78) M01D6E2 09-17 14:05:58.053 16759 16759 E Instrumentation: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) M01D6E2 09-17 14:05:58.053 16759 16759 E Instrumentation: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) M01D6E2 09-17 14:05:58.053 16759 16759 E Instrumentation: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1833) M01D6E2 09-17 14:05:58.053 16759 16759 E Instrumentation: at android.os.Handler.dispatchMessage(Handler.java:106) M01D6E2 09-17 14:05:58.053 16759 16759 E Instrumentation: at android.os.Looper.loop(Looper.java:193) M01D6E2 09-17 14:05:58.053 16759 16759 E Instrumentation: at android.app.ActivityThread.main(ActivityThread.java:6933) M01D6E2 09-17 14:05:58.053 16759 16759 E Instrumentation: at java.lang.reflect.Method.invoke(Native Method) M01D6E2 09-17 14:05:58.053 16759 16759 E Instrumentation: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:504) M01D6E2 09-17 14:05:58.053 16759 16759 E Instrumentation: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
2020-09-22 - 微信基础库更新到2.12.2后map组件polyline出bug了
[图片] 这里用的是复制官方文档的代码 polyline: [{ points: [{ longitude: 113.3245211, latitude: 23.10229 }, { longitude: 113.324520, latitude: 23.21229 }], color:"#FF0000DD", width: 2, dottedLine: true }],
2020-09-07 - 发现map组件的polyline有问题
polyline: [{ points: [{ longitude: 113.3245211, latitude: 23.10229 }, { longitude: 113.324520, latitude: 23.21229 }], color:"#FF0000DD", width: 2, dottedLine: true }], 按照官方文档写的这段代码,开发工具是好的,一到真机上就不行了,调试模式发现,原来是花括号在真机被强行转成数组了 手机上的截图: 开发工具上的截图:
2020-09-07 - 能否在使用高德地图JS API?
高德地图微信小程序的SDK提供的功能较小,是否能够t通过JS API,生成一个H5页面,在微信小程序内用webview调用?这种方式调用方式是否会在审核的时候不通过?
2020-06-19