diff --git a/Editor/WXPluginVersion.cs b/Editor/WXPluginVersion.cs
index cfb3c958..deb389cb 100644
--- a/Editor/WXPluginVersion.cs
+++ b/Editor/WXPluginVersion.cs
@@ -2,7 +2,7 @@
{
public class WXPluginVersion
{
- public static string pluginVersion = "202410091311"; // 这一行不要改他,导出的时候会自动替换
+ public static string pluginVersion = "202410100241"; // 这一行不要改他,导出的时候会自动替换
}
public class WXPluginConf
diff --git a/Editor/wx-editor.dll b/Editor/wx-editor.dll
index 4d20a352..4b64e5ea 100644
Binary files a/Editor/wx-editor.dll and b/Editor/wx-editor.dll differ
diff --git a/Runtime/Plugins/LitJson.dll b/Runtime/Plugins/LitJson.dll
index 93d00558..d1ce0182 100644
Binary files a/Runtime/Plugins/LitJson.dll and b/Runtime/Plugins/LitJson.dll differ
diff --git a/Runtime/Plugins/SDK-Call-JS.jslib b/Runtime/Plugins/SDK-Call-JS.jslib
index 40ee0f5f..86495b1b 100644
--- a/Runtime/Plugins/SDK-Call-JS.jslib
+++ b/Runtime/Plugins/SDK-Call-JS.jslib
@@ -116,9 +116,6 @@ WX_GetLocalIPAddress:function(conf, callbackId) {
WX_GetNetworkType:function(conf, callbackId) {
window.WXWASMSDK.WX_GetNetworkType(_WXPointer_stringify_adaptor(conf), _WXPointer_stringify_adaptor(callbackId));
},
-WX_GetPhoneNumber:function(conf, callbackId) {
- window.WXWASMSDK.WX_GetPhoneNumber(_WXPointer_stringify_adaptor(conf), _WXPointer_stringify_adaptor(callbackId));
-},
WX_GetPrivacySetting:function(conf, callbackId) {
window.WXWASMSDK.WX_GetPrivacySetting(_WXPointer_stringify_adaptor(conf), _WXPointer_stringify_adaptor(callbackId));
},
@@ -414,6 +411,9 @@ WX_OpenBusinessView:function(conf, callbackId) {
WX_ExitPointerLock:function() {
window.WXWASMSDK.WX_ExitPointerLock();
},
+WX_GetPhoneNumber:function(option){
+ window.WXWASMSDK.WX_GetPhoneNumber(_WXPointer_stringify_adaptor(option));
+},
WX_OperateGameRecorderVideo:function(option){
window.WXWASMSDK.WX_OperateGameRecorderVideo(_WXPointer_stringify_adaptor(option));
},
diff --git a/Runtime/Plugins/wx-perf.dll b/Runtime/Plugins/wx-perf.dll
index 0ca180ea..ad8fc316 100644
Binary files a/Runtime/Plugins/wx-perf.dll and b/Runtime/Plugins/wx-perf.dll differ
diff --git a/Runtime/Plugins/wx-runtime-editor.dll b/Runtime/Plugins/wx-runtime-editor.dll
index 3de767b2..849b971e 100644
Binary files a/Runtime/Plugins/wx-runtime-editor.dll and b/Runtime/Plugins/wx-runtime-editor.dll differ
diff --git a/Runtime/Plugins/wx-runtime-editor.xml b/Runtime/Plugins/wx-runtime-editor.xml
index 1951388b..47926c8b 100644
--- a/Runtime/Plugins/wx-runtime-editor.xml
+++ b/Runtime/Plugins/wx-runtime-editor.xml
@@ -6215,16 +6215,6 @@
是否处于弱网环境
-
-
- 接口调用结束的回调函数(调用成功、失败都会执行)
-
-
-
-
- 接口调用失败的回调函数
-
-
手机号实时验证,向用户申请,并在用户同意后,快速填写和实时验证手机号 [具体说明](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/getRealtimePhoneNumber.html)。
@@ -6235,11 +6225,6 @@
当手机号快速验证或手机号实时验证额度用尽时,是否对用户展示“申请获取你的手机号,但该功能使用次数已达当前小程序上限,暂时无法使用”的提示,默认展示。
-
-
- 接口调用成功的回调函数
-
-
接口调用结束的回调函数(调用成功、失败都会执行)
diff --git a/Runtime/Plugins/wx-runtime.dll b/Runtime/Plugins/wx-runtime.dll
index 69f94f24..1a817d32 100644
Binary files a/Runtime/Plugins/wx-runtime.dll and b/Runtime/Plugins/wx-runtime.dll differ
diff --git a/Runtime/Plugins/wx-runtime.xml b/Runtime/Plugins/wx-runtime.xml
index 60cadf54..48004165 100644
--- a/Runtime/Plugins/wx-runtime.xml
+++ b/Runtime/Plugins/wx-runtime.xml
@@ -6221,16 +6221,6 @@
是否处于弱网环境
-
-
- 接口调用结束的回调函数(调用成功、失败都会执行)
-
-
-
-
- 接口调用失败的回调函数
-
-
手机号实时验证,向用户申请,并在用户同意后,快速填写和实时验证手机号 [具体说明](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/getRealtimePhoneNumber.html)。
@@ -6241,11 +6231,6 @@
当手机号快速验证或手机号实时验证额度用尽时,是否对用户展示“申请获取你的手机号,但该功能使用次数已达当前小程序上限,暂时无法使用”的提示,默认展示。
-
-
- 接口调用成功的回调函数
-
-
接口调用结束的回调函数(调用成功、失败都会执行)
diff --git a/Runtime/WX.cs b/Runtime/WX.cs
index b67d1e2e..195185ef 100644
--- a/Runtime/WX.cs
+++ b/Runtime/WX.cs
@@ -489,11 +489,6 @@ namespace WeChatWASM
/// [wx.getChannelsLiveInfo(Object object)](https://developers.weixin.qq.com/minigame/dev/api/open-api/channels/wx.getChannelsLiveInfo.html)
/// 需要基础库: `2.15.0`
/// 获取视频号直播信息
- /// **常见错误码说明**
- /// 100008 视频号需要认证
- /// 40097 入参异常
- /// 1416104 视频号获取到的数据为空
- /// 1416100 非法的视频号id
///
public static void GetChannelsLiveInfo(GetChannelsLiveInfoOption callback)
{
@@ -734,18 +729,6 @@ namespace WeChatWASM
WXSDKManagerHandler.Instance.GetNetworkType(callback);
}
- ///
- /// [wx.getPhoneNumber(Object object)](https://developers.weixin.qq.com/minigame/dev/api/open-api/user-info/wx.getPhoneNumber.html)
- /// 手机号快速验证,向用户申请,并在用户同意后,快速填写和验证手机 [具体说明](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/getPhoneNumber.html)
- /// ****
- /// ## 注意事项
- /// - 用户点击后才可进行调用
- ///
- public static void GetPhoneNumber(GetPhoneNumberOption callback)
- {
- WXSDKManagerHandler.Instance.GetPhoneNumber(callback);
- }
-
///
/// [wx.getPrivacySetting(Object object)](https://developers.weixin.qq.com/minigame/dev/api/open-api/privacy/wx.getPrivacySetting.html)
/// 需要基础库: `2.32.3`
@@ -2550,6 +2533,18 @@ namespace WeChatWASM
WXSDKManagerHandler.Instance.ExitPointerLock();
}
+ ///
+ /// [wx.getPhoneNumber(Object object)](https://developers.weixin.qq.com/minigame/dev/api/open-api/user-info/wx.getPhoneNumber.html)
+ /// 手机号快速验证,向用户申请,并在用户同意后,快速填写和验证手机 [具体说明](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/getPhoneNumber.html)
+ /// ****
+ /// ## 注意事项
+ /// - 用户点击后才可进行调用
+ ///
+ public static void GetPhoneNumber(GetPhoneNumberOption option)
+ {
+ WXSDKManagerHandler.Instance.GetPhoneNumber(option);
+ }
+
///
/// [wx.operateGameRecorderVideo(Object object)](https://developers.weixin.qq.com/minigame/dev/api/game-recorder/wx.operateGameRecorderVideo.html)
/// 需要基础库: `2.26.1`
@@ -2690,7 +2685,7 @@ namespace WeChatWASM
/// 主动拉起转发,进入选择通讯录界面。
/// ****
/// ## 注意事项
- /// - 转发图片说明:imageUrl,imageUrlId 都存在时,优先使用 imageUrl。 imageUrl,imageUrlId 都不填时使用游戏画面截图。
+ /// - 转发图片说明:仅当自定义分享图片权限被封禁时用 imageUrlId,其他情况都会用 imageUrl。 imageUrl 不填时使用游戏画面截图。
///
public static void ShareAppMessage(ShareAppMessageOption option)
{
@@ -3495,7 +3490,7 @@ namespace WeChatWASM
/// 监听用户点击右上角菜单的「分享到朋友圈」按钮时触发的事件。本接口为 Beta 版本,暂只在 Android 平台支持。
/// ****
/// ## 注意事项
- /// - 转发图片说明:imageUrl,imageUrlId 都存在时,优先使用 imageUrl。 imageUrl,imageUrlId 都不填时使用当前游戏的icon。
+ /// - 转发图片说明:仅当自定义分享图片权限被封禁时用 imageUrlId,其他情况都会用 imageUrl。 imageUrl 不填时使用当前游戏的icon。
///
public static void OnShareTimeline(Action> callback)
{
diff --git a/Runtime/wechat-default/check-version.js.meta b/Runtime/wechat-default/check-version.js.meta
index f4c62992..2a38634a 100644
--- a/Runtime/wechat-default/check-version.js.meta
+++ b/Runtime/wechat-default/check-version.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 67eb1b60f86e26f99f0f64e1599e5a26
+guid: e6783705c28eaef4672ca75f62b966cf
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/data-package/game.js.meta b/Runtime/wechat-default/data-package/game.js.meta
index 50e33dfd..488762e1 100644
--- a/Runtime/wechat-default/data-package/game.js.meta
+++ b/Runtime/wechat-default/data-package/game.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: b0089db3764feeef9cfc0a822253256d
+guid: d332772e4e95de47e14196363ce5a03f
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/events.js.meta b/Runtime/wechat-default/events.js.meta
index 15d945bf..26d079f4 100644
--- a/Runtime/wechat-default/events.js.meta
+++ b/Runtime/wechat-default/events.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 93cbf00b70818bd9aaf8fb5313a0956a
+guid: b981327dc0eb757920494ffb9fddbeeb
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/game.js.meta b/Runtime/wechat-default/game.js.meta
index 70973fb9..5ebef6e5 100644
--- a/Runtime/wechat-default/game.js.meta
+++ b/Runtime/wechat-default/game.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: c54f58cb571b135f19925e6fb4ead3e4
+guid: 21e2f58825fef3e112e6803d04a888e9
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/game.json.meta b/Runtime/wechat-default/game.json.meta
index fbe8c483..4b06e7f7 100644
--- a/Runtime/wechat-default/game.json.meta
+++ b/Runtime/wechat-default/game.json.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: dbbd80118f9a5a773ed6da1eec42d4dc
+guid: 5b740b482e49fcc6f1d3ea73e8c4fa74
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/images/background.jpg.meta b/Runtime/wechat-default/images/background.jpg.meta
index 618004f7..b13188e1 100644
--- a/Runtime/wechat-default/images/background.jpg.meta
+++ b/Runtime/wechat-default/images/background.jpg.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: b283da5b8075b8bd7b20739c5c49990c
+guid: ba7a6e55e5e60663d2cc7c0f2302c106
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/images/unity_logo.png.meta b/Runtime/wechat-default/images/unity_logo.png.meta
index 049bd011..d42306ef 100644
--- a/Runtime/wechat-default/images/unity_logo.png.meta
+++ b/Runtime/wechat-default/images/unity_logo.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 3bb3d1e7bbd75b2b7ebfcb7641fa29b0
+guid: f7607642afad3014bcf903f59bc13df2
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/data/index.js.meta b/Runtime/wechat-default/open-data/data/index.js.meta
index f85ab795..ea9a39ab 100644
--- a/Runtime/wechat-default/open-data/data/index.js.meta
+++ b/Runtime/wechat-default/open-data/data/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 6ce920ebc85c4c651d6f1186e3613d20
+guid: cf1c0ed437a569576a24459eec20212a
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/data/utils.js.meta b/Runtime/wechat-default/open-data/data/utils.js.meta
index c68793ae..62f7b1fd 100644
--- a/Runtime/wechat-default/open-data/data/utils.js.meta
+++ b/Runtime/wechat-default/open-data/data/utils.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 9317da35b5bf326fc9e43cd383104e5a
+guid: a96fa6a56ecc567d6fd2e75d806fe120
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/index.js.meta b/Runtime/wechat-default/open-data/index.js.meta
index 6321ec63..1ef7cc83 100644
--- a/Runtime/wechat-default/open-data/index.js.meta
+++ b/Runtime/wechat-default/open-data/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 6d195975de19987c71a35c146c29b127
+guid: f49034ef9e95fdd727d7c65c3d4e02dd
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/loading.js.meta b/Runtime/wechat-default/open-data/loading.js.meta
index e3a65a47..13327424 100644
--- a/Runtime/wechat-default/open-data/loading.js.meta
+++ b/Runtime/wechat-default/open-data/loading.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 31bce56a83eb5f582bf7912a88091dcb
+guid: 8cca025b002728fdebfb735721996732
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/avatar.png.meta b/Runtime/wechat-default/open-data/render/image/avatar.png.meta
index 12c7c59d..7cd8ddfc 100644
--- a/Runtime/wechat-default/open-data/render/image/avatar.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/avatar.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 92d1671c7e13a880e4aa8c8863ae63cb
+guid: 99e68b6021c371a2d75e3ae609690f77
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/button1.png.meta b/Runtime/wechat-default/open-data/render/image/button1.png.meta
index 8231c197..fbb988fb 100644
--- a/Runtime/wechat-default/open-data/render/image/button1.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/button1.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: e7656483e31169103f9f8a854a54b147
+guid: bcd07778b08c8d2e1f2ed63dc82404e1
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/button2.png.meta b/Runtime/wechat-default/open-data/render/image/button2.png.meta
index 19ce14db..2efdf569 100644
--- a/Runtime/wechat-default/open-data/render/image/button2.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/button2.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: ff14bb5b50d9668f2bbb1c954327911a
+guid: 1f782627ba63dcf16b619180ac586c4f
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/button3.png.meta b/Runtime/wechat-default/open-data/render/image/button3.png.meta
index 778bd786..1bd23006 100644
--- a/Runtime/wechat-default/open-data/render/image/button3.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/button3.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 173b3ed51046bd5c69a32e97da9eb739
+guid: 2a8c603eed0409bc2ffc8b1347deb62b
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/loading.png.meta b/Runtime/wechat-default/open-data/render/image/loading.png.meta
index d4fe7ab7..1c5d6eda 100644
--- a/Runtime/wechat-default/open-data/render/image/loading.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/loading.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 84cd3705caf093b78dccd347fb180458
+guid: 6e449de33f122dccd712a9c760e2056f
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/nameBg.png.meta b/Runtime/wechat-default/open-data/render/image/nameBg.png.meta
index 9adf7ba3..b6e676e3 100644
--- a/Runtime/wechat-default/open-data/render/image/nameBg.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/nameBg.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 9b3e514142725874cfc8a94098f3122d
+guid: 56d80d95e7f207deb70916f84eacc0fd
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/rankAvatar.png.meta b/Runtime/wechat-default/open-data/render/image/rankAvatar.png.meta
index 01e51d2c..7b388c99 100644
--- a/Runtime/wechat-default/open-data/render/image/rankAvatar.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/rankAvatar.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 934bb7aab49341bbe84c42a3ccd4210a
+guid: cab8d48cb6bea736384eef96bf54db99
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/rankBg.png.meta b/Runtime/wechat-default/open-data/render/image/rankBg.png.meta
index f3191217..cac632bc 100644
--- a/Runtime/wechat-default/open-data/render/image/rankBg.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/rankBg.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 6346d7949bcffa6e5d8c03366ac41aec
+guid: 11749a74a2b1dc933a6c989de8f45ea4
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/shareBg.png.meta b/Runtime/wechat-default/open-data/render/image/shareBg.png.meta
index a5996df9..165f7a16 100644
--- a/Runtime/wechat-default/open-data/render/image/shareBg.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/shareBg.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: f0a2aa7802e3e3ddc55c23e1d10eccc3
+guid: c0b785ece80414bef1609ff012b1b405
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/shareBg2.png.meta b/Runtime/wechat-default/open-data/render/image/shareBg2.png.meta
index 31e48fde..b414cc37 100644
--- a/Runtime/wechat-default/open-data/render/image/shareBg2.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/shareBg2.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: fb3d69186072065e1a20e016d68fc777
+guid: 009f5120ddbb465c0f97fc48ad20bdc2
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/styles/friendRank.js.meta b/Runtime/wechat-default/open-data/render/styles/friendRank.js.meta
index 69dd6fdb..fdbef4b2 100644
--- a/Runtime/wechat-default/open-data/render/styles/friendRank.js.meta
+++ b/Runtime/wechat-default/open-data/render/styles/friendRank.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 0820d2de31d272e832a0eaf28e6ecde1
+guid: b5809448aa2282ba99457aac96684b0b
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/styles/tips.js.meta b/Runtime/wechat-default/open-data/render/styles/tips.js.meta
index b03a7ff1..f1d28529 100644
--- a/Runtime/wechat-default/open-data/render/styles/tips.js.meta
+++ b/Runtime/wechat-default/open-data/render/styles/tips.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: fd486aba6f26b5287a2b27e47d675751
+guid: 48d941ba3883b5f1ca05a29e236f095f
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/tpls/friendRank.js.meta b/Runtime/wechat-default/open-data/render/tpls/friendRank.js.meta
index f63d8d95..65e9bb68 100644
--- a/Runtime/wechat-default/open-data/render/tpls/friendRank.js.meta
+++ b/Runtime/wechat-default/open-data/render/tpls/friendRank.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 385289fe27d0ac26653016ebb4030f95
+guid: 33d7724aaf6aa2bf5357f1936e46fdf5
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/tpls/tips.js.meta b/Runtime/wechat-default/open-data/render/tpls/tips.js.meta
index 8c2fc304..ca6b4e59 100644
--- a/Runtime/wechat-default/open-data/render/tpls/tips.js.meta
+++ b/Runtime/wechat-default/open-data/render/tpls/tips.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 1ef801d7532030fde0f647714f560493
+guid: 2cf8c9f3cf0fe0112195f5a8f4529364
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/plugin-config.js.meta b/Runtime/wechat-default/plugin-config.js.meta
index d4b449e7..7493f745 100644
--- a/Runtime/wechat-default/plugin-config.js.meta
+++ b/Runtime/wechat-default/plugin-config.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 5b97b5d70e6b733fdfebc5d5a8739e39
+guid: fd7e91bb66ca437cb4918f4497e3b63e
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/plugins/check-update.js.meta b/Runtime/wechat-default/plugins/check-update.js.meta
index 84f9dd41..39404e27 100644
--- a/Runtime/wechat-default/plugins/check-update.js.meta
+++ b/Runtime/wechat-default/plugins/check-update.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 15760e9fd44556a3b70da8858e657631
+guid: db8a6806bfba2c25f03a32f0e8d37f42
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/plugins/screen-adapter.js.meta b/Runtime/wechat-default/plugins/screen-adapter.js.meta
index dd8f580f..0729a024 100644
--- a/Runtime/wechat-default/plugins/screen-adapter.js.meta
+++ b/Runtime/wechat-default/plugins/screen-adapter.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: f9879cc01635441006a1159ea60778f3
+guid: 59d3a039fbe06792a2e1167994c993d1
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/project.config.json.meta b/Runtime/wechat-default/project.config.json.meta
index 13b0b73c..861860b6 100644
--- a/Runtime/wechat-default/project.config.json.meta
+++ b/Runtime/wechat-default/project.config.json.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: d54ecabc5a93b8d7badb80eae7330c10
+guid: d242e1682b58ac26e360370cc05fbd14
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/texture-config.js.meta b/Runtime/wechat-default/texture-config.js.meta
index ab93b2d8..26c960b6 100644
--- a/Runtime/wechat-default/texture-config.js.meta
+++ b/Runtime/wechat-default/texture-config.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 1f7552d57b3bc05a343f3bb5997893f7
+guid: 37a52ad32cdf7533e36c43300518fe35
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-namespace.js.meta b/Runtime/wechat-default/unity-namespace.js.meta
index a6a6fe13..c27050ae 100644
--- a/Runtime/wechat-default/unity-namespace.js.meta
+++ b/Runtime/wechat-default/unity-namespace.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: c987125a34f8221008e087f02af6dea2
+guid: 73f5885426cd64293e1af7cb9b87e474
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/TCPSocket/index.js.meta b/Runtime/wechat-default/unity-sdk/TCPSocket/index.js.meta
index 60209a60..a3fbfec4 100644
--- a/Runtime/wechat-default/unity-sdk/TCPSocket/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/TCPSocket/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 0eecc13bbf4ad68939caea35520346bb
+guid: cb7dcd0ec43b9355a094080c7f1c77ea
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/UDPSocket/index.js.meta b/Runtime/wechat-default/unity-sdk/UDPSocket/index.js.meta
index 80f1f884..5ebed945 100644
--- a/Runtime/wechat-default/unity-sdk/UDPSocket/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/UDPSocket/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 090b335fe73e42949860d765f51540b1
+guid: 30bd6b7db9cef67b056e9ba91d2a8895
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/ad.js.meta b/Runtime/wechat-default/unity-sdk/ad.js.meta
index 19eb1485..720bf3e8 100644
--- a/Runtime/wechat-default/unity-sdk/ad.js.meta
+++ b/Runtime/wechat-default/unity-sdk/ad.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 247549b875473293dbc5ccbd13a7e948
+guid: a978c7bb465b265907d5c55b125fa9b3
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/audio/common.js.meta b/Runtime/wechat-default/unity-sdk/audio/common.js.meta
index 6641dd1e..e96fa34c 100644
--- a/Runtime/wechat-default/unity-sdk/audio/common.js.meta
+++ b/Runtime/wechat-default/unity-sdk/audio/common.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: b4ce0b57ba17bf0cb3899ad70ac2dd13
+guid: 645b7ef6e2b5222a77a86cae11008ccd
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/audio/const.js.meta b/Runtime/wechat-default/unity-sdk/audio/const.js.meta
index 3e4d6631..e11c6abb 100644
--- a/Runtime/wechat-default/unity-sdk/audio/const.js.meta
+++ b/Runtime/wechat-default/unity-sdk/audio/const.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: cef20590fd719efd77fc1dcb6ffefd6a
+guid: af77ef38c8fb37557a3a9961883846f5
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/audio/index.js.meta b/Runtime/wechat-default/unity-sdk/audio/index.js.meta
index 43df6f1d..4caec199 100644
--- a/Runtime/wechat-default/unity-sdk/audio/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/audio/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 4390fb7ac0157f17db7ec1203d2ec812
+guid: a9d6016f6d5ed1e3ae48d2276d5fdb1a
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/audio/inner-audio.js.meta b/Runtime/wechat-default/unity-sdk/audio/inner-audio.js.meta
index 914f53ca..b39b0580 100644
--- a/Runtime/wechat-default/unity-sdk/audio/inner-audio.js.meta
+++ b/Runtime/wechat-default/unity-sdk/audio/inner-audio.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 9e1ebf5d8ae5ba8fef2a896583b4261a
+guid: e76eb9c5f891eb5afec971f1b91e095a
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/audio/store.js.meta b/Runtime/wechat-default/unity-sdk/audio/store.js.meta
index 156fb6a7..6bac9edf 100644
--- a/Runtime/wechat-default/unity-sdk/audio/store.js.meta
+++ b/Runtime/wechat-default/unity-sdk/audio/store.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 7b980efc8e9f88ed34e9a986f2358c15
+guid: 04c0dab47e65b6b4e1c8740f4ebdaa51
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/audio/unity-audio.js.meta b/Runtime/wechat-default/unity-sdk/audio/unity-audio.js.meta
index 0c84d30d..a6fec662 100644
--- a/Runtime/wechat-default/unity-sdk/audio/unity-audio.js.meta
+++ b/Runtime/wechat-default/unity-sdk/audio/unity-audio.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 57e85de5187cbd301a056285356ce448
+guid: 2797a72781ac47124c73e292cf59a10a
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/audio/utils.js.meta b/Runtime/wechat-default/unity-sdk/audio/utils.js.meta
index 53d09cf0..b0933170 100644
--- a/Runtime/wechat-default/unity-sdk/audio/utils.js.meta
+++ b/Runtime/wechat-default/unity-sdk/audio/utils.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 7b3f84d3b2b64210d0a8d58d6430057f
+guid: 2861fa3f13d80304ae942c6d9fd36ec8
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/authorize.js.meta b/Runtime/wechat-default/unity-sdk/authorize.js.meta
index e9df9e60..f78ecde7 100644
--- a/Runtime/wechat-default/unity-sdk/authorize.js.meta
+++ b/Runtime/wechat-default/unity-sdk/authorize.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 47464e8994130837c492f76d1d7dcd12
+guid: 59d8e2b4d3a45e00fe06bd9314ff3588
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/bluetooth/index.js.meta b/Runtime/wechat-default/unity-sdk/bluetooth/index.js.meta
index 305ac347..26b52e1c 100644
--- a/Runtime/wechat-default/unity-sdk/bluetooth/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/bluetooth/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 19747bc4085d8abb05c4d73675dd5d3f
+guid: 2c9ea3171a146d5a6a10374259b78b12
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/camera.js.meta b/Runtime/wechat-default/unity-sdk/camera.js.meta
index 5179cd4a..f207e1fa 100644
--- a/Runtime/wechat-default/unity-sdk/camera.js.meta
+++ b/Runtime/wechat-default/unity-sdk/camera.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: c7570fd15026c9d1c58eef0343fc7efe
+guid: bd19c15c2a314cd4dfc5b5e0a3b3df6a
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/canvas-context.js.meta b/Runtime/wechat-default/unity-sdk/canvas-context.js.meta
index 71146002..d882c8c1 100644
--- a/Runtime/wechat-default/unity-sdk/canvas-context.js.meta
+++ b/Runtime/wechat-default/unity-sdk/canvas-context.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 8f1ca63c84028241be35e7652d0fff78
+guid: a5d44e3594ce081c74657c4d7299db5e
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/canvas.js.meta b/Runtime/wechat-default/unity-sdk/canvas.js.meta
index 693d86d7..ce8fa25a 100644
--- a/Runtime/wechat-default/unity-sdk/canvas.js.meta
+++ b/Runtime/wechat-default/unity-sdk/canvas.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 49532fbc34378a0dd3ab7d96d17b4850
+guid: 2a3938d65b841305509b6b053b95f76c
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/chat.js.meta b/Runtime/wechat-default/unity-sdk/chat.js.meta
index 0aabb3a0..b7023645 100644
--- a/Runtime/wechat-default/unity-sdk/chat.js.meta
+++ b/Runtime/wechat-default/unity-sdk/chat.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 5775d981150e9083cebdc2fa193507c5
+guid: 2426bdd53bc1fd3ca76339d70801fe60
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/cloud.js.meta b/Runtime/wechat-default/unity-sdk/cloud.js.meta
index 697f59cb..a9294567 100644
--- a/Runtime/wechat-default/unity-sdk/cloud.js.meta
+++ b/Runtime/wechat-default/unity-sdk/cloud.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: e2ffba55d0a189759cef10b0e8aaa3a3
+guid: b27ae92d1a96fbd3c6b10eae46c55321
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/conf.js.meta b/Runtime/wechat-default/unity-sdk/conf.js.meta
index 3d8089f7..72d68ef9 100644
--- a/Runtime/wechat-default/unity-sdk/conf.js.meta
+++ b/Runtime/wechat-default/unity-sdk/conf.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: eb3b14bb329f2b6123985669cfe3d344
+guid: e5bf0bc00aaca39e348a23bca281b534
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/file-info.js.meta b/Runtime/wechat-default/unity-sdk/file-info.js.meta
index 71e1ae60..e6406d7c 100644
--- a/Runtime/wechat-default/unity-sdk/file-info.js.meta
+++ b/Runtime/wechat-default/unity-sdk/file-info.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: b9c7cea0ff59ff341026e4d1b494f5b6
+guid: 62229894bc9e0dd1f6ea7e299cddc487
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/fix.js.meta b/Runtime/wechat-default/unity-sdk/fix.js.meta
index f3819dc7..e7a833fc 100644
--- a/Runtime/wechat-default/unity-sdk/fix.js.meta
+++ b/Runtime/wechat-default/unity-sdk/fix.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 1f0f23dacba790110b028121fedead20
+guid: 49ec5c153f18219420752e807d41064e
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/font/fix-cmap.js.meta b/Runtime/wechat-default/unity-sdk/font/fix-cmap.js.meta
index 6269914e..61a90ede 100644
--- a/Runtime/wechat-default/unity-sdk/font/fix-cmap.js.meta
+++ b/Runtime/wechat-default/unity-sdk/font/fix-cmap.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 2dad61cef859b9b777565a012687121d
+guid: 1b96f9660e2f800a0400df2d9a94ef58
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/font/index.js.meta b/Runtime/wechat-default/unity-sdk/font/index.js.meta
index 803dba18..8b80b70e 100644
--- a/Runtime/wechat-default/unity-sdk/font/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/font/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 9014bdf6c7bc47f521e8f3accc3d3326
+guid: 3877622582d98fadd217faffa1cf82f8
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/font/read-metrics.js.meta b/Runtime/wechat-default/unity-sdk/font/read-metrics.js.meta
index a847f1c5..30385fac 100644
--- a/Runtime/wechat-default/unity-sdk/font/read-metrics.js.meta
+++ b/Runtime/wechat-default/unity-sdk/font/read-metrics.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: d3630b475b3182ed63c03ef64ecee629
+guid: c50e805b3c3e0dc55d5102912867fda9
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/font/split-sc.js.meta b/Runtime/wechat-default/unity-sdk/font/split-sc.js.meta
index 117ba42d..03685289 100644
--- a/Runtime/wechat-default/unity-sdk/font/split-sc.js.meta
+++ b/Runtime/wechat-default/unity-sdk/font/split-sc.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: cb5c75ec5d51e2c20a9510c6ca6a6af7
+guid: 5224c42321dd415948b50e5c134ae3f7
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/font/util.js.meta b/Runtime/wechat-default/unity-sdk/font/util.js.meta
index f7304f19..a3850af5 100644
--- a/Runtime/wechat-default/unity-sdk/font/util.js.meta
+++ b/Runtime/wechat-default/unity-sdk/font/util.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 3598a3830914bfb13142f96e81ec68ed
+guid: 4ab11c6cd8f82c1dc0b9d974ab2f6d55
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/fs.js.meta b/Runtime/wechat-default/unity-sdk/fs.js.meta
index b68cfc9f..b7c5931c 100644
--- a/Runtime/wechat-default/unity-sdk/fs.js.meta
+++ b/Runtime/wechat-default/unity-sdk/fs.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 2b5f8158cca52f21dd4c6bbe9b43af53
+guid: 2b9a402a0e444fe2b1a2a15cffd20b66
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/game-club.js.meta b/Runtime/wechat-default/unity-sdk/game-club.js.meta
index c3592a85..42f19faf 100644
--- a/Runtime/wechat-default/unity-sdk/game-club.js.meta
+++ b/Runtime/wechat-default/unity-sdk/game-club.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 7587a56de11a586274e7117482ee9058
+guid: dc233b749d4327c795d0e5a5f089b388
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/game-recorder.js.meta b/Runtime/wechat-default/unity-sdk/game-recorder.js.meta
index f632cebe..c1b5cb9a 100644
--- a/Runtime/wechat-default/unity-sdk/game-recorder.js.meta
+++ b/Runtime/wechat-default/unity-sdk/game-recorder.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 8cea0eac6ec9429d2968458aa607fb57
+guid: 2a8b3aa0e93d34411d5284ff137a07ab
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/gyroscope/index.js.meta b/Runtime/wechat-default/unity-sdk/gyroscope/index.js.meta
index 6a6a8c69..9dfd7c3c 100644
--- a/Runtime/wechat-default/unity-sdk/gyroscope/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/gyroscope/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 422be23e575ccefac3178027e949bfd8
+guid: 23eb7ff7ffab59a8839e5c58ba100cf5
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/index.js.meta b/Runtime/wechat-default/unity-sdk/index.js.meta
index 7551ba47..447daddb 100644
--- a/Runtime/wechat-default/unity-sdk/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: aa3b105a1516480d4119384b8712416f
+guid: a5ad8f27343eb9a6b357e0d5a421bb4b
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/logger.js.meta b/Runtime/wechat-default/unity-sdk/logger.js.meta
index 00c37023..d8bfe951 100644
--- a/Runtime/wechat-default/unity-sdk/logger.js.meta
+++ b/Runtime/wechat-default/unity-sdk/logger.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 8b3263cdced3c840a4de6b73b2658aba
+guid: 5087b0034b3898f9b3050788a499c061
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/mobileKeyboard/index.js.meta b/Runtime/wechat-default/unity-sdk/mobileKeyboard/index.js.meta
index 1a8e409e..e100eb21 100644
--- a/Runtime/wechat-default/unity-sdk/mobileKeyboard/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/mobileKeyboard/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 361962aaba0d7085ab4dc81f5ea9f034
+guid: c1ebd7553508f08b2f9a61ee08ca5e13
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/module-helper.js.meta b/Runtime/wechat-default/unity-sdk/module-helper.js.meta
index a57794d9..1dcee0c4 100644
--- a/Runtime/wechat-default/unity-sdk/module-helper.js.meta
+++ b/Runtime/wechat-default/unity-sdk/module-helper.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 9e09dc75e5e48b20233189e677fd1775
+guid: bf8046085687cd98d50cbee239ff1c82
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/open-data.js.meta b/Runtime/wechat-default/unity-sdk/open-data.js.meta
index 39df77b7..098b5d2f 100644
--- a/Runtime/wechat-default/unity-sdk/open-data.js.meta
+++ b/Runtime/wechat-default/unity-sdk/open-data.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: abc995aa08c359893d44a85616b26bcd
+guid: 37474c957711bde755eaf36b509a0b5b
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/recorder.js.meta b/Runtime/wechat-default/unity-sdk/recorder.js.meta
index f4993f1b..4ca80528 100644
--- a/Runtime/wechat-default/unity-sdk/recorder.js.meta
+++ b/Runtime/wechat-default/unity-sdk/recorder.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 41d455ab1910ee3f80bc5e4da9f5082d
+guid: 1c603a29dee8487d17831379cdcf0f94
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/resType.js b/Runtime/wechat-default/unity-sdk/resType.js
index 7ce705b8..29bf16b5 100644
--- a/Runtime/wechat-default/unity-sdk/resType.js
+++ b/Runtime/wechat-default/unity-sdk/resType.js
@@ -574,6 +574,10 @@ export const ResType = {
weakNet: 'bool',
errMsg: 'string',
},
+ GetPhoneNumberOption: {
+ isRealtime: 'bool',
+ phoneNumberNoQuotaToast: 'bool',
+ },
GetPrivacySettingSuccessCallbackResult: {
needAuthorization: 'bool',
privacyContractName: 'string',
diff --git a/Runtime/wechat-default/unity-sdk/resType.js.meta b/Runtime/wechat-default/unity-sdk/resType.js.meta
index a6d7fb08..aa4484de 100644
--- a/Runtime/wechat-default/unity-sdk/resType.js.meta
+++ b/Runtime/wechat-default/unity-sdk/resType.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 82fa6815ca9707acb4552834b3546eb0
+guid: dce8bd9efc254d54a6f0e450b4703a35
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/resTypeOther.js.meta b/Runtime/wechat-default/unity-sdk/resTypeOther.js.meta
index 35ab28d3..60031b6e 100644
--- a/Runtime/wechat-default/unity-sdk/resTypeOther.js.meta
+++ b/Runtime/wechat-default/unity-sdk/resTypeOther.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 382d3f8523177c694d3da647b555ea55
+guid: 0f7b4260580aa8af42cae283e2876ca5
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/response.js.meta b/Runtime/wechat-default/unity-sdk/response.js.meta
index 05f5b90e..a16177bb 100644
--- a/Runtime/wechat-default/unity-sdk/response.js.meta
+++ b/Runtime/wechat-default/unity-sdk/response.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 7eaa3eee095f0773e5f0c14feb05123c
+guid: 9ec97318f438f8674ab572dd6b719c75
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/sdk.js b/Runtime/wechat-default/unity-sdk/sdk.js
index cb4fc1e8..40798030 100644
--- a/Runtime/wechat-default/unity-sdk/sdk.js
+++ b/Runtime/wechat-default/unity-sdk/sdk.js
@@ -998,30 +998,6 @@ export default {
},
});
},
- WX_GetPhoneNumber(conf, callbackId) {
- const config = formatJsonStr(conf);
- wx.getPhoneNumber({
- ...config,
- success(res) {
- formatResponse('GeneralCallbackResult', res);
- moduleHelper.send('GetPhoneNumberCallback', JSON.stringify({
- callbackId, type: 'success', res: JSON.stringify(res),
- }));
- },
- fail(res) {
- formatResponse('GeneralCallbackResult', res);
- moduleHelper.send('GetPhoneNumberCallback', JSON.stringify({
- callbackId, type: 'fail', res: JSON.stringify(res),
- }));
- },
- complete(res) {
- formatResponse('GeneralCallbackResult', res);
- moduleHelper.send('GetPhoneNumberCallback', JSON.stringify({
- callbackId, type: 'complete', res: JSON.stringify(res),
- }));
- },
- });
- },
WX_GetPrivacySetting(conf, callbackId) {
const config = formatJsonStr(conf);
wx.getPrivacySetting({
@@ -3359,6 +3335,9 @@ export default {
WX_ExitPointerLock() {
wx.exitPointerLock();
},
+ WX_GetPhoneNumber(option) {
+ wx.getPhoneNumber(formatJsonStr(option));
+ },
WX_OperateGameRecorderVideo(option) {
wx.operateGameRecorderVideo(formatJsonStr(option));
},
diff --git a/Runtime/wechat-default/unity-sdk/sdk.js.meta b/Runtime/wechat-default/unity-sdk/sdk.js.meta
index 38a12d0d..ebd79170 100644
--- a/Runtime/wechat-default/unity-sdk/sdk.js.meta
+++ b/Runtime/wechat-default/unity-sdk/sdk.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: a8df2f6870516d7cce37b63a497d5ffd
+guid: 9b77d294da6b51a9636d99d16ddd76b3
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/share.js.meta b/Runtime/wechat-default/unity-sdk/share.js.meta
index 36b7c562..461e3d31 100644
--- a/Runtime/wechat-default/unity-sdk/share.js.meta
+++ b/Runtime/wechat-default/unity-sdk/share.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 51a6aafbfa76347cf416acafc8aed4ac
+guid: c21c3fc4b39d3ef5f017b17f09b3cf66
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/storage.js.meta b/Runtime/wechat-default/unity-sdk/storage.js.meta
index 226f8ce2..13638a07 100644
--- a/Runtime/wechat-default/unity-sdk/storage.js.meta
+++ b/Runtime/wechat-default/unity-sdk/storage.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: b7ece084002b4aa243fe3850db65acd5
+guid: 9d1f0cdb15a731e09ee5a416bfe266e0
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/texture.js.meta b/Runtime/wechat-default/unity-sdk/texture.js.meta
index dcc0bc89..4e9284bf 100644
--- a/Runtime/wechat-default/unity-sdk/texture.js.meta
+++ b/Runtime/wechat-default/unity-sdk/texture.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 47e09d2c99c64a9ee288eae3f50226f9
+guid: 192ada6a3324bd51ba75d8c537d2514a
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/touch/index.js.meta b/Runtime/wechat-default/unity-sdk/touch/index.js.meta
index 963a5a5d..39350dfe 100644
--- a/Runtime/wechat-default/unity-sdk/touch/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/touch/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: c1f47b1948c17a8a7e82f9a226372138
+guid: f3e062a9412e85562b11048e4cbfb7c6
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/upload-file.js.meta b/Runtime/wechat-default/unity-sdk/upload-file.js.meta
index 067a59b0..48c397fc 100644
--- a/Runtime/wechat-default/unity-sdk/upload-file.js.meta
+++ b/Runtime/wechat-default/unity-sdk/upload-file.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 7ec6bd5d37fc4edc0d8b26fa29da4e15
+guid: e27c6a36a6f6f778dcb6242493b1ed68
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/userinfo.js.meta b/Runtime/wechat-default/unity-sdk/userinfo.js.meta
index 88894175..786b642d 100644
--- a/Runtime/wechat-default/unity-sdk/userinfo.js.meta
+++ b/Runtime/wechat-default/unity-sdk/userinfo.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: a716a82382ed1e9acfa4f66610f1f270
+guid: 51d5432e2529bc111be0e7d75e61a03f
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/util.js.meta b/Runtime/wechat-default/unity-sdk/util.js.meta
index ffa26891..748d5380 100644
--- a/Runtime/wechat-default/unity-sdk/util.js.meta
+++ b/Runtime/wechat-default/unity-sdk/util.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 6288291ff8d2788c7c92c304beaf251d
+guid: 8176df5b6e5bdc7ea206210ca5e13831
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/utils.js.meta b/Runtime/wechat-default/unity-sdk/utils.js.meta
index 339c529f..f1dbe022 100644
--- a/Runtime/wechat-default/unity-sdk/utils.js.meta
+++ b/Runtime/wechat-default/unity-sdk/utils.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 033f168f1096f3e6d31f3e4093e41696
+guid: 10af6913f0a0d68aa350745a63b30452
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/video.js.meta b/Runtime/wechat-default/unity-sdk/video.js.meta
index 725a85fd..db031fa8 100644
--- a/Runtime/wechat-default/unity-sdk/video.js.meta
+++ b/Runtime/wechat-default/unity-sdk/video.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 6c8cac327a64845b5be4d4dc8c58f7a0
+guid: d2f5066a21077631277c83cba5e8916a
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/video/index.js.meta b/Runtime/wechat-default/unity-sdk/video/index.js.meta
index 9c141eb4..2c916184 100644
--- a/Runtime/wechat-default/unity-sdk/video/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/video/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: cab17ee437522be73e417bd4261703b1
+guid: 6abc8f5b1ded21ff42f952503c2a0997
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/wasmcode/game.js.meta b/Runtime/wechat-default/wasmcode/game.js.meta
index 91f52d11..2a201f3d 100644
--- a/Runtime/wechat-default/wasmcode/game.js.meta
+++ b/Runtime/wechat-default/wasmcode/game.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: fd9301ed211b0ad97cc5d94668946998
+guid: 260722be52c6cdb108977a13f89caceb
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/weapp-adapter.js.meta b/Runtime/wechat-default/weapp-adapter.js.meta
index 22fc7dd3..e305e526 100644
--- a/Runtime/wechat-default/weapp-adapter.js.meta
+++ b/Runtime/wechat-default/weapp-adapter.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: adae30c69f00c6eee0737ce43d1cd1cf
+guid: 8c2e3e9f95837aae5c7dfa35114c5f81
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/workers/response/index.js.meta b/Runtime/wechat-default/workers/response/index.js.meta
index a5dc6d1b..3de8ad80 100644
--- a/Runtime/wechat-default/workers/response/index.js.meta
+++ b/Runtime/wechat-default/workers/response/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: f51e597dfc73c640bf038cafe8b9dc1e
+guid: 76800542f94fcbd1cade7dcef56a46c8
DefaultImporter:
externalObjects: {}
userData:
diff --git a/WebGLTemplates/WXTemplate/index.html b/WebGLTemplates/WXTemplate/index.html
index c56c9dc1..94072bb2 100644
--- a/WebGLTemplates/WXTemplate/index.html
+++ b/WebGLTemplates/WXTemplate/index.html
@@ -416,7 +416,6 @@
WX_GetInferenceEnvInfo(conf, callbackId){},
WX_GetLocalIPAddress(conf, callbackId){},
WX_GetNetworkType(conf, callbackId){},
- WX_GetPhoneNumber(conf, callbackId){},
WX_GetPrivacySetting(conf, callbackId){},
WX_GetScreenBrightness(conf, callbackId){},
WX_GetScreenRecordingState(conf, callbackId){},
@@ -516,6 +515,7 @@
WX_OpenBusinessView(conf, callbackId){},
WX_ExitPointerLock() {},
+ WX_GetPhoneNumber() {},
WX_OperateGameRecorderVideo() {},
WX_RemoveStorageSync() {},
WX_ReportEvent() {},
diff --git a/WebGLTemplates/WXTemplate2020/index.html b/WebGLTemplates/WXTemplate2020/index.html
index 16fefe78..0898164e 100644
--- a/WebGLTemplates/WXTemplate2020/index.html
+++ b/WebGLTemplates/WXTemplate2020/index.html
@@ -488,7 +488,6 @@
WX_GetInferenceEnvInfo(conf, callbackId){},
WX_GetLocalIPAddress(conf, callbackId){},
WX_GetNetworkType(conf, callbackId){},
- WX_GetPhoneNumber(conf, callbackId){},
WX_GetPrivacySetting(conf, callbackId){},
WX_GetScreenBrightness(conf, callbackId){},
WX_GetScreenRecordingState(conf, callbackId){},
@@ -588,6 +587,7 @@
WX_OpenBusinessView(conf, callbackId){},
WX_ExitPointerLock() {},
+ WX_GetPhoneNumber() {},
WX_OperateGameRecorderVideo() {},
WX_RemoveStorageSync() {},
WX_ReportEvent() {},
diff --git a/WebGLTemplates/WXTemplate2022/index.html b/WebGLTemplates/WXTemplate2022/index.html
index f97b1ff8..5a72d381 100755
--- a/WebGLTemplates/WXTemplate2022/index.html
+++ b/WebGLTemplates/WXTemplate2022/index.html
@@ -565,7 +565,6 @@
WX_GetInferenceEnvInfo(conf, callbackId){},
WX_GetLocalIPAddress(conf, callbackId){},
WX_GetNetworkType(conf, callbackId){},
- WX_GetPhoneNumber(conf, callbackId){},
WX_GetPrivacySetting(conf, callbackId){},
WX_GetScreenBrightness(conf, callbackId){},
WX_GetScreenRecordingState(conf, callbackId){},
@@ -665,6 +664,7 @@
WX_OpenBusinessView(conf, callbackId){},
WX_ExitPointerLock() {},
+ WX_GetPhoneNumber() {},
WX_OperateGameRecorderVideo() {},
WX_RemoveStorageSync() {},
WX_ReportEvent() {},