From d45dc4686cd5756a9f737f93ee7b716cae005eef Mon Sep 17 00:00:00 2001 From: Arlan Dantas Date: Tue, 11 Oct 2022 18:01:13 -0300 Subject: [PATCH] enhance: Enhance android regex --- src/providers/android.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/android.js b/src/providers/android.js index cb9d619..0a3f978 100644 --- a/src/providers/android.js +++ b/src/providers/android.js @@ -19,7 +19,7 @@ export const getAndroidVersion = async(bundleId, country) => { throw e; } - const version = res.data.match(/\[\[\[['"]((\d+\.)+\d+)['"]\]\],/)[1]; + const version = res.data.match(/['"]((\d+\.)+\d+)['"](?