Chad

优化支付过程

...@@ -112,6 +112,10 @@ class PaymentSdk { ...@@ -112,6 +112,10 @@ class PaymentSdk {
112 return true; 112 return true;
113 } 113 }
114 114
115 + void restore() {
116 + InAppPurchase.instance.restorePurchases();
117 + }
118 +
115 void dispose() { 119 void dispose() {
116 onPaySuccess = null; 120 onPaySuccess = null;
117 onPending = null; 121 onPending = null;
......