@droponio/capacitor-intent-fragment 1.0.0 → 2.0.0

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.
@@ -3,7 +3,7 @@ require 'json'
3
3
  package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
4
 
5
5
  Pod::Spec.new do |s|
6
- s.name = 'CapacitorIntent'
6
+ s.name = 'DroponioCapacitorIntentFragment'
7
7
  s.version = package['version']
8
8
  s.summary = package['description']
9
9
  s.license = package['license']
@@ -11,7 +11,7 @@ buildscript {
11
11
  mavenCentral()
12
12
  }
13
13
  dependencies {
14
- classpath 'com.android.tools.build:gradle:8.0.0'
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 "io.dropon.capacitor.intent"
22
- compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 33
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 : 33
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"
@@ -1 +1 @@
1
- {"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAI5C,MAAM,OAAO,kBACX,SAAQ,SAAS;IAGjB,KAAK,CAAC,yBAAyB,CAC3B,QAA+B,EAC/B,SAAiD;QAEnD,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;IACrD,CAAC;IAED,KAAK,CAAC,2BAA2B,CAAC,QAAwB;QACxD,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;IACrD,CAAC;IAED,KAAK,CAAC,mBAAmB,CAAC,QAA2D;QACnF,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;IACrD,CAAC;CACF","sourcesContent":["import { WebPlugin } from '@capacitor/core';\n\nimport type { CapacitorIntentPlugin } from './definitions';\n\nexport class CapacitorIntentWeb\n extends WebPlugin\n implements CapacitorIntentPlugin\n{\n async registerBroadcastReceiver(\n _options: { filters: string[] },\n _callback: (data: { [key: string]: any }) => void\n ): Promise<string> {\n throw new Error('Feature not implemented in web.');\n }\n\n async unregisterBroadcastReceiver(_options: { id: string }) {\n throw new Error('Feature not implemented in web.');\n }\n\n async sendBroadcastIntent(_options: { action: string; value: { [key: string]: any } }): Promise<void> {\n throw new Error('Feature not implemented in web.');\n }\n}\n"]}
1
+ {"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAI5C,MAAM,OAAO,kBACX,SAAQ,SAAS;IAGjB,KAAK,CAAC,yBAAyB,CAC7B,QAA+B,EAC/B,SAAiD;QAEjD,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;IACrD,CAAC;IAED,KAAK,CAAC,2BAA2B,CAAC,QAAwB;QACxD,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;IACrD,CAAC;IAED,KAAK,CAAC,mBAAmB,CAAC,QAGzB;QACC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;IACrD,CAAC;CACF","sourcesContent":["import { WebPlugin } from '@capacitor/core';\n\nimport type { CapacitorIntentPlugin } from './definitions';\n\nexport class CapacitorIntentWeb\n extends WebPlugin\n implements CapacitorIntentPlugin\n{\n async registerBroadcastReceiver(\n _options: { filters: string[] },\n _callback: (data: { [key: string]: any }) => void,\n ): Promise<string> {\n throw new Error('Feature not implemented in web.');\n }\n\n async unregisterBroadcastReceiver(_options: { id: string }) {\n throw new Error('Feature not implemented in web.');\n }\n\n async sendBroadcastIntent(_options: {\n action: string;\n value: { [key: string]: any };\n }): Promise<void> {\n throw new Error('Feature not implemented in web.');\n }\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@droponio/capacitor-intent-fragment",
3
- "version": "1.0.0",
3
+ "version": "2.0.0",
4
4
  "description": "Capacitor Js plugin for receveing and sending intents",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -11,7 +11,7 @@
11
11
  "android/build.gradle",
12
12
  "dist/",
13
13
  "ios/Plugin/",
14
- "CapacitorIntent.podspec"
14
+ "DroponioCapacitorIntentFragment.podspec"
15
15
  ],
16
16
  "author": "dropon",
17
17
  "license": "MIT",
@@ -45,14 +45,14 @@
45
45
  "prepublishOnly": "npm run build"
46
46
  },
47
47
  "devDependencies": {
48
- "@capacitor/android": "^5.0.0",
49
- "@capacitor/core": "^5.0.0",
48
+ "@capacitor/android": "^6.0.0",
49
+ "@capacitor/core": "^6.0.0",
50
50
  "@capacitor/docgen": "^0.0.18",
51
- "@capacitor/ios": "^5.0.0",
52
- "@ionic/eslint-config": "^0.3.0",
51
+ "@capacitor/ios": "^6.0.0",
52
+ "@ionic/eslint-config": "^0.4.0",
53
53
  "@ionic/prettier-config": "^1.0.1",
54
54
  "@ionic/swiftlint-config": "^1.1.2",
55
- "eslint": "^7.11.0",
55
+ "eslint": "^8.57.0",
56
56
  "prettier": "~2.3.0",
57
57
  "prettier-plugin-java": "~1.0.2",
58
58
  "rimraf": "^3.0.2",
@@ -61,7 +61,7 @@
61
61
  "typescript": "~4.1.5"
62
62
  },
63
63
  "peerDependencies": {
64
- "@capacitor/core": "^5.0.0"
64
+ "@capacitor/core": "^6.0.0"
65
65
  },
66
66
  "prettier": "@ionic/prettier-config",
67
67
  "swiftlint": "@ionic/swiftlint-config",