@capgo/native-market 1.0.4
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/LICENSE +21 -0
- package/NativeMarket.podspec +13 -0
- package/README.md +196 -0
- package/android/.classpath +6 -0
- package/android/android.iml +109 -0
- package/android/build.gradle +55 -0
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +6 -0
- package/android/gradle.properties +21 -0
- package/android/gradlew +160 -0
- package/android/gradlew.bat +90 -0
- package/android/proguard-rules.pro +21 -0
- package/android/settings.gradle +2 -0
- package/android/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.java +27 -0
- package/android/src/main/AndroidManifest.xml +5 -0
- package/android/src/main/java/com/getcapacitor/community/nativemarket/NativeMarket.java +131 -0
- package/android/src/main/res/layout/bridge_layout_main.xml +15 -0
- package/android/src/main/res/values/colors.xml +3 -0
- package/android/src/main/res/values/strings.xml +3 -0
- package/android/src/main/res/values/styles.xml +3 -0
- package/android/src/test/java/com/getcapacitor/ExampleUnitTest.java +17 -0
- package/dist/docs.json +160 -0
- package/dist/esm/definitions.d.ts +67 -0
- package/dist/esm/definitions.js +2 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/web.d.ts +19 -0
- package/dist/esm/web.js +19 -0
- package/dist/esm/web.js.map +1 -0
- package/ios/Plugin/Info.plist +24 -0
- package/ios/Plugin/Plugin.h +10 -0
- package/ios/Plugin/Plugin.m +12 -0
- package/ios/Plugin/Plugin.swift +68 -0
- package/ios/Plugin.xcodeproj/project.pbxproj +556 -0
- package/ios/Plugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/ios/PluginTests/Info.plist +22 -0
- package/ios/PluginTests/PluginTests.swift +35 -0
- package/ios/Podfile +16 -0
- package/package.json +66 -0
package/ios/Podfile
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
platform :ios, '12.0'
|
|
2
|
+
|
|
3
|
+
def capacitor_pods
|
|
4
|
+
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
|
|
5
|
+
use_frameworks!
|
|
6
|
+
pod 'Capacitor', :path => '../node_modules/@capacitor/ios'
|
|
7
|
+
pod 'CapacitorCordova', :path => '../node_modules/@capacitor/ios'
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
target 'Plugin' do
|
|
11
|
+
capacitor_pods
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
target 'PluginTests' do
|
|
15
|
+
capacitor_pods
|
|
16
|
+
end
|
package/package.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@capgo/native-market",
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"description": "A native market plugin for linking to google play or app store.",
|
|
5
|
+
"module": "dist/esm/index.js",
|
|
6
|
+
"main": "dist/esm/index.js",
|
|
7
|
+
"types": "dist/esm/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "npm run clean && npm run docgen && tsc",
|
|
10
|
+
"clean": "rimraf ./dist",
|
|
11
|
+
"watch": "tsc --watch",
|
|
12
|
+
"docgen": "docgen --api NativeMarketPlugin --output-readme README.md --output-json dist/docs.json",
|
|
13
|
+
"prepublishOnly": "npm run build",
|
|
14
|
+
"npm-publish": "np"
|
|
15
|
+
},
|
|
16
|
+
"author": "Martin Donadieu <martindonadieu@gmail.com>",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@capacitor/core": "^3.3.2"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"@capacitor/android": "^3.3.4",
|
|
23
|
+
"@capacitor/cli": "^3.3.4",
|
|
24
|
+
"@capacitor/docgen": "^0.2.0",
|
|
25
|
+
"@capacitor/ios": "^3.3.4",
|
|
26
|
+
"@types/node": "^17.0.8",
|
|
27
|
+
"husky": "^4.2.5",
|
|
28
|
+
"np": "^6.2.4",
|
|
29
|
+
"prettier": "^2.5.1",
|
|
30
|
+
"prettier-plugin-java": "^1.6.0",
|
|
31
|
+
"pretty-quick": "^3.1.3",
|
|
32
|
+
"rimraf": "^3.0.2",
|
|
33
|
+
"typescript": "^4.3.5"
|
|
34
|
+
},
|
|
35
|
+
"husky": {
|
|
36
|
+
"hooks": {
|
|
37
|
+
"pre-commit": "pretty-quick --staged"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"files": [
|
|
41
|
+
"dist/",
|
|
42
|
+
"ios/",
|
|
43
|
+
"android/",
|
|
44
|
+
"NativeMarket.podspec"
|
|
45
|
+
],
|
|
46
|
+
"keywords": [
|
|
47
|
+
"capacitor",
|
|
48
|
+
"plugin",
|
|
49
|
+
"native"
|
|
50
|
+
],
|
|
51
|
+
"capacitor": {
|
|
52
|
+
"ios": {
|
|
53
|
+
"src": "ios"
|
|
54
|
+
},
|
|
55
|
+
"android": {
|
|
56
|
+
"src": "android"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"repository": {
|
|
60
|
+
"type": "git",
|
|
61
|
+
"url": "https://github.com/riderx/native-market"
|
|
62
|
+
},
|
|
63
|
+
"bugs": {
|
|
64
|
+
"url": "https://github.com/riderx/native-market/issues"
|
|
65
|
+
}
|
|
66
|
+
}
|