@capgo/native-market 5.0.5 → 6.0.1
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/android/build.gradle +3 -3
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +2 -1
- package/android/gradlew +4 -1
- package/android/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.java +1 -2
- package/package.json +17 -20
package/android/build.gradle
CHANGED
|
@@ -11,7 +11,7 @@ buildscript {
|
|
|
11
11
|
mavenCentral()
|
|
12
12
|
}
|
|
13
13
|
dependencies {
|
|
14
|
-
classpath 'com.android.tools.build:gradle:8.
|
|
14
|
+
classpath 'com.android.tools.build:gradle:8.2.1'
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -19,10 +19,10 @@ apply plugin: 'com.android.library'
|
|
|
19
19
|
|
|
20
20
|
android {
|
|
21
21
|
namespace "com.getcapacitor.community.nativemarket.nativemarket"
|
|
22
|
-
|
|
22
|
+
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 34
|
|
23
23
|
defaultConfig {
|
|
24
24
|
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
|
|
25
|
-
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion :
|
|
25
|
+
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 34
|
|
26
26
|
versionCode 1
|
|
27
27
|
versionName "1.0"
|
|
28
28
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
Binary file
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-all.zip
|
|
4
4
|
networkTimeout=10000
|
|
5
|
+
validateDistributionUrl=true
|
|
5
6
|
zipStoreBase=GRADLE_USER_HOME
|
|
6
7
|
zipStorePath=wrapper/dists
|
package/android/gradlew
CHANGED
|
@@ -130,10 +130,13 @@ location of your Java installation."
|
|
|
130
130
|
fi
|
|
131
131
|
else
|
|
132
132
|
JAVACMD=java
|
|
133
|
-
|
|
133
|
+
if ! command -v java >/dev/null 2>&1
|
|
134
|
+
then
|
|
135
|
+
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
134
136
|
|
|
135
137
|
Please set the JAVA_HOME variable in your environment to match the
|
|
136
138
|
location of your Java installation."
|
|
139
|
+
fi
|
|
137
140
|
fi
|
|
138
141
|
|
|
139
142
|
# Increase the maximum file descriptors if we can.
|
|
@@ -19,8 +19,7 @@ public class ExampleInstrumentedTest {
|
|
|
19
19
|
@Test
|
|
20
20
|
public void useAppContext() throws Exception {
|
|
21
21
|
// Context of the app under test.
|
|
22
|
-
Context appContext = InstrumentationRegistry
|
|
23
|
-
.getInstrumentation()
|
|
22
|
+
Context appContext = InstrumentationRegistry.getInstrumentation()
|
|
24
23
|
.getTargetContext();
|
|
25
24
|
|
|
26
25
|
assertEquals("com.getcapacitor.android", appContext.getPackageName());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/native-market",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"description": "A native market plugin for linking to google play or app store.",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"verify:web": "npm run build",
|
|
13
13
|
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
|
|
14
14
|
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --autocorrect --format",
|
|
15
|
-
"eslint": "eslint .
|
|
15
|
+
"eslint": "eslint .",
|
|
16
16
|
"prettier": "prettier --config .prettierrc.js \"**/*.{css,html,ts,js,java}\"",
|
|
17
17
|
"swiftlint": "node-swiftlint",
|
|
18
18
|
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs",
|
|
@@ -24,28 +24,28 @@
|
|
|
24
24
|
"author": "Martin Donadieu <martindonadieu@gmail.com>",
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@capacitor/core": "^
|
|
27
|
+
"@capacitor/core": "^6.0.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@capacitor/android": "^
|
|
31
|
-
"@capacitor/cli": "^
|
|
32
|
-
"@capacitor/core": "^
|
|
33
|
-
"@capacitor/docgen": "^0.2.
|
|
34
|
-
"@capacitor/ios": "^
|
|
30
|
+
"@capacitor/android": "^6.0.0",
|
|
31
|
+
"@capacitor/cli": "^6.0.0",
|
|
32
|
+
"@capacitor/core": "^6.0.0",
|
|
33
|
+
"@capacitor/docgen": "^0.2.2",
|
|
34
|
+
"@capacitor/ios": "^6.0.0",
|
|
35
35
|
"@ionic/eslint-config": "^0.3.0",
|
|
36
36
|
"@ionic/prettier-config": "^4.0.0",
|
|
37
37
|
"@ionic/swiftlint-config": "^1.1.2",
|
|
38
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
39
|
-
"@typescript-eslint/parser": "^
|
|
40
|
-
"eslint": "^
|
|
41
|
-
"eslint-plugin-import": "^2.29.
|
|
42
|
-
"husky": "^
|
|
43
|
-
"prettier": "^3.
|
|
44
|
-
"prettier-plugin-java": "^2.
|
|
38
|
+
"@typescript-eslint/eslint-plugin": "^7.8.0",
|
|
39
|
+
"@typescript-eslint/parser": "^7.8.0",
|
|
40
|
+
"eslint": "^9.1.1",
|
|
41
|
+
"eslint-plugin-import": "^2.29.1",
|
|
42
|
+
"husky": "^9.0.11",
|
|
43
|
+
"prettier": "^3.2.5",
|
|
44
|
+
"prettier-plugin-java": "^2.6.0",
|
|
45
45
|
"rimraf": "^5.0.5",
|
|
46
|
-
"rollup": "^
|
|
46
|
+
"rollup": "^4.17.1",
|
|
47
47
|
"swiftlint": "^1.0.2",
|
|
48
|
-
"typescript": "^5.
|
|
48
|
+
"typescript": "^5.4.5"
|
|
49
49
|
},
|
|
50
50
|
"files": [
|
|
51
51
|
"dist/",
|
|
@@ -68,9 +68,6 @@
|
|
|
68
68
|
},
|
|
69
69
|
"prettier": "@ionic/prettier-config",
|
|
70
70
|
"swiftlint": "@ionic/swiftlint-config",
|
|
71
|
-
"eslintConfig": {
|
|
72
|
-
"extends": "@ionic/eslint-config/recommended"
|
|
73
|
-
},
|
|
74
71
|
"repository": {
|
|
75
72
|
"type": "git",
|
|
76
73
|
"url": "https://github.com/riderx/native-market"
|