Wechat official account JS-SDK sharing moments function, IOS invalid

Wechat official account has been certified. Using the JS-SDK sharing moments feature, Android tests are fine, some iPhones are normal, some are ineffective.
ios has no effect as follows. When sharing moments, clicking on publish moments has no effect, but in another case, when sharing moments, click cancel sharing (that is, click the cancel or back button to exit the publish moments interface), and it will be effective to return.

the js version of JS-SDK I have retreated from 1. 4 to 1. 0 again and again is the same. This is JS-SDK "s BUG?. The code listed below is

. Android is fine. Apple uses two XS, and one Apple 7 test, only one Apple XS does not share without any problems. After sharing successfully, aaa pops up. The other xs and 7 will pop up aaa only when sharing moments. Click "cancel" to post moments, without any effect. All the users tested above have been tested in Wechat developer tools. Wechat developer tools do not have any problems, but they have problems with their own mobile phones (because they are all bound to developers and can be tested in Wechat developer tools).

wx.ready(function(){
      wx.onMenuShareTimeline({
          title: title, // 
          link: link, // JS
          imgUrl: imgUrl, // 
          success: function () {
              alert("aaa");
          }
      });
});

later, I changed it to

.
wx.ready(function(){
      wx.onMenuShareTimeline({
          title: title, // 
          link: link, // JS
          imgUrl: imgUrl, // 
          trigger: function (res) {
              alert("");
          },
          success: function (res) {
              alert("");
          },
          cancel: function (res) {
              alert("");
          },
          fail: function (res) {
              alert("");
          }
      });
  });

only trigger has callback, and everything else has no effect. I know that Tencent has changed the interface to success, because there is no callback in success.

Mar.02,2022

for single-page applications, url needs special treatment.


ios url signature

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e442bd-650ab.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e442bd-650ab.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?