通过 HTTPS 服务 Ionic 5 Cordova 应用程序
Serve Ionic 5 Cordova application over HTTPS
有没有办法通过 https 提供 Ionic 5 (Cordova) 应用程序?
我使用 stripe,我需要实现 Stripe.js。
当我为我的应用程序提供服务时:
ionic serve --prod
我有以下警告:
v3:1 You may test your Stripe.js integration over HTTP. However, live Stripe.js integrations must use HTTPS.
有没有办法为 Ionic 5 提供 cordova 应用程序以便使用 Stripe.js?
据我所知无法使用 HTTPS。 a thread with useful details in the Ionic forums 为什么这不是一个可行的方法。
但是,Stripe.js 特别允许 file://
、ionic://
和 httpsionic://
协议,因此使用其中之一应该可以让您的应用程序在生产环境中正常运行。
有没有办法通过 https 提供 Ionic 5 (Cordova) 应用程序?
我使用 stripe,我需要实现 Stripe.js。
当我为我的应用程序提供服务时:
ionic serve --prod
我有以下警告:
v3:1 You may test your Stripe.js integration over HTTP. However, live Stripe.js integrations must use HTTPS.
有没有办法为 Ionic 5 提供 cordova 应用程序以便使用 Stripe.js?
据我所知无法使用 HTTPS。 a thread with useful details in the Ionic forums 为什么这不是一个可行的方法。
但是,Stripe.js 特别允许 file://
、ionic://
和 httpsionic://
协议,因此使用其中之一应该可以让您的应用程序在生产环境中正常运行。