@capgo/native-purchases 0.0.18 → 0.0.20
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.
package/README.md
CHANGED
|
@@ -261,6 +261,10 @@ public class NativePurchasesPlugin extends Plugin {
|
|
|
261
261
|
@PluginMethod
|
|
262
262
|
public void getProducts(PluginCall call) {
|
|
263
263
|
JSONArray productIdentifiersArray = call.getArray("productIdentifiers");
|
|
264
|
+
if (productIdentifiersArray == null) {
|
|
265
|
+
call.reject("productIdentifiers is missing");
|
|
266
|
+
return;
|
|
267
|
+
}
|
|
264
268
|
String productType = call.getString("productType", "inapp");
|
|
265
269
|
List<String> productIdentifiers = new ArrayList<>();
|
|
266
270
|
|