MCPcopy Create free account
hub / github.com/CoderOpen/waimai / memo

Function memo

front/common/permission.js:130–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128}
129
130function memo() {
131 var result = null;
132 var EKEventStore = plus.ios.import("EKEventStore");
133 var ekAuthStatus = EKEventStore.authorizationStatusForEntityType(1);
134 if (ekAuthStatus == 3) {
135 result = 1;
136 console.log("备忘录权限已经开启");
137 } else {
138 console.log("备忘录权限没有开启");
139 }
140 plus.ios.deleteObject(EKEventStore);
141 return result;
142}
143
144
145function requestIOS(permissionID) {

Callers 1

requestIOSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected