com.xd.sdk.payment 0.0.11-alpha → 0.0.14-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,32 @@
1
+ fileFormatVersion: 2
2
+ guid: d80cd6109a9b149a1ae0750375bbdbbe
3
+ PluginImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ iconMap: {}
7
+ executionOrder: {}
8
+ defineConstraints: []
9
+ isPreloaded: 0
10
+ isOverridable: 1
11
+ isExplicitlyReferenced: 0
12
+ validateReferences: 1
13
+ platformData:
14
+ - first:
15
+ Android: Android
16
+ second:
17
+ enabled: 1
18
+ settings: {}
19
+ - first:
20
+ Any:
21
+ second:
22
+ enabled: 0
23
+ settings: {}
24
+ - first:
25
+ Editor: Editor
26
+ second:
27
+ enabled: 0
28
+ settings:
29
+ DefaultValueInitialized: true
30
+ userData:
31
+ assetBundleName:
32
+ assetBundleVariant:
@@ -7,4 +7,4 @@
7
7
 
8
8
  #define XDGPayment_VERSION @"7.0.0"
9
9
  #define XDSPayment_VERSION_CODE @"7000000"
10
- // HASH 7f0303a
10
+ // HASH 8bd7e79
@@ -40,7 +40,7 @@ namespace XD.SDK.Payment.Internal.Mobile
40
40
  private PaymentFeaturesImpl()
41
41
  {
42
42
  EngineBridge.GetInstance()
43
- .Register(BridgeConstants.Payment.SERVICE_NAME, BridgeConstants.Payment.SERVICE_IMPL);
43
+ .Register(BridgeConstants.Payment.ServiceName, BridgeConstants.Payment.ServiceImpl);
44
44
  }
45
45
 
46
46
  public void QueryWithProductIds(string[] productIds, Action<List<XDGProductInfo>, XDGError> callback)
@@ -51,7 +51,7 @@ namespace XD.SDK.Payment.Internal.Mobile
51
51
  };
52
52
 
53
53
  var command = new Command.Builder()
54
- .Service(BridgeConstants.Payment.BRIDGE_NAME)
54
+ .Service(BridgeConstants.Payment.BridgeName)
55
55
  .Method("queryWithProductIds")
56
56
  .Args(dic)
57
57
  .Callback(true)
@@ -92,7 +92,7 @@ namespace XD.SDK.Payment.Internal.Mobile
92
92
  public void PayWithParams(XDGPaymentParams paymentParams, Action<XDGOrderInfo, XDGError> callback)
93
93
  {
94
94
  var command = new Command.Builder()
95
- .Service(BridgeConstants.Payment.BRIDGE_NAME)
95
+ .Service(BridgeConstants.Payment.BridgeName)
96
96
  .Method("payWithParams")
97
97
  .Args(XDUtility.BridgeArgToDictionary("payWithParams", paymentParams))
98
98
  .Callback(true)
@@ -118,7 +118,7 @@ namespace XD.SDK.Payment.Internal.Mobile
118
118
  public void QueryPendingPurchases(Action<List<XDGPendingPurchase>, XDGError> callback)
119
119
  {
120
120
  var command = new Command.Builder()
121
- .Service(BridgeConstants.Payment.BRIDGE_NAME)
121
+ .Service(BridgeConstants.Payment.BridgeName)
122
122
  .Method("queryPendingPurchases")
123
123
  .Callback(true)
124
124
  .OnceTime(true)
@@ -158,7 +158,7 @@ namespace XD.SDK.Payment.Internal.Mobile
158
158
  public void HandlePendingPurchase(XDGPaymentParams paymentParams, Action<XDGOrderInfo, XDGError> callback)
159
159
  {
160
160
  var command = new Command.Builder()
161
- .Service(BridgeConstants.Payment.BRIDGE_NAME)
161
+ .Service(BridgeConstants.Payment.BridgeName)
162
162
  .Method("handlePendingPurchase")
163
163
  .Args(XDUtility.BridgeArgToDictionary("handlePendingPurchase", paymentParams))
164
164
  .Callback(true)
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "com.xd.sdk.payment",
3
3
  "displayName": "XDGSDK Payment",
4
- "version": "0.0.11-alpha",
4
+ "version": "0.0.14-alpha",
5
5
  "description": "XDGSDK",
6
6
  "unity": "2019.3",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "com.xd.sdk.common": "0.0.11-alpha"
9
+ "com.xd.sdk.common": "0.0.14-alpha"
10
10
  }
11
11
  }