仍然能够在 App Store 发布 Phonegap Build 应用程序/Google Play
Still able to publish Phonegap Build app at the App Store / Google Play
我目前正在研究构建连接 cgi 的 html 网页的可能性。然后,我使用 Phonegap 将 html 页面渲染到本机应用程序中。几年前,有人可以在应用市场上发布应用。
我看到有页面包含Webview的应用无法发布。所以想问一下这种可能性。
当然,任何相关信息都会很有帮助!
感谢您的帮助!
您的问题很有趣,因为这是混合开发人员经常遇到的问题。
通常在 Google 方面没有问题,因为 GooglePlayStore 强加的很少,所以对于移动应用程序来说没问题。
在 Apple 方面,情况更为复杂,因为问题来自 Apple 指南中的一系列要点。
https://developer.apple.com/app-store/review/guidelines/
第一点是 2009 年添加的,现在仍然适用:
Your app should include features, content, and UI that elevate it
beyond a repackaged website. [ … ]
理解如下:您的应用程序不能是一个简单的网站,但必须具有最低限度的需要本机的功能,例如 gps 或拍照。
然后在2014年
Webkit的iOSSDK集成和Cordova使用的UIWebView结束
In apps that run in iOS 8 and later, use the WKWebView class instead
of using UIWebView. Additionally, consider setting the WKPreferences
property javaScriptEnabled to false if you render files that are not
supposed to run JavaScript.
Cordova 已进行必要的更改以继续运营。
但最大的问题是Apple说停止的那一天,Webview就结束了,cordova对此无能为力。
综上所述,今天不用担心 Google 和 Apple,但未来不确定,所以如果您正在考虑它使用的是什么技术,请考虑原生。
(我告诉你这个,但我在 Google 商店和 Apple 商店上有超过 15 个生产中的 cordova 应用程序...)
我目前正在研究构建连接 cgi 的 html 网页的可能性。然后,我使用 Phonegap 将 html 页面渲染到本机应用程序中。几年前,有人可以在应用市场上发布应用。
我看到有页面包含Webview的应用无法发布。所以想问一下这种可能性。
当然,任何相关信息都会很有帮助!
感谢您的帮助!
您的问题很有趣,因为这是混合开发人员经常遇到的问题。
通常在 Google 方面没有问题,因为 GooglePlayStore 强加的很少,所以对于移动应用程序来说没问题。
在 Apple 方面,情况更为复杂,因为问题来自 Apple 指南中的一系列要点。
https://developer.apple.com/app-store/review/guidelines/
第一点是 2009 年添加的,现在仍然适用:
Your app should include features, content, and UI that elevate it beyond a repackaged website. [ … ]
理解如下:您的应用程序不能是一个简单的网站,但必须具有最低限度的需要本机的功能,例如 gps 或拍照。
然后在2014年
Webkit的iOSSDK集成和Cordova使用的UIWebView结束
In apps that run in iOS 8 and later, use the WKWebView class instead of using UIWebView. Additionally, consider setting the WKPreferences property javaScriptEnabled to false if you render files that are not supposed to run JavaScript.
Cordova 已进行必要的更改以继续运营。
但最大的问题是Apple说停止的那一天,Webview就结束了,cordova对此无能为力。
综上所述,今天不用担心 Google 和 Apple,但未来不确定,所以如果您正在考虑它使用的是什么技术,请考虑原生。
(我告诉你这个,但我在 Google 商店和 Apple 商店上有超过 15 个生产中的 cordova 应用程序...)