cordova-plugin-reteno 1.0.0 → 1.1.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.
package/.editorconfig CHANGED
@@ -1,17 +1,17 @@
1
- # http://editorconfig.org
2
- root = true
3
-
4
- [*]
5
- charset = utf-8
6
- indent_style = space
7
- indent_size = 4
8
- end_of_line = lf
9
- insert_final_newline = true
10
- trim_trailing_whitespace = true
11
-
12
- [{package.json,.travis.yml}]
13
- indent_style = space
14
- indent_size = 2
15
-
16
- [{plugin.xml,Makefile}]
17
- indent_style = tab
1
+ # http://editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ charset = utf-8
6
+ indent_style = space
7
+ indent_size = 4
8
+ end_of_line = lf
9
+ insert_final_newline = true
10
+ trim_trailing_whitespace = true
11
+
12
+ [{package.json,.travis.yml}]
13
+ indent_style = space
14
+ indent_size = 2
15
+
16
+ [{plugin.xml,Makefile}]
17
+ indent_style = tab
package/.travis.yml CHANGED
@@ -1,108 +1,108 @@
1
- env:
2
- global:
3
- - JAVA_HOME=/usr/lib/jvm/java-8-oracle
4
- - LANG=en_US.UTF-8
5
-
6
- matrix:
7
- include:
8
- - os: linux
9
- sudo: false
10
- language: android
11
- android:
12
- components:
13
- - tools-26.0.0
14
- - platform-tools-26.0.0
15
- - build-tools-26.0.0
16
- - android-26.0.0
17
- - extra-google-google_play_services
18
- - extra-google-m2repository
19
- - extra-android-m2repository
20
- addons:
21
- apt:
22
- packages:
23
- - oracle-java8-installer
24
- - oracle-java8-set-default
25
- licenses:
26
- - android-sdk-preview-license-.+
27
- - android-sdk-license-.+
28
- - google-gdk-license-.+
29
- env: CORDOVA_VERSION="6.5.0" CORDOVA_PLATFORM="android" CORDOVA_PLATFORM_VERSION="6.4.0"
30
-
31
- - os: linux
32
- sudo: false
33
- language: android
34
- android:
35
- components:
36
- - tools-26.0.0
37
- - platform-tools-26.0.0
38
- - build-tools-26.0.0
39
- - android-26.0.0
40
- - extra-google-google_play_services
41
- - extra-google-m2repository
42
- - extra-android-m2repository
43
- addons:
44
- apt:
45
- packages:
46
- - oracle-java8-installer
47
- - oracle-java8-set-default
48
- licenses:
49
- - android-sdk-preview-license-.+
50
- - android-sdk-license-.+
51
- - google-gdk-license-.+
52
- env: CORDOVA_VERSION="7.1.0" CORDOVA_PLATFORM="android" CORDOVA_PLATFORM_VERSION="7.1.0"
53
-
54
- - os: linux
55
- sudo: false
56
- language: android
57
- android:
58
- components:
59
- - tools-26.0.0
60
- - platform-tools-26.0.0
61
- - build-tools-26.0.0
62
- - android-26.0.0
63
- - extra-google-google_play_services
64
- - extra-google-m2repository
65
- - extra-android-m2repository
66
- addons:
67
- apt:
68
- packages:
69
- - oracle-java8-installer
70
- - oracle-java8-set-default
71
- licenses:
72
- - android-sdk-preview-license-.+
73
- - android-sdk-license-.+
74
- - google-gdk-license-.+
75
- env: CORDOVA_VERSION="8.0.0" CORDOVA_PLATFORM="android" CORDOVA_PLATFORM_VERSION="7.1.0"
76
-
77
- - os: osx
78
- language: objective-c
79
- osx_image: xcode9.4
80
- env: CORDOVA_VERSION="6.5.0" CORDOVA_PLATFORM="ios" CORDOVA_PLATFORM_VERSION="4.5.4"
81
-
82
- - os: osx
83
- language: objective-c
84
- osx_image: xcode9.4
85
- env: CORDOVA_VERSION="7.1.0" CORDOVA_PLATFORM="ios" CORDOVA_PLATFORM_VERSION="4.5.4"
86
-
87
- - os: osx
88
- language: objective-c
89
- osx_image: xcode9.4
90
- env: CORDOVA_VERSION="8.0.0" CORDOVA_PLATFORM="ios" CORDOVA_PLATFORM_VERSION="4.5.4"
91
-
92
- - os: linux
93
- env: CORDOVA_VERSION="6.5.0" CORDOVA_PLATFORM="browser" CORDOVA_PLATFORM_VERSION="5.0.3"
94
-
95
- - os: linux
96
- env: CORDOVA_VERSION="7.1.0" CORDOVA_PLATFORM="browser" CORDOVA_PLATFORM_VERSION="5.0.3"
97
-
98
- - os: linux
99
- env: CORDOVA_VERSION="8.0.0" CORDOVA_PLATFORM="browser" CORDOVA_PLATFORM_VERSION="5.0.3"
100
-
101
- before_install:
102
- - nvm install 8
103
- - PATH=$TRAVIS_BUILD_DIR/node_modules/.bin:$PATH ; export PATH
104
- - if [[ "$CORDOVA_PLATFORM" == "android" ]]; then yes | sdkmanager "build-tools;26.0.0" "platforms;android-26" ; fi
105
-
106
- script:
107
- - bash ./test/test-default.sh $CORDOVA_VERSION $CORDOVA_PLATFORM $CORDOVA_PLATFORM_VERSION
108
- - if [[ "$CORDOVA_PLATFORM" == "android" ]]; then bash ./test/test-with-3-plugins.sh $CORDOVA_VERSION $CORDOVA_PLATFORM $CORDOVA_PLATFORM_VERSION cordova-plugin-request-location-accuracy cordova-android-play-services-gradle-release cordova-android-firebase-gradle-release; fi
1
+ env:
2
+ global:
3
+ - JAVA_HOME=/usr/lib/jvm/java-8-oracle
4
+ - LANG=en_US.UTF-8
5
+
6
+ matrix:
7
+ include:
8
+ - os: linux
9
+ sudo: false
10
+ language: android
11
+ android:
12
+ components:
13
+ - tools-26.0.0
14
+ - platform-tools-26.0.0
15
+ - build-tools-26.0.0
16
+ - android-26.0.0
17
+ - extra-google-google_play_services
18
+ - extra-google-m2repository
19
+ - extra-android-m2repository
20
+ addons:
21
+ apt:
22
+ packages:
23
+ - oracle-java8-installer
24
+ - oracle-java8-set-default
25
+ licenses:
26
+ - android-sdk-preview-license-.+
27
+ - android-sdk-license-.+
28
+ - google-gdk-license-.+
29
+ env: CORDOVA_VERSION="6.5.0" CORDOVA_PLATFORM="android" CORDOVA_PLATFORM_VERSION="6.4.0"
30
+
31
+ - os: linux
32
+ sudo: false
33
+ language: android
34
+ android:
35
+ components:
36
+ - tools-26.0.0
37
+ - platform-tools-26.0.0
38
+ - build-tools-26.0.0
39
+ - android-26.0.0
40
+ - extra-google-google_play_services
41
+ - extra-google-m2repository
42
+ - extra-android-m2repository
43
+ addons:
44
+ apt:
45
+ packages:
46
+ - oracle-java8-installer
47
+ - oracle-java8-set-default
48
+ licenses:
49
+ - android-sdk-preview-license-.+
50
+ - android-sdk-license-.+
51
+ - google-gdk-license-.+
52
+ env: CORDOVA_VERSION="7.1.0" CORDOVA_PLATFORM="android" CORDOVA_PLATFORM_VERSION="7.1.0"
53
+
54
+ - os: linux
55
+ sudo: false
56
+ language: android
57
+ android:
58
+ components:
59
+ - tools-26.0.0
60
+ - platform-tools-26.0.0
61
+ - build-tools-26.0.0
62
+ - android-26.0.0
63
+ - extra-google-google_play_services
64
+ - extra-google-m2repository
65
+ - extra-android-m2repository
66
+ addons:
67
+ apt:
68
+ packages:
69
+ - oracle-java8-installer
70
+ - oracle-java8-set-default
71
+ licenses:
72
+ - android-sdk-preview-license-.+
73
+ - android-sdk-license-.+
74
+ - google-gdk-license-.+
75
+ env: CORDOVA_VERSION="8.0.0" CORDOVA_PLATFORM="android" CORDOVA_PLATFORM_VERSION="7.1.0"
76
+
77
+ - os: osx
78
+ language: objective-c
79
+ osx_image: xcode9.4
80
+ env: CORDOVA_VERSION="6.5.0" CORDOVA_PLATFORM="ios" CORDOVA_PLATFORM_VERSION="4.5.4"
81
+
82
+ - os: osx
83
+ language: objective-c
84
+ osx_image: xcode9.4
85
+ env: CORDOVA_VERSION="7.1.0" CORDOVA_PLATFORM="ios" CORDOVA_PLATFORM_VERSION="4.5.4"
86
+
87
+ - os: osx
88
+ language: objective-c
89
+ osx_image: xcode9.4
90
+ env: CORDOVA_VERSION="8.0.0" CORDOVA_PLATFORM="ios" CORDOVA_PLATFORM_VERSION="4.5.4"
91
+
92
+ - os: linux
93
+ env: CORDOVA_VERSION="6.5.0" CORDOVA_PLATFORM="browser" CORDOVA_PLATFORM_VERSION="5.0.3"
94
+
95
+ - os: linux
96
+ env: CORDOVA_VERSION="7.1.0" CORDOVA_PLATFORM="browser" CORDOVA_PLATFORM_VERSION="5.0.3"
97
+
98
+ - os: linux
99
+ env: CORDOVA_VERSION="8.0.0" CORDOVA_PLATFORM="browser" CORDOVA_PLATFORM_VERSION="5.0.3"
100
+
101
+ before_install:
102
+ - nvm install 8
103
+ - PATH=$TRAVIS_BUILD_DIR/node_modules/.bin:$PATH ; export PATH
104
+ - if [[ "$CORDOVA_PLATFORM" == "android" ]]; then yes | sdkmanager "build-tools;26.0.0" "platforms;android-26" ; fi
105
+
106
+ script:
107
+ - bash ./test/test-default.sh $CORDOVA_VERSION $CORDOVA_PLATFORM $CORDOVA_PLATFORM_VERSION
108
+ - if [[ "$CORDOVA_PLATFORM" == "android" ]]; then bash ./test/test-with-3-plugins.sh $CORDOVA_VERSION $CORDOVA_PLATFORM $CORDOVA_PLATFORM_VERSION cordova-plugin-request-location-accuracy cordova-android-play-services-gradle-release cordova-android-firebase-gradle-release; fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordova-plugin-reteno",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "The Reteno Cordova Plugin for Mobile Customer Engagement and Analytics solutions",
5
5
  "types": "./types/index.d.ts",
6
6
  "cordova": {
@@ -28,7 +28,9 @@
28
28
  "scripts": {
29
29
  "test": "npm run test:ios && npm run test:android",
30
30
  "test:ios": "bash ./test/test-default.sh 9.0.0 ios 5.0.1",
31
- "test:android": "bash ./test/test-default.sh 9.0.0 android 8.1.0 && bash ./test/test-with-3-plugins.sh 9.0.0 android 8.1.0 cordova-plugin-request-location-accuracy cordova-android-play-services-gradle-release cordova-android-reteno-gradle-release"
31
+ "test:android": "bash ./test/test-default.sh 9.0.0 android 8.1.0 && bash ./test/test-with-3-plugins.sh 9.0.0 android 8.1.0 cordova-plugin-request-location-accuracy cordova-android-play-services-gradle-release cordova-android-reteno-gradle-release",
32
+ "release": "release-it",
33
+ "release:minor": "release-it minor"
32
34
  },
33
35
  "repository": {
34
36
  "type": "git",
@@ -37,5 +39,27 @@
37
39
  "bugs": {
38
40
  "url": "https://github.com/reteno-com/cordova-plugin-reteno/issues"
39
41
  },
40
- "homepage": "https://github.com/reteno-com/cordova-plugin-reteno#readme"
42
+ "homepage": "https://github.com/reteno-com/cordova-plugin-reteno#readme",
43
+ "release-it": {
44
+ "git": {
45
+ "commitMessage": "chore: release ${version}",
46
+ "tagName": "v${version}",
47
+ "pushRepo": "https://github.com/reteno-com/cordova-plugin-reteno.git"
48
+ },
49
+ "npm": {
50
+ "publish": true
51
+ },
52
+ "github": {
53
+ "release": true
54
+ },
55
+ "plugins": {
56
+ "@release-it/conventional-changelog": {
57
+ "preset": "angular"
58
+ }
59
+ }
60
+ },
61
+ "devDependencies": {
62
+ "@release-it/conventional-changelog": "^8.0.1",
63
+ "release-it": "^17.0.1"
64
+ }
41
65
  }
package/plugin.xml CHANGED
@@ -62,7 +62,7 @@
62
62
  <source url="https://cdn.cocoapods.org/"/>
63
63
  </config>
64
64
  <pods use-frameworks="true">
65
- <pod name="Reteno" spec="1.6.6"/>
65
+ <pod name="Reteno" spec="1.7.1"/>
66
66
  </pods>
67
67
  </podspec>
68
68
  </platform>
@@ -1,6 +1,6 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="CompilerConfiguration">
4
- <bytecodeTargetLevel target="11" />
5
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="CompilerConfiguration">
4
+ <bytecodeTargetLevel target="17" />
5
+ </component>
6
6
  </project>
@@ -1,20 +1,20 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="GradleMigrationSettings" migrationVersion="1" />
4
- <component name="GradleSettings">
5
- <option name="linkedExternalProjectsSettings">
6
- <GradleProjectSettings>
7
- <option name="testRunner" value="GRADLE" />
8
- <option name="distributionType" value="DEFAULT_WRAPPED" />
9
- <option name="externalProjectPath" value="$PROJECT_DIR$" />
10
- <option name="gradleJvm" value="11" />
11
- <option name="modules">
12
- <set>
13
- <option value="$PROJECT_DIR$" />
14
- <option value="$PROJECT_DIR$/app" />
15
- </set>
16
- </option>
17
- </GradleProjectSettings>
18
- </option>
19
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="GradleMigrationSettings" migrationVersion="1" />
4
+ <component name="GradleSettings">
5
+ <option name="linkedExternalProjectsSettings">
6
+ <GradleProjectSettings>
7
+ <option name="testRunner" value="GRADLE" />
8
+ <option name="distributionType" value="DEFAULT_WRAPPED" />
9
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
10
+ <option name="gradleJvm" value="jbr-17" />
11
+ <option name="modules">
12
+ <set>
13
+ <option value="$PROJECT_DIR$" />
14
+ <option value="$PROJECT_DIR$/app" />
15
+ </set>
16
+ </option>
17
+ </GradleProjectSettings>
18
+ </option>
19
+ </component>
20
20
  </project>
@@ -1,7 +1,6 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
1
  <project version="4">
3
2
  <component name="ExternalStorageConfigurationManager" enabled="true" />
4
- <component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK">
3
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">
5
4
  <output url="file://$PROJECT_DIR$/build/classes" />
6
5
  </component>
7
6
  <component name="ProjectType">
@@ -1,6 +1,6 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$/../../.." vcs="Git" />
5
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
5
+ </component>
6
6
  </project>
@@ -30,7 +30,7 @@ android {
30
30
  dependencies {
31
31
  implementation 'androidx.appcompat:appcompat:1.6.1'
32
32
  implementation 'com.google.android.material:material:1.5.0'
33
- implementation "com.reteno:fcm:1.6.4"
33
+ implementation "com.reteno:fcm:1.7.0"
34
34
  implementation "com.google.firebase:firebase-messaging:23.1.0"
35
35
  implementation "com.google.firebase:firebase-messaging-ktx:23.1.0"
36
36
  implementation "org.apache.cordova:framework:10.1.2"
@@ -1,7 +1,6 @@
1
- package com.reteno.plugin;
2
-
3
- import com.reteno.core.RetenoApplication;
4
-
5
- public interface CordovaRetenoApplication extends RetenoApplication {
6
- void initReteno(String key);
7
- }
1
+ package com.reteno.plugin;
2
+
3
+ import com.reteno.core.RetenoApplication;
4
+
5
+ public interface CordovaRetenoApplication extends RetenoApplication {
6
+ }