質問編集履歴

1

エラー内容と関係がありませんでした。

2020/02/27 06:18

投稿

shiba-t
shiba-t

スコア4

test CHANGED
File without changes
test CHANGED
@@ -16,84 +16,6 @@
16
16
 
17
17
 
18
18
 
19
- ### 発生している問題・エラーメッセージ
20
-
21
- store-android.js:1641 [store.js] DEBUG: plugin -> loaded - [{"skuDetailsToken":"XXXXXXXXXXX=","productId":"url","type":"subs","price":"・・300","price_amount_micros":300000000,"price_currency_code":"JPY","subscriptionPeriod":"P1M","freeTrialPeriod":"P2W","title":"","description":""}]
22
-
23
- store-android.js:1641 [store.js] DEBUG: store.queries !! 'url valid'
24
-
25
- store-android.js:1641 [store.js] DEBUG: store.queries !! 'paid subscription valid'
26
-
27
- store-android.js:1641 [store.js] DEBUG: store.queries !! 'subscription valid'
28
-
29
- store-android.js:1641 [store.js] DEBUG: store.queries !! 'valid valid'
30
-
31
- store-android.js:1641 [store.js] DEBUG: store.queries !! 'valid'
32
-
33
- store-android.js:1641 [store.js] DEBUG: store.queries !! 'url updated'
34
-
35
- app.js:320 not owned
36
-
37
- store-android.js:1641 [store.js] DEBUG: store.queries !! 'paid subscription updated'
38
-
39
- store-android.js:1641 [store.js] DEBUG: store.queries !! 'subscription updated'
40
-
41
- store-android.js:1641 [store.js] DEBUG: store.queries !! 'valid updated'
42
-
43
- store-android.js:1641 [store.js] DEBUG: store.queries !! 'updated'
44
-
45
- store-android.js:1641 [store.js] WARNING: A callback in 'updated' failed with an exception.
46
-
47
- store-android.js:1641 [store.js] WARNING: renderIAP is not defined
48
-
49
- store-android.js:1641 [store.js] WARNING: ReferenceError: renderIAP is not defined
50
-
51
- at Object.<anonymous> (file:///android_asset/www/js/app.js:289:9)
52
-
53
- at Object.triggerWhenProduct (file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js:1926:35)
54
-
55
- at Object.triggerWhenProduct (file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js:1946:18)
56
-
57
- at Object.store.trigger (file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js:2002:20)
58
-
59
- at store.Product.trigger (file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js:1774:11)
60
-
61
- at store.Product.stateChanged (file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js:1760:14)
62
-
63
- at store.Product.set (file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js:1731:18)
64
-
65
- at store.Product.set (file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js:1737:18)
66
-
67
- at iabLoaded (file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js:2402:15)
68
-
69
- at Object.callbackFromNative (file:///android_asset/www/cordova.js:287:58)
70
-
71
- store-android.js:1958 Uncaught ReferenceError: renderIAP is not defined
72
-
73
- at Object.<anonymous> (app.js:289)
74
-
75
- at Object.triggerWhenProduct (store-android.js:1926)
76
-
77
- at Object.triggerWhenProduct (store-android.js:1946)
78
-
79
- at Object.store.trigger (store-android.js:2002)
80
-
81
- at store.Product.trigger (store-android.js:1774)
82
-
83
- at store.Product.stateChanged (store-android.js:1760)
84
-
85
- at store.Product.set (store-android.js:1731)
86
-
87
- at store.Product.set (store-android.js:1737)
88
-
89
- at iabLoaded (store-android.js:2402)
90
-
91
- at Object.callbackFromNative (cordova.js:287)
92
-
93
- (anonymous) @ app.js:289
94
-
95
-
96
-
97
19
  ### 該当のソースコード
98
20
 
99
21
  ソースコード(javascript)
@@ -240,14 +162,6 @@
240
162
 
241
163
 
242
164
 
243
- store.when("product").updated(function(p) {
244
-
245
- renderIAP(p);
246
-
247
- });
248
-
249
-
250
-
251
165
  store.when(store_id).approved(function(p) {
252
166
 
253
167
  log("verify subscription");