MCPcopy
hub / github.com/dcloudio/mui / openSystem

Function openSystem

plugin/share/plusShare.js:52–64  ·  view source on GitHub ↗
(msg, callback)

Source from the content-addressed store, hash-verified

50 };
51
52 function openSystem(msg, callback) {
53 if (plus.share.sendWithSystem) {
54 plus.share.sendWithSystem(msg, function() {
55 //TODO 系统分享暂不支持回调
56 //callback && callback(true);
57 }, function() {
58 //TODO 系统分享暂不支持回调
59 //callback && callback(false);
60 });
61 } else {
62 callback && callback(false);
63 }
64 }
65 var open = function(msg, callback) {
66 if (shareServices.weixin && isWechatInstalled()) {
67 plus.nativeUI.actionSheet({

Callers 1

openFunction · 0.85

Calls 1

callbackFunction · 0.85

Tested by

no test coverage detected