{"id":415782,"date":"2024-06-30T00:34:28","date_gmt":"2024-06-30T00:34:28","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=415782"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=415782","title":{"rendered":"<span>\u041c\u0435\u0441\u044f\u0447\u043d\u0430\u044f \u0437\u0430\u0440\u0443\u0431\u0430 \u0441 Apple. \u0412\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c On-Demand Resources. \u0427\u0430\u0441\u0442\u044c 1<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/0ec\/cee\/f46\/0ecceef4604d0ac48b21dada62f56744.png\" width=\"1560\" height=\"880\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0ec\/cee\/f46\/0ecceef4604d0ac48b21dada62f56744.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u043e\u0432\u0435\u0434\u0430\u044e \u0432\u0430\u043c \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u0432 \u0434\u0432\u0443\u0445 \u0447\u0430\u0441\u0442\u044f\u0445 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043c\u044b \u0431\u043e\u0440\u043e\u043b\u0438\u0441\u044c \u0441 \u043c\u043e\u0434\u0435\u0440\u0430\u0446\u0438\u0435\u0439 Apple \u043d\u0430 \u043f\u0440\u043e\u0442\u044f\u0436\u0435\u043d\u0438\u0438 \u043c\u0435\u0441\u044f\u0446\u0430, \u043f\u043e\u0431\u0435\u0434\u0438\u043b\u0438 \u0438\u0445, \u043d\u043e \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0440\u0435\u0448\u0438\u043b\u0438 \u0438\u0433\u0440\u0430\u0442\u044c \u043f\u043e \u0438\u0445 \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c. \u0412 \u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u044f \u0434\u0430\u043c \u0432\u0430\u043c \u043f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044e \u0438 \u0441\u043f\u043e\u0441\u043e\u0431 \u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u044f <strong>On-Demand Resources<\/strong>. \u0412\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u044d\u0442\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0441\u0432\u044f\u0437\u0430\u0442\u044c \u0441 <strong>WKWebView<\/strong> \u0438 \u043d\u0435 \u0441\u043e\u0439\u0442\u0438 \u0441 \u0443\u043c\u0430.<\/p>\n<hr\/>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 <strong>WKWebView<\/strong> \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0435\u0433\u043e, \u043d\u0435\u0436\u0435\u043b\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0435 \u0441\u0441\u044b\u043b\u043e\u043a, \u0442\u043e \u0440\u0430\u043d\u043e \u0438\u043b\u0438 \u043f\u043e\u0437\u0434\u043d\u043e \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c\u0441\u044f \u0441 \u0440\u0435\u0434\u0436\u0435\u043a\u0442\u043e\u043c \u043f\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435 <strong>Guideline 4.7 &#8212; Design &#8212; HTML5 Games, Bots, etc<\/strong>.<strong> <\/strong>\u042d\u0442\u043e \u043d\u0430\u0441\u0442\u0438\u0433\u043b\u043e \u0438 \u043d\u0430\u0441 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 Zaruba. <\/p>\n<p>Zaruba \u2013 \u044d\u0442\u043e \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u043c \u0447\u0430\u0442\u043e\u043c \u0438 HTML5 \u0438\u0433\u0440\u0430\u043c\u0438, \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u043c\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 <strong>WKWebView<\/strong> \u0447\u0435\u0440\u0435\u0437 script bridging. \u0412\u0441\u0435 \u0438\u0433\u0440\u044b \u0433\u0440\u0443\u0437\u0438\u043b\u0438\u0441\u044c \u043f\u043e \u043f\u0440\u044f\u043c\u043e\u0439 https \u0441\u0441\u044b\u043b\u043a\u0435 \u0438 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043b\u0438 \u0441 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c \u0447\u0435\u0440\u0435\u0437 <strong>WKScriptMessageHandler<\/strong>. \u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043b\u043e \u043c\u043e\u0434\u0435\u0440\u0430\u0446\u0438\u044e, \u043d\u043e \u0432 \u043e\u0434\u0438\u043d \u043c\u043e\u043c\u0435\u043d\u0442 \u043c\u044b \u0441\u043b\u043e\u0432\u0438\u043b\u0438 \u0440\u0435\u0434\u0436\u0435\u043a\u0442:<\/p>\n<blockquote>\n<p><strong>Guideline 4.7 &#8212; Design &#8212; HTML5 Games, Bots, etc.<\/strong><\/p>\n<p>We noticed that your app includes code that is not embedded in the binary, but the software does not fulfill all of the requirements outlined in Guideline 4.7 of the App Store Review Guidelines or you have not provided us with an index of the software available in your app.<\/p>\n<p>It would be appropriate to remove any and all script bridging support for remote content associated with the games, including [GameOnReadyHandler userContentController:didReceiveScriptMessage:] and [GameUpdateStateHandler userContentController:didReceiveScriptMessage:].\u00a0<\/p>\n<\/blockquote>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043c\u043e\u0434\u0435\u0440\u0430\u0446\u0438\u0438 \u0441 \u043d\u0430\u0434\u0435\u0436\u0434\u043e\u0439 <em>\u0430\u0432\u043e\u0441\u044c \u043f\u0440\u043e\u043a\u0430\u0442\u0438\u0442 \u043a\u0430\u043a \u0440\u0430\u043d\u044c\u0448\u0435<\/em>, \u043c\u044b \u0443\u0433\u043e\u0434\u0438\u043b\u0438 \u043d\u0430 pull-review \u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u043a\u0430\u0436\u0434\u0443\u044e \u043d\u0430\u0448\u0443 \u0441\u0431\u043e\u0440\u043a\u0443 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0438\u0437-\u0437\u0430 \u0447\u0435\u0433\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0440\u0435\u0432\u044c\u044e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u043b\u043e\u0441\u044c \u0434\u043e 5-8 \u0434\u043d\u0435\u0439.<\/p>\n<p>Long story short, Apple \u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c UIWebView-\u043c\u043e\u0441\u0442 \u0434\u043b\u044f \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441 \u0438\u0433\u0440\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u0432 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 Apple \u043f\u0440\u043e \u043d\u0438\u0445 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u043d\u0430\u0435\u0442. <em>\u041f\u0440\u0430\u0432\u0434\u0430 \u0438\u0445 \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0438\u0433\u0440\u0430\u0442\u044c, \u043d\u043e \u043e\u0431 \u044d\u0442\u043e\u043c \u0434\u0430\u043b\u0435\u0435.<\/em> <\/p>\n<h2>\u041f\u043e \u043f\u0443\u0442\u0438 \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0435\u0433\u043e \u0441\u043e\u043f\u0440\u043e\u0442\u0438\u0432\u043b\u0435\u043d\u0438\u044f<\/h2>\n<p>\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u043d\u0430 On-Demand Resources \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0438\u0437-\u0437\u0430 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f \u0441\u043a\u043e\u043b\u044c \u0431\u044b \u0442\u043e \u043d\u0438 \u0431\u044b\u043b\u043e \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u0438 \u044d\u0442\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u0438, \u043a\u0430\u043a \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435, \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438 \u0437\u0430\u0442\u0440\u0430\u0442\u0430\u043c\u0438. <\/p>\n<p>\u041c\u044b \u0432\u044b\u0434\u0432\u0438\u043d\u0443\u043b\u0438 \u0442\u0435\u043e\u0440\u0438\u044e, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0441\u043a\u0440\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0445\u044d\u043d\u0434\u043b\u0435\u0440\u043e\u0432 <strong>GameOnReadyHandler<\/strong> \u0438 <strong>GameUpdateStateHandler<\/strong>, \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0432 \u0438\u0445 \u0432 \u043e\u0434\u0438\u043d \u0445\u044d\u043d\u0434\u043b\u0435\u0440 \u043d\u0430 \u0441\u0432\u0438\u0447\u0430\u0445. \u0422\u0430\u043a \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u043b\u0438 <strong>GameEventsHandler<\/strong>.<\/p>\n<pre><code class=\"swift\">enum GameEvent: String, CaseIterable {     case start = \"init\"     ... }  protocol GameEventsHandlerDelegate: AnyObject {     func didStart()     ... }  final class GameEventsHandler: NSObject, WKScriptMessageHandler {          weak var delegate: GameEventsHandlerDelegate?          var name: String { \"init\" }          func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) {         guard let event = GameEvent(rawValue: message.name) else { return }                  let messageBody = message.body as? String         let data = messageBody?.data(using: .utf8)         let body = try? JSONSerialization.jsonObject(with: data ?? Data(), options: .allowFragments) as? [String:Any]                  switch event {         case .start:             delegate?.didStart()                   ...         }     }      }<\/code><\/pre>\n<p>\u0421\u043e\u0437\u0434\u0430\u043b\u0438 enum \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c\u0438 \u0442\u0438\u043f\u0430\u043c\u0438 \u0438 \u0446\u0438\u043a\u043b\u043e\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u043b\u0438 \u0445\u044d\u043d\u0434\u043b\u0435\u0440\u044b \u0432 <strong>UIWebView<\/strong>.<\/p>\n<pre><code class=\"swift\">private func setupHandlers() {     let handler = GameEventsHandler()     handler.delegate = self                  GameEvent.allCases.forEach { event in       view?.addWebViewHandler(handler, name: event.rawValue)     } }<\/code><\/pre>\n<p>\u041a \u044d\u0442\u043e\u043c\u0443 \u043c\u043e\u043c\u0435\u043d\u0442\u0443 \u043f\u0440\u043e\u0448\u043b\u043e \u0443\u0436\u0435 \u043e\u043a\u043e\u043b\u043e \u0434\u0432\u0443\u0445 \u043d\u0435\u0434\u0435\u043b\u044c \u0441 \u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u043e\u0439\u043d\u044b \u0441 Apple. \u0421\u0440\u043e\u043a\u0438 \u0433\u043e\u0440\u044f\u0442, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u0438\u0447\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0443\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0432 \u0440\u0435\u043b\u0438\u0437\u0435. \u041c\u044b \u0441 \u043d\u0430\u0434\u0435\u0436\u0434\u043e\u0439 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u044d\u0442\u0443 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043d\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0438&#8230; \u041e \u0447\u0443\u0434\u043e! \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u0440\u043e\u0439\u0434\u0435\u043d\u0430 \u0441\u043f\u0443\u0441\u0442\u044f \u043d\u0435\u0434\u0435\u043b\u044e, Apple \u0441\u0436\u0430\u043b\u0438\u043b\u0441\u044f. \u041d\u0430 \u044d\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0438 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u044c, \u0435\u0441\u043b\u0438 \u0431\u044b \u043d\u0435 \u0440\u0438\u0441\u043a\u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b.<\/p>\n<h2>\u0418\u0433\u0440\u0430\u0435\u043c \u043f\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c<\/h2>\n<p>\u0427\u0442\u043e \u044d\u0442\u043e \u0432\u043e\u043e\u0431\u0449\u0435 \u0437\u0430 \u0437\u0432\u0435\u0440\u044c? Apple \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0434\u0430\u0451\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435:<\/p>\n<blockquote>\n<p><strong><em>On-demand resources<\/em><\/strong>\u00a0are app contents that are hosted on the App Store and are separate from the related app bundle that you download. They enable smaller app bundles, faster downloads, and richer app content. The app requests sets of on-demand resources, and the operating system manages downloading and storage. The app uses the resources and then releases the request. After downloading, the resources may stay on the device through multiple launch cycles, making access even faster.<\/p>\n<\/blockquote>\n<details class=\"spoiler\">\n<summary>\u041f\u0435\u0440\u0435\u0432\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<p>\u0420\u0435\u0441\u0443\u0440\u0441\u044b \u043f\u043e \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044e \u2013 \u044d\u0442\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0440\u0430\u0437\u043c\u0435\u0449\u0451\u043d\u043d\u043e\u0435 \u0432 App Store \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043e\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0435. \u041e\u043d\u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u043d\u044c\u0448\u0438\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0443\u0441\u043a\u043e\u0440\u044f\u044e\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0438 \u0434\u0435\u043b\u0430\u044e\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0431\u043e\u043b\u0435\u0435 \u043d\u0430\u0441\u044b\u0449\u0435\u043d\u043d\u044b\u043c. \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 \u043d\u0430\u0431\u043e\u0440\u044b \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u043f\u043e \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044e, \u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u0438 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435\u043c. \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0440\u0435\u0441\u0443\u0440\u0441\u044b, \u0430 \u0437\u0430\u0442\u0435\u043c \u043e\u0442\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441. \u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043c\u043e\u0433\u0443\u0442 \u043e\u0441\u0442\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0446\u0438\u043a\u043b\u043e\u0432 \u0437\u0430\u043f\u0443\u0441\u043a\u0430, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043d\u0438\u043c \u0435\u0449\u0451 \u0431\u044b\u0441\u0442\u0440\u0435\u0435.<\/p>\n<\/div>\n<\/details>\n<p>\u041f\u043e\u043d\u044f\u0442\u043d\u043e. \u0410 \u043a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f? \u0412 \u0433\u0443\u0433\u043b\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f ODR \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u0438\u0433\u0440, \u043d\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435. \u041f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0440\u044f\u0434 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432:<\/p>\n<ul>\n<li>\n<p>\u041a\u0430\u043a \u0443\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0448\u0438 HTML5 \u0438\u0433\u0440\u044b?<\/p>\n<\/li>\n<li>\n<p>\u0412 \u043a\u0430\u043a\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u043e\u0434\u0442\u044f\u0433\u0438\u0432\u0430\u0442\u044c \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0438 \u043a\u0430\u043a \u043b\u0443\u0447\u0448\u0435 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c URL \u0438 tag?<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u043a \u0440\u0435\u0448\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0438\u043d\u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u043a\u044d\u0448\u0430 \/ \u0432\u0435\u0440\u0441\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f?<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u044e URL-\u0441\u0445\u0435\u043c\u0443?<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u043a \u044d\u0442\u043e \u0432\u0441\u0451 \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u043e\u0431\u0435\u0440\u043d\u0443\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b\u043e \u0443\u0434\u043e\u0431\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f?<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0443\u0433\u043b\u0443\u0431\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f ODR \u0438 \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c\u0438 \u0438\u0437 VK Mini Apps \u043f\u0440\u043e\u044f\u0441\u043d\u0438\u043b\u0438\u0441\u044c \u043c\u043d\u043e\u0433\u0438\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b.<\/p>\n<ol>\n<li>\n<p>\u041d\u043e\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u0438\u0433\u0440\u044b == \u043d\u043e\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0442\u044f\u043d\u0443\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e html \u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e https \u0432 \u043e\u0431\u0445\u043e\u0434 \u043f\u0440\u0430\u0432\u0438\u043b Apple. \u041f\u0435\u0440\u0435\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u043c \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u043d\u0430 \u0431\u044d\u043a\u0435\u043d\u0434. \u041f\u0443\u0441\u0442\u044c \u043e\u043d\u0438 \u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u0440\u0438\u0441\u044b\u043b\u0430\u044e\u0442 <strong>https:\/\/<\/strong>, \u0432\u043c\u0435\u0441\u0442\u043e <strong>odr:\/\/<\/strong> \u0432 \u0441\u0441\u044b\u043b\u043a\u0430\u0445 \u043d\u0430 \u0438\u0433\u0440\u0443. <\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0434\u043c\u0435\u043d\u044f\u0442\u044c \u0442\u0435\u0433\u0438 \u043d\u0435\u043b\u044c\u0437\u044f. \u041a\u0430\u043a \u043f\u043e\u0448\u043b\u043e \u0432 \u0440\u0435\u043b\u0438\u0437, \u0442\u0430\u043a \u0438 \u0431\u0443\u0434\u0435\u0442. \u0412\u044b\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0438\u0433\u0440\u044b \u043f\u043e \u0442\u0435\u0433\u0430\u043c.<\/p>\n<\/li>\n<li>\n<p>\u0421\u0430\u043c\u044b\u0439 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0439 \u043a\u0430\u043c\u0435\u043d\u044c \u2013 CORS. \u041b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <strong>WKURLSchemeHandler<\/strong>, \u0430 \u043d\u0435 \u0444\u0430\u0439\u043b-\u0441\u0445\u0435\u043c\u0443.<\/p>\n<\/li>\n<\/ol>\n<h2>\u0423\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0438\u0433\u0440\u044b<\/h2>\n<p>\u0412\u0441\u0435 \u043d\u0430\u0448\u0438 \u0438\u0433\u0440\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0438\u043c\u0435\u0442\u044c \u0443\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0442\u043e\u0447\u043a\u0443 \u0432\u0445\u043e\u0434\u0443, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <strong><em>index.html<\/em><\/strong>. \u0421\u0442\u0430\u0432\u0438\u043c \u0437\u0430\u0434\u0430\u0447\u0443 \u0438\u0433\u0440\u043e\u0432\u044b\u043c \u0444\u0440\u043e\u043d\u0442\u0430\u043c, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0441\u0431\u043e\u0440\u043a\u0443 \u0438\u0433\u0440 \u043a CI \u0438 \u043e\u0444\u043e\u0440\u043c\u043b\u044f\u0435\u043c \u043a\u0430\u043a \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 Pod \u0434\u043b\u044f \u043f\u0443\u0449\u0435\u0433\u043e \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430. Podspec \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e, \u0437\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u0441 ODR.<\/p>\n<pre><code class=\"ruby\">Pod::Spec.new do |s|   ...        s.subspec 'ODR' do |cs|       cs.on_demand_resources = {         'football' => ['Games\/football\/*'],         ...       }   end    ...    end<\/code><\/pre>\n<p>\u041e\u0442\u043b\u0438\u0447\u043d\u043e, \u043f\u0435\u0440\u0435\u043b\u043e\u0436\u0438\u043b\u0438 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u043f\u043e \u0443\u043f\u0430\u043a\u043e\u0432\u043a\u0435 \u0438\u0433\u0440 \u043d\u0430 \u0444\u0440\u043e\u043d\u0442 \u0438 CI. \u041c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f.<\/p>\n<p>\u0412\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u043c\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u043c \u043a\u0430\u043a \u043f\u0438\u0441\u0430\u043b\u0438 \u0441\u0432\u043e\u0439 Web-bridge c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0445 URL-\u0441\u0445\u0435\u043c, \u043b\u043e\u0433\u0433\u0435\u0440\u043e\u043c \u0438 \u043d\u0430\u0432\u043e\u0440\u043e\u0447\u0435\u043d\u043d\u044b\u043c\u0438 \u0445\u044d\u043d\u0434\u043b\u0435\u0440\u0430\u043c\u0438 \u0438\u0432\u0435\u043d\u0442\u043e\u0432. \u0414\u043e \u0432\u0441\u0442\u0440\u0435\u0447\u0438!<\/p>\n<p>\u041f\u043e \u0432\u0441\u0435\u043c \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u043c \u043f\u0438\u0448\u0438\u0442\u0435: <a href=\"https:\/\/t.me\/zloysergunya\" rel=\"noopener noreferrer nofollow\">t.me\/zloysergunya<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/t.me\/propertyWrapper\" rel=\"noopener noreferrer nofollow\">t.me\/propertyWrapper<\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/700650\/\"> https:\/\/habr.com\/ru\/articles\/700650\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u043e\u0432\u0435\u0434\u0430\u044e \u0432\u0430\u043c \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u0432 \u0434\u0432\u0443\u0445 \u0447\u0430\u0441\u0442\u044f\u0445 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043c\u044b \u0431\u043e\u0440\u043e\u043b\u0438\u0441\u044c \u0441 \u043c\u043e\u0434\u0435\u0440\u0430\u0446\u0438\u0435\u0439 Apple \u043d\u0430 \u043f\u0440\u043e\u0442\u044f\u0436\u0435\u043d\u0438\u0438 \u043c\u0435\u0441\u044f\u0446\u0430, \u043f\u043e\u0431\u0435\u0434\u0438\u043b\u0438 \u0438\u0445, \u043d\u043e \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0440\u0435\u0448\u0438\u043b\u0438 \u0438\u0433\u0440\u0430\u0442\u044c \u043f\u043e \u0438\u0445 \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c. \u0412 \u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u044f \u0434\u0430\u043c \u0432\u0430\u043c \u043f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044e \u0438 \u0441\u043f\u043e\u0441\u043e\u0431 \u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u044f <strong>On-Demand Resources<\/strong>. \u0412\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u044d\u0442\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0441\u0432\u044f\u0437\u0430\u0442\u044c \u0441 <strong>WKWebView<\/strong> \u0438 \u043d\u0435 \u0441\u043e\u0439\u0442\u0438 \u0441 \u0443\u043c\u0430.<\/p>\n<hr\/>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 <strong>WKWebView<\/strong> \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0435\u0433\u043e, \u043d\u0435\u0436\u0435\u043b\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0435 \u0441\u0441\u044b\u043b\u043e\u043a, \u0442\u043e \u0440\u0430\u043d\u043e \u0438\u043b\u0438 \u043f\u043e\u0437\u0434\u043d\u043e \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c\u0441\u044f \u0441 \u0440\u0435\u0434\u0436\u0435\u043a\u0442\u043e\u043c \u043f\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435 <strong>Guideline 4.7 &#8212; Design &#8212; HTML5 Games, Bots, etc<\/strong>.<strong> <\/strong>\u042d\u0442\u043e \u043d\u0430\u0441\u0442\u0438\u0433\u043b\u043e \u0438 \u043d\u0430\u0441 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 Zaruba. <\/p>\n<p>Zaruba \u2013 \u044d\u0442\u043e \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u043c \u0447\u0430\u0442\u043e\u043c \u0438 HTML5 \u0438\u0433\u0440\u0430\u043c\u0438, \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u043c\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 <strong>WKWebView<\/strong> \u0447\u0435\u0440\u0435\u0437 script bridging. \u0412\u0441\u0435 \u0438\u0433\u0440\u044b \u0433\u0440\u0443\u0437\u0438\u043b\u0438\u0441\u044c \u043f\u043e \u043f\u0440\u044f\u043c\u043e\u0439 https \u0441\u0441\u044b\u043b\u043a\u0435 \u0438 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043b\u0438 \u0441 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c \u0447\u0435\u0440\u0435\u0437 <strong>WKScriptMessageHandler<\/strong>. \u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043b\u043e \u043c\u043e\u0434\u0435\u0440\u0430\u0446\u0438\u044e, \u043d\u043e \u0432 \u043e\u0434\u0438\u043d \u043c\u043e\u043c\u0435\u043d\u0442 \u043c\u044b \u0441\u043b\u043e\u0432\u0438\u043b\u0438 \u0440\u0435\u0434\u0436\u0435\u043a\u0442:<\/p>\n<blockquote>\n<p><strong>Guideline 4.7 &#8212; Design &#8212; HTML5 Games, Bots, etc.<\/strong><\/p>\n<p>We noticed that your app includes code that is not embedded in the binary, but the software does not fulfill all of the requirements outlined in Guideline 4.7 of the App Store Review Guidelines or you have not provided us with an index of the software available in your app.<\/p>\n<p>It would be appropriate to remove any and all script bridging support for remote content associated with the games, including [GameOnReadyHandler userContentController:didReceiveScriptMessage:] and [GameUpdateStateHandler userContentController:didReceiveScriptMessage:].\u00a0<\/p>\n<\/blockquote>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043c\u043e\u0434\u0435\u0440\u0430\u0446\u0438\u0438 \u0441 \u043d\u0430\u0434\u0435\u0436\u0434\u043e\u0439 <em>\u0430\u0432\u043e\u0441\u044c \u043f\u0440\u043e\u043a\u0430\u0442\u0438\u0442 \u043a\u0430\u043a \u0440\u0430\u043d\u044c\u0448\u0435<\/em>, \u043c\u044b \u0443\u0433\u043e\u0434\u0438\u043b\u0438 \u043d\u0430 pull-review \u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u043a\u0430\u0436\u0434\u0443\u044e \u043d\u0430\u0448\u0443 \u0441\u0431\u043e\u0440\u043a\u0443 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0438\u0437-\u0437\u0430 \u0447\u0435\u0433\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0440\u0435\u0432\u044c\u044e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u043b\u043e\u0441\u044c \u0434\u043e 5-8 \u0434\u043d\u0435\u0439.<\/p>\n<p>Long story short, Apple \u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c UIWebView-\u043c\u043e\u0441\u0442 \u0434\u043b\u044f \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441 \u0438\u0433\u0440\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u0432 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 Apple \u043f\u0440\u043e \u043d\u0438\u0445 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u043d\u0430\u0435\u0442. <em>\u041f\u0440\u0430\u0432\u0434\u0430 \u0438\u0445 \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0438\u0433\u0440\u0430\u0442\u044c, \u043d\u043e \u043e\u0431 \u044d\u0442\u043e\u043c \u0434\u0430\u043b\u0435\u0435.<\/em> <\/p>\n<h2>\u041f\u043e \u043f\u0443\u0442\u0438 \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0435\u0433\u043e \u0441\u043e\u043f\u0440\u043e\u0442\u0438\u0432\u043b\u0435\u043d\u0438\u044f<\/h2>\n<p>\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u043d\u0430 On-Demand Resources \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0438\u0437-\u0437\u0430 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f \u0441\u043a\u043e\u043b\u044c \u0431\u044b \u0442\u043e \u043d\u0438 \u0431\u044b\u043b\u043e \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u0438 \u044d\u0442\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u0438, \u043a\u0430\u043a \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435, \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438 \u0437\u0430\u0442\u0440\u0430\u0442\u0430\u043c\u0438. <\/p>\n<p>\u041c\u044b \u0432\u044b\u0434\u0432\u0438\u043d\u0443\u043b\u0438 \u0442\u0435\u043e\u0440\u0438\u044e, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0441\u043a\u0440\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0445\u044d\u043d\u0434\u043b\u0435\u0440\u043e\u0432 <strong>GameOnReadyHandler<\/strong> \u0438 <strong>GameUpdateStateHandler<\/strong>, \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0432 \u0438\u0445 \u0432 \u043e\u0434\u0438\u043d \u0445\u044d\u043d\u0434\u043b\u0435\u0440 \u043d\u0430 \u0441\u0432\u0438\u0447\u0430\u0445. \u0422\u0430\u043a \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u043b\u0438 <strong>GameEventsHandler<\/strong>.<\/p>\n<pre><code class=\"swift\">enum GameEvent: String, CaseIterable {     case start = \"init\"     ... }  protocol GameEventsHandlerDelegate: AnyObject {     func didStart()     ... }  final class GameEventsHandler: NSObject, WKScriptMessageHandler {          weak var delegate: GameEventsHandlerDelegate?          var name: String { \"init\" }          func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) {         guard let event = GameEvent(rawValue: message.name) else { return }                  let messageBody = message.body as? String         let data = messageBody?.data(using: .utf8)         let body = try? JSONSerialization.jsonObject(with: data ?? Data(), options: .allowFragments) as? [String:Any]                  switch event {         case .start:             delegate?.didStart()                   ...         }     }      }<\/code><\/pre>\n<p>\u0421\u043e\u0437\u0434\u0430\u043b\u0438 enum \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c\u0438 \u0442\u0438\u043f\u0430\u043c\u0438 \u0438 \u0446\u0438\u043a\u043b\u043e\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u043b\u0438 \u0445\u044d\u043d\u0434\u043b\u0435\u0440\u044b \u0432 <strong>UIWebView<\/strong>.<\/p>\n<pre><code class=\"swift\">private func setupHandlers() {     let handler = GameEventsHandler()     handler.delegate = self                  GameEvent.allCases.forEach { event in       view?.addWebViewHandler(handler, name: event.rawValue)     } }<\/code><\/pre>\n<p>\u041a \u044d\u0442\u043e\u043c\u0443 \u043c\u043e\u043c\u0435\u043d\u0442\u0443 \u043f\u0440\u043e\u0448\u043b\u043e \u0443\u0436\u0435 \u043e\u043a\u043e\u043b\u043e \u0434\u0432\u0443\u0445 \u043d\u0435\u0434\u0435\u043b\u044c \u0441 \u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u043e\u0439\u043d\u044b \u0441 Apple. \u0421\u0440\u043e\u043a\u0438 \u0433\u043e\u0440\u044f\u0442, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u0438\u0447\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0443\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0432 \u0440\u0435\u043b\u0438\u0437\u0435. \u041c\u044b \u0441 \u043d\u0430\u0434\u0435\u0436\u0434\u043e\u0439 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u044d\u0442\u0443 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043d\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0438&#8230; \u041e \u0447\u0443\u0434\u043e! \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u0440\u043e\u0439\u0434\u0435\u043d\u0430 \u0441\u043f\u0443\u0441\u0442\u044f \u043d\u0435\u0434\u0435\u043b\u044e, Apple \u0441\u0436\u0430\u043b\u0438\u043b\u0441\u044f. \u041d\u0430 \u044d\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0438 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u044c, \u0435\u0441\u043b\u0438 \u0431\u044b \u043d\u0435 \u0440\u0438\u0441\u043a\u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b.<\/p>\n<h2>\u0418\u0433\u0440\u0430\u0435\u043c \u043f\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c<\/h2>\n<p>\u0427\u0442\u043e \u044d\u0442\u043e \u0432\u043e\u043e\u0431\u0449\u0435 \u0437\u0430 \u0437\u0432\u0435\u0440\u044c? Apple \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0434\u0430\u0451\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435:<\/p>\n<blockquote>\n<p><strong><em>On-demand resources<\/em><\/strong>\u00a0are app contents that are hosted on the App Store and are separate from the related app bundle that you download. They enable smaller app bundles, faster downloads, and richer app content. The app requests sets of on-demand resources, and the operating system manages downloading and storage. The app uses the resources and then releases the request. After downloading, the resources may stay on the device through multiple launch cycles, making access even faster.<\/p>\n<\/blockquote>\n<details class=\"spoiler\">\n<summary>\u041f\u0435\u0440\u0435\u0432\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<p>\u0420\u0435\u0441\u0443\u0440\u0441\u044b \u043f\u043e \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044e \u2013 \u044d\u0442\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0440\u0430\u0437\u043c\u0435\u0449\u0451\u043d\u043d\u043e\u0435 \u0432 App Store \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043e\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0435. \u041e\u043d\u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u043d\u044c\u0448\u0438\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0443\u0441\u043a\u043e\u0440\u044f\u044e\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0438 \u0434\u0435\u043b\u0430\u044e\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0431\u043e\u043b\u0435\u0435 \u043d\u0430\u0441\u044b\u0449\u0435\u043d\u043d\u044b\u043c. \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 \u043d\u0430\u0431\u043e\u0440\u044b \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u043f\u043e \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044e, \u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u0438 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435\u043c. \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0440\u0435\u0441\u0443\u0440\u0441\u044b, \u0430 \u0437\u0430\u0442\u0435\u043c \u043e\u0442\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441. \u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043c\u043e\u0433\u0443\u0442 \u043e\u0441\u0442\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0446\u0438\u043a\u043b\u043e\u0432 \u0437\u0430\u043f\u0443\u0441\u043a\u0430, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043d\u0438\u043c \u0435\u0449\u0451 \u0431\u044b\u0441\u0442\u0440\u0435\u0435.<\/p>\n<\/div>\n<\/details>\n<p>\u041f\u043e\u043d\u044f\u0442\u043d\u043e. \u0410 \u043a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f? \u0412 \u0433\u0443\u0433\u043b\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f ODR \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u0438\u0433\u0440, \u043d\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435. \u041f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0440\u044f\u0434 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432:<\/p>\n<ul>\n<li>\n<p>\u041a\u0430\u043a \u0443\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0448\u0438 HTML5 \u0438\u0433\u0440\u044b?<\/p>\n<\/li>\n<li>\n<p>\u0412 \u043a\u0430\u043a\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u043e\u0434\u0442\u044f\u0433\u0438\u0432\u0430\u0442\u044c \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0438 \u043a\u0430\u043a \u043b\u0443\u0447\u0448\u0435 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c URL \u0438 tag?<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u043a \u0440\u0435\u0448\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0438\u043d\u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u043a\u044d\u0448\u0430 \/ \u0432\u0435\u0440\u0441\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f?<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u044e URL-\u0441\u0445\u0435\u043c\u0443?<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u043a \u044d\u0442\u043e \u0432\u0441\u0451 \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u043e\u0431\u0435\u0440\u043d\u0443\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b\u043e \u0443\u0434\u043e\u0431\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f?<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0443\u0433\u043b\u0443\u0431\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f ODR \u0438 \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c\u0438 \u0438\u0437 VK Mini Apps \u043f\u0440\u043e\u044f\u0441\u043d\u0438\u043b\u0438\u0441\u044c \u043c\u043d\u043e\u0433\u0438\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b.<\/p>\n<ol>\n<li>\n<p>\u041d\u043e\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u0438\u0433\u0440\u044b == \u043d\u043e\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0442\u044f\u043d\u0443\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e html \u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e https \u0432 \u043e\u0431\u0445\u043e\u0434 \u043f\u0440\u0430\u0432\u0438\u043b Apple. \u041f\u0435\u0440\u0435\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u043c \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u043d\u0430 \u0431\u044d\u043a\u0435\u043d\u0434. \u041f\u0443\u0441\u0442\u044c \u043e\u043d\u0438 \u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u0440\u0438\u0441\u044b\u043b\u0430\u044e\u0442 <strong>https:\/\/<\/strong>, \u0432\u043c\u0435\u0441\u0442\u043e <strong>odr:\/\/<\/strong> \u0432 \u0441\u0441\u044b\u043b\u043a\u0430\u0445 \u043d\u0430 \u0438\u0433\u0440\u0443. <\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0434\u043c\u0435\u043d\u044f\u0442\u044c \u0442\u0435\u0433\u0438 \u043d\u0435\u043b\u044c\u0437\u044f. \u041a\u0430\u043a \u043f\u043e\u0448\u043b\u043e \u0432 \u0440\u0435\u043b\u0438\u0437, \u0442\u0430\u043a \u0438 \u0431\u0443\u0434\u0435\u0442. \u0412\u044b\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0438\u0433\u0440\u044b \u043f\u043e \u0442\u0435\u0433\u0430\u043c.<\/p>\n<\/li>\n<li>\n<p>\u0421\u0430\u043c\u044b\u0439 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0439 \u043a\u0430\u043c\u0435\u043d\u044c \u2013 CORS. \u041b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <strong>WKURLSchemeHandler<\/strong>, \u0430 \u043d\u0435 \u0444\u0430\u0439\u043b-\u0441\u0445\u0435\u043c\u0443.<\/p>\n<\/li>\n<\/ol>\n<h2>\u0423\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0438\u0433\u0440\u044b<\/h2>\n<p>\u0412\u0441\u0435 \u043d\u0430\u0448\u0438 \u0438\u0433\u0440\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0438\u043c\u0435\u0442\u044c \u0443\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0442\u043e\u0447\u043a\u0443 \u0432\u0445\u043e\u0434\u0443, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <strong><em>index.html<\/em><\/strong>. \u0421\u0442\u0430\u0432\u0438\u043c \u0437\u0430\u0434\u0430\u0447\u0443 \u0438\u0433\u0440\u043e\u0432\u044b\u043c \u0444\u0440\u043e\u043d\u0442\u0430\u043c, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0441\u0431\u043e\u0440\u043a\u0443 \u0438\u0433\u0440 \u043a CI \u0438 \u043e\u0444\u043e\u0440\u043c\u043b\u044f\u0435\u043c \u043a\u0430\u043a \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 Pod \u0434\u043b\u044f \u043f\u0443\u0449\u0435\u0433\u043e \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430. Podspec \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e, \u0437\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u0441 ODR.<\/p>\n<pre><code class=\"ruby\">Pod::Spec.new do |s|   ...        s.subspec 'ODR' do |cs|       cs.on_demand_resources = {         'football' => ['Games\/football\/*'],         ...       }   end    ...    end<\/code><\/pre>\n<p>\u041e\u0442\u043b\u0438\u0447\u043d\u043e, \u043f\u0435\u0440\u0435\u043b\u043e\u0436\u0438\u043b\u0438 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u043f\u043e \u0443\u043f\u0430\u043a\u043e\u0432\u043a\u0435 \u0438\u0433\u0440 \u043d\u0430 \u0444\u0440\u043e\u043d\u0442 \u0438 CI. \u041c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f.<\/p>\n<p>\u0412\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u043c\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u043c \u043a\u0430\u043a \u043f\u0438\u0441\u0430\u043b\u0438 \u0441\u0432\u043e\u0439 Web-bridge c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0445 URL-\u0441\u0445\u0435\u043c, \u043b\u043e\u0433\u0433\u0435\u0440\u043e\u043c \u0438 \u043d\u0430\u0432\u043e\u0440\u043e\u0447\u0435\u043d\u043d\u044b\u043c\u0438 \u0445\u044d\u043d\u0434\u043b\u0435\u0440\u0430\u043c\u0438 \u0438\u0432\u0435\u043d\u0442\u043e\u0432. \u0414\u043e \u0432\u0441\u0442\u0440\u0435\u0447\u0438!<\/p>\n<p>\u041f\u043e \u0432\u0441\u0435\u043c \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u043c \u043f\u0438\u0448\u0438\u0442\u0435: <a href=\"https:\/\/t.me\/zloysergunya\" rel=\"noopener noreferrer nofollow\">t.me\/zloysergunya<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/t.me\/propertyWrapper\" rel=\"noopener noreferrer nofollow\">t.me\/propertyWrapper<\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/700650\/\"> https:\/\/habr.com\/ru\/articles\/700650\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-415782","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/415782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=415782"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/415782\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=415782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=415782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=415782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}