@capgo/native-market 7.1.9 → 7.1.15
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/CapgoNativeMarket.podspec +16 -12
- package/Package.swift +28 -0
- package/android/src/main/java/com/getcapacitor/community/nativemarket/NativeMarket.java +97 -109
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +4 -4
- package/dist/esm/web.d.ts +2 -2
- package/dist/esm/web.js +6 -6
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +6 -6
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +6 -6
- package/dist/plugin.js.map +1 -1
- package/ios/Tests/NativeMarketPluginTests/NativeMarketPluginTests.swift +20 -0
- package/package.json +13 -4
- package/.eslintignore +0 -5
- package/.github/FUNDING.yml +0 -1
- package/.github/ISSUE_TEMPLATE/bug-report.md +0 -84
- package/.github/ISSUE_TEMPLATE/feature-request.md +0 -41
- package/.github/workflows/autofix.yml +0 -23
- package/.github/workflows/build.yml +0 -106
- package/.github/workflows/bump_version.yml +0 -57
- package/.github/workflows/test.yml +0 -58
- package/.prettierrc.js +0 -3
- package/CHANGELOG.md +0 -508
- package/PLUGIN_AUTHOR_README.md +0 -51
- package/android/.classpath +0 -6
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +0 -7
- package/android/gradle.properties +0 -20
- package/android/gradlew +0 -252
- package/android/gradlew.bat +0 -94
- package/android/proguard-rules.pro +0 -21
- package/android/settings.gradle +0 -2
- package/android/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.java +0 -27
- package/android/src/test/java/com/getcapacitor/ExampleUnitTest.java +0 -18
- package/bun.lock +0 -820
- package/ios/Plugin/Info.plist +0 -24
- package/ios/Plugin.xcodeproj/project.pbxproj +0 -548
- package/ios/Plugin.xcworkspace/contents.xcworkspacedata +0 -10
- package/ios/Plugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/ios/PluginTests/Info.plist +0 -22
- package/ios/PluginTests/PluginTests.swift +0 -25
- package/ios/Podfile +0 -16
- package/renovate.json +0 -53
- package/rollup.config.mjs +0 -22
- package/src/definitions.ts +0 -58
- package/src/index.ts +0 -10
- package/src/web.ts +0 -28
- package/tsconfig.json +0 -19
- /package/ios/{Plugin/Plugin.swift → Sources/NativeMarketPlugin/NativeMarketPlugin.swift} +0 -0
package/renovate.json
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
3
|
-
"extends": [
|
|
4
|
-
"config:base",
|
|
5
|
-
"schedule:earlyMondays"
|
|
6
|
-
],
|
|
7
|
-
"dependencyDashboard": false,
|
|
8
|
-
"lockFileMaintenance": {
|
|
9
|
-
"enabled": true,
|
|
10
|
-
"automerge": true,
|
|
11
|
-
"automergeType": "branch",
|
|
12
|
-
"platformAutomerge": true
|
|
13
|
-
},
|
|
14
|
-
"packageRules": [
|
|
15
|
-
{
|
|
16
|
-
"matchUpdateTypes": ["minor", "patch"],
|
|
17
|
-
"matchCurrentVersion": "!/^0/",
|
|
18
|
-
"automerge": true
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"matchPackageNames": ["eslint"],
|
|
22
|
-
"matchManagers": ["npm"],
|
|
23
|
-
"enabled": false
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"matchPackagePatterns": ["^com\\.google\\..*"],
|
|
27
|
-
"matchCurrentVersion": "/^.*-android$/",
|
|
28
|
-
"allowedVersions": "/^.*-android$/"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"matchPackagePatterns": ["^com\\.android\\.tools\\.build\\:gradle$"],
|
|
32
|
-
"matchManagers": ["gradle"],
|
|
33
|
-
"enabled": false
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"matchPackageNames": ["capacitor-swift-pm"],
|
|
37
|
-
"matchManagers": ["swift"],
|
|
38
|
-
"enabled": false
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"matchDepTypes": ["peerDependencies"],
|
|
42
|
-
"matchPackageNames": ["@capacitor/core"],
|
|
43
|
-
"matchUpdateTypes": ["minor", "patch"],
|
|
44
|
-
"enabled": false
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"matchDepTypes": ["peerDependencies"],
|
|
48
|
-
"matchPackageNames": ["@capacitor/core"],
|
|
49
|
-
"rangeStrategy": "replace",
|
|
50
|
-
"allowedVersions": "/^>=\\d+\\.0\\.0$/"
|
|
51
|
-
}
|
|
52
|
-
]
|
|
53
|
-
}
|
package/rollup.config.mjs
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
input: "dist/esm/index.js",
|
|
3
|
-
output: [
|
|
4
|
-
{
|
|
5
|
-
file: "dist/plugin.js",
|
|
6
|
-
format: "iife",
|
|
7
|
-
name: "capacitorCapacitorUpdater",
|
|
8
|
-
globals: {
|
|
9
|
-
"@capacitor/core": "capacitorExports",
|
|
10
|
-
},
|
|
11
|
-
sourcemap: true,
|
|
12
|
-
inlineDynamicImports: true,
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
file: "dist/plugin.cjs.js",
|
|
16
|
-
format: "cjs",
|
|
17
|
-
sourcemap: true,
|
|
18
|
-
inlineDynamicImports: true,
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
external: ["@capacitor/core"],
|
|
22
|
-
};
|
package/src/definitions.ts
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
export interface NativeMarketPlugin {
|
|
2
|
-
/**
|
|
3
|
-
* This method will launch link in Play/App Store.
|
|
4
|
-
*
|
|
5
|
-
* @param {String} appId - ID of your application. Eg. com.example.app
|
|
6
|
-
* @param {String} [country] - International country code if application is not published in the US App store (only for iOS). Eg. IT
|
|
7
|
-
*
|
|
8
|
-
* @returns void
|
|
9
|
-
*
|
|
10
|
-
* @since 1.0.0
|
|
11
|
-
*/
|
|
12
|
-
openStoreListing(options: { appId: string; country?: string }): Promise<void>;
|
|
13
|
-
/**
|
|
14
|
-
* This method will deep-link directly to an Play/App store listing page.
|
|
15
|
-
*
|
|
16
|
-
* Only in Android.
|
|
17
|
-
*
|
|
18
|
-
* @param {String} devId - ID of developer. Eg. com.example.app
|
|
19
|
-
*
|
|
20
|
-
* @returns void
|
|
21
|
-
*
|
|
22
|
-
* @since 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
openDevPage(options: { devId: string }): Promise<void>;
|
|
25
|
-
/**
|
|
26
|
-
* This method will link users to a collection or top charts.
|
|
27
|
-
* Only in Android.
|
|
28
|
-
*
|
|
29
|
-
* @param {String} name - name of the collection. Click [here](https://developer.android.com/distribute/marketing-tools/linking-to-google-play#OpeningCollection) for android options.
|
|
30
|
-
*
|
|
31
|
-
* @returns void
|
|
32
|
-
*
|
|
33
|
-
* @since 1.0.0
|
|
34
|
-
*/
|
|
35
|
-
openCollection(options: { name: string }): Promise<void>;
|
|
36
|
-
/**
|
|
37
|
-
* This method will link users to Editor's choice page.
|
|
38
|
-
*
|
|
39
|
-
* Only in Android.
|
|
40
|
-
*
|
|
41
|
-
* @param {String} editorChoice - ID of your application. Eg. editorial_fitness_apps_us
|
|
42
|
-
* @returns void
|
|
43
|
-
*
|
|
44
|
-
* @since 1.0.0
|
|
45
|
-
*/
|
|
46
|
-
openEditorChoicePage(options: { editorChoice: string }): Promise<void>;
|
|
47
|
-
/**
|
|
48
|
-
* This method will link users to custom search query.
|
|
49
|
-
*
|
|
50
|
-
* Only in Android.
|
|
51
|
-
*
|
|
52
|
-
* @param {String} editorChoice - terms to be searched in Play/App store.
|
|
53
|
-
* @returns void
|
|
54
|
-
*
|
|
55
|
-
* @since 1.0.0
|
|
56
|
-
*/
|
|
57
|
-
search(options: { terms: string }): Promise<void>;
|
|
58
|
-
}
|
package/src/index.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { registerPlugin } from "@capacitor/core";
|
|
2
|
-
|
|
3
|
-
import type { NativeMarketPlugin } from "./definitions";
|
|
4
|
-
|
|
5
|
-
const NativeMarket = registerPlugin<NativeMarketPlugin>("NativeMarket", {
|
|
6
|
-
web: () => import("./web").then((m) => new m.NativeMarketWeb()),
|
|
7
|
-
});
|
|
8
|
-
|
|
9
|
-
export * from "./definitions";
|
|
10
|
-
export { NativeMarket };
|
package/src/web.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { WebPlugin } from "@capacitor/core";
|
|
2
|
-
|
|
3
|
-
import type { NativeMarketPlugin } from "./definitions";
|
|
4
|
-
|
|
5
|
-
export class NativeMarketWeb extends WebPlugin implements NativeMarketPlugin {
|
|
6
|
-
openStoreListing(options: {
|
|
7
|
-
appId: string;
|
|
8
|
-
country?: string;
|
|
9
|
-
}): Promise<void> {
|
|
10
|
-
throw new Error("Method not implemented." + options);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
openDevPage(options: { devId: string }): Promise<void> {
|
|
14
|
-
throw new Error("Method not implemented." + options);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
openCollection(options: { name: string }): Promise<void> {
|
|
18
|
-
throw new Error("Method not implemented." + options);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
openEditorChoicePage(options: { editorChoice: string }): Promise<void> {
|
|
22
|
-
throw new Error("Method not implemented." + options);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
search(options: { terms: string }): Promise<void> {
|
|
26
|
-
throw new Error("Method not implemented." + options);
|
|
27
|
-
}
|
|
28
|
-
}
|
package/tsconfig.json
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"allowUnreachableCode": false,
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"esModuleInterop": true,
|
|
6
|
-
"lib": ["dom", "es2017"],
|
|
7
|
-
"module": "esnext",
|
|
8
|
-
"moduleResolution": "node",
|
|
9
|
-
"noFallthroughCasesInSwitch": true,
|
|
10
|
-
"noUnusedLocals": true,
|
|
11
|
-
"noUnusedParameters": true,
|
|
12
|
-
"outDir": "dist/esm",
|
|
13
|
-
"pretty": true,
|
|
14
|
-
"sourceMap": true,
|
|
15
|
-
"strict": true,
|
|
16
|
-
"target": "es2017"
|
|
17
|
-
},
|
|
18
|
-
"files": ["src/index.ts"]
|
|
19
|
-
}
|
|
File without changes
|