9***@qq.com
9***@qq.com
  • 发布:2022-03-24 15:34
  • 更新:2023-08-21 14:15
  • 阅读:928

ios 15.3.1 plus.navigator.createShortcut 快捷方式

分类:HTML5+

ios 创建快捷方式时
版本 ios 15.3.1

plus.navigator.createShortcut 参数传递无法带过去
url地址是

localhost:13131/mKsHotCut.html?%7B%0A%20%20%22appid%22%20%3A%20%22UNIBBC836F%22%2C%0A%20%20%22extra%22%20%3A%20%7B%0A%20%20%20%20%22isModulePage%22%20%3A%20true%2C%0A%20%20%20%20%22title%22%20%3A%20%22代办%22%2C%0A%20%20%20%20%22force%22%20%3A%20true%2C%0A%20%20%20%20%22path%22%20%3A%20%22http%253A%252F%252F192.168.3.35%253A9000%252Fmobile%252Fpublic.html%253FACCESSTOKEN%253D%257Baccess_token%257D%2526ACCESSTOKENTYPE%253D%257Btoken_type%257D%2523%252Fapply%22%0A%20%20%7D%2C%0A%20%20%22name%22%20%3A%20%22代办%22%2C%0A%20%20%22icon%22%20%3A%20%22%5C%2Fvar%5C%2Fmobile%5C%2FContainers%5C%2FData%5C%2FApplication%5C%2FA78187B2-6B83-44EB-BA5F-DC9A3EB6163F%5C%2FDocuments%5C%2FPandora%5C%2Fapps%5C%2FUNIBBC836F%5C%2Fwww%5C%2Fstatic%5C%2Fimage%5C%2FshortCutImages%5C%2FbaseShortCut.png%22%0A%7D

ios 版本12.2


data:text/html;charset=UTF-8,%3Chtml%3E%3Chead%3E%3Cmeta%20charset=%22utf-8%22%3E%3Ctitle%3E%E4%BB%A3%E5%8A%9E%3C/title%3E%3Cmeta%20name=%22viewport%22%20content=%22width=device-width,%20initial-scale=1,maximum-scale=1,user-scalable=no%22%3E%3Cmeta%20name=%22apple-mobile-web-app-capable%22%20content=%22yes%22%3E%3Cmeta%20name=%22apple-mobile-web-app-status-bar-style%22%20content=%22black%22%3E%3Clink%20rel=%22apple-touch-icon%22%20%20href=%22data:image/png;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBYRXhpZgAATU0AKgAAA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68+UNjlWUZYKNv6Jk2GWGwFFWtOtFV6j6t1FeKf+Gnyx6ap6K9jwcXU9pXn2g+Rf9uvX75X7/jaPEV6hyhQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQB7h8HdcEMmqaJcyhYDGup2xdtqRurxW10oJyMyiS2YKMY8pzg5Jr5biTC8yw+KhG8uZ0J23aac6bej+G01t9pK6skenl1S3PSe3xrXTpGX33XX7j//0v7DZ5WnmmmcktNLJKxPUtI5ck9eST6/nX6tGKjGMVooxUUuySsvyPmJO7b7tv73ciqhBQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQBe0+/l0+ZpoiwZomiJUkHazxuenug/IehrOrSjWioz2UlLvqk13j37/db3rhN03ddrdV59PT+rs//9P+wiv1g+XCgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKAP//U/sIr9YPlwoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgD//1f7CK/WD5cKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoA//9b+wiv1g+XCgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKAP//X/sIr9YPlwoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgD//0P7CK/WD5cKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoA//9H+wiv1g+XCgAoAKACgAoAKACgAoAKACgAoAKAFAJIABJJwAOpPoOvJ+n50Aeg6H8M/E2sqk0lumlWjgMJtR3xSOvrFaKrXByCGUyrBG45WU9W8fF53gcLeKm8RUWnJRtKKf96pzcit1UXKS2a1Oulgq1SzaUIvrO6du6Wr++3l3PTNP+DeiQqDqOo6heyDGRAIbKAnuCpjupiPQidfXHOK8OtxLipNqjQo0l0c+apL704xv6wfZW3O2GXU18c5T9LRX/tz/H0vf3eij+F/gpBhtJkmI/ik1HUQT7/urmJf/HfzzmuJ59mj1WIUfJUaH/t1KX5+l9WbLBYb/n236zmvyb/T03I5vhZ4MlBCafcWxP8AFDqF6xHu

2022-03-24 15:34 负责人:无 分享
已邀请:
FullStack

FullStack - 【插件开发】【专治疑难杂症】【ios上架、马甲包、白包、过审、已成功上架过几百个】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=22130】【非诚勿扰】QQ:543610866

设置的参数是什么?完整的代码

  • 9***@qq.com (作者)

    代码我贴到下面的

    2022-03-24 16:52

  • 9***@qq.com (作者)

    plus.navigator.createShortcut({

    name: '标题',

    icon: '/var/mobile/Containers/Data/Application/422940EC-3703-432D-A10D-6B45D3F5CDED/Documents/Pandora/apps/B2B59B29CF6C5909A3ADF5115AECDD2D/www/static/image/shortCutImages/baseShortCut.png',

    extra: {

    "path": "http%3A%2F%2F192.168.3.35%3A9000%2Fmobile%2Fpublic.html%3FACCESSTOKEN%3D%7Baccess_token%7D%26ACCESSTOKENTYPE%3D%7Btoken_type%7D%23%2Fapply",

    "title": "代办"

    }

    }, function (event) {


            });

    2022-03-24 17:02

9***@qq.com

9***@qq.com (作者)

plus.navigator.createShortcut({
name: '标题',
icon: '/var/mobile/Containers/Data/Application/422940EC-3703-432D-A10D-6B45D3F5CDED/Documents/Pandora/apps/B2B59B29CF6C5909A3ADF5115AECDD2D/www/static/image/shortCutImages/baseShortCut.png',
extra: {
"path": "http%3A%2F%2F192.168.3.35%3A9000%2Fmobile%2Fpublic.html%3FACCESSTOKEN%3D%7Baccess_token%7D%26ACCESSTOKENTYPE%3D%7Btoken_type%7D%23%2Fapply",
"title": "代办"
}
}, function (event) {

            });
  • 1***@qq.com

    创建了快捷应用后,ios打开快捷应用怎么获取path

    2022-06-27 15:31

1***@qq.com

1***@qq.com

老哥,这个问题解决了吗?
ios能直接用plus.navigator.createShortcut 创建快捷方式吗?

要回复问题请先登录注册