reactnative-plugin-appice 1.7.27 → 1.7.29

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.
@@ -1,18 +1,6 @@
1
- // android/build.gradle
2
-
3
- // based on:
4
- //
5
- // * https://github.com/facebook/react-native/blob/0.60-stable/template/android/build.gradle
6
- // original location:
7
- // - https://github.com/facebook/react-native/blob/0.58-stable/local-cli/templates/HelloWorld/android/build.gradle
8
- //
9
- // * https://github.com/facebook/react-native/blob/0.60-stable/template/android/app/build.gradle
10
- // original location:
11
- // - https://github.com/facebook/react-native/blob/0.58-stable/local-cli/templates/HelloWorld/android/app/build.gradle
12
-
13
- def DEFAULT_COMPILE_SDK_VERSION = 34
1
+ def DEFAULT_COMPILE_SDK_VERSION = 35
14
2
  def DEFAULT_MIN_SDK_VERSION = 21
15
- def DEFAULT_TARGET_SDK_VERSION = 34
3
+ def DEFAULT_TARGET_SDK_VERSION = 35
16
4
 
17
5
  def safeExtGet(prop, fallback) {
18
6
  rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
@@ -21,17 +9,10 @@ def safeExtGet(prop, fallback) {
21
9
  apply plugin: 'com.android.library'
22
10
 
23
11
  buildscript {
24
- // The Android Gradle plugin is only required when opening the android folder stand-alone.
25
- // This avoids unnecessary downloads and potential conflicts when the library is included as a
26
- // module dependency in an application project.
27
- // ref: https://docs.gradle.org/current/userguide/tutorial_using_tasks.html#sec:build_script_external_dependencies
12
+
28
13
  if (project == rootProject) {
29
14
  repositories {
30
15
  google()
31
- jcenter()
32
- }
33
- dependencies {
34
- classpath 'com.android.tools.build:gradle:3.4.3'
35
16
  }
36
17
  }
37
18
  }
@@ -43,17 +24,17 @@ android {
43
24
  defaultConfig {
44
25
  minSdkVersion safeExtGet('minSdkVersion', DEFAULT_MIN_SDK_VERSION)
45
26
  targetSdkVersion safeExtGet('targetSdkVersion', DEFAULT_TARGET_SDK_VERSION)
46
- versionCode 2
47
- versionName "2.0"
27
+ versionCode 3
28
+ versionName "3.0"
48
29
  multiDexEnabled true
49
30
  }
50
31
  lintOptions {
51
32
  abortOnError false
52
33
  }
34
+ namespace 'com.appice.react'
53
35
  }
54
36
 
55
37
  repositories {
56
- // ref: https://www.baeldung.com/maven-local-repository
57
38
  mavenLocal()
58
39
  maven {
59
40
  // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
@@ -75,7 +56,6 @@ repositories {
75
56
  }
76
57
  }
77
58
  google()
78
- jcenter()
79
59
  }
80
60
 
81
61
 
@@ -114,7 +94,7 @@ dependencies {
114
94
  annotationProcessor "androidx.lifecycle:lifecycle-compiler:2.3.1"
115
95
 
116
96
  //appice
117
- implementation "appice.io.android:sdk:2.6.17-release"
97
+ implementation "appice.io.android:sdk:2.6.20"
118
98
 
119
99
  //glide
120
100
  implementation "com.github.bumptech.glide:glide:4.11.0"
@@ -1,5 +1,5 @@
1
1
  distributionBase=GRADLE_USER_HOME
2
2
  distributionPath=wrapper/dists
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip
4
4
  zipStoreBase=GRADLE_USER_HOME
5
5
  zipStorePath=wrapper/dists
@@ -1,15 +1,6 @@
1
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
- package="com.reactlibrary">
1
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android">
3
2
 
4
- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
5
3
  <uses-permission android:name="android.permission.INTERNET" />
6
- <uses-permission android:name="android.permission.VIBRATE" />
7
-
8
- <uses-permission android:name="android.permission.WAKE_LOCK" />
9
- <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
10
- <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
11
-
12
- <uses-permission android:name="com.google.android.gms.permission.AD_ID" />
13
4
 
14
5
  <application>
15
6
  <service
@@ -30,12 +21,6 @@
30
21
  </intent-filter>
31
22
  </receiver>
32
23
 
33
- <!-- Semusi setup start -->
34
- <service
35
- android:name="semusi.activitysdk.Api"
36
- android:exported="false"
37
- android:protectionLevel="signature" />
38
-
39
24
  <activity
40
25
  android:name="semusi.context.ui.UIEventsHandler"
41
26
  android:exported="false"
@@ -120,9 +105,8 @@
120
105
  <service
121
106
  android:protectionLevel="signature"
122
107
  android:name="semusi.ruleengine.pushmanager.NotificationEventService"
123
- android:permission="android.permission.BIND_JOB_SERVICE"></service>
124
- <!-- Semusi setup end -->
125
- <!-- Semusi Job Start -->
108
+ android:permission="android.permission.BIND_JOB_SERVICE">
109
+ </service>
126
110
 
127
111
  <receiver
128
112
  android:protectionLevel="signature"
@@ -132,7 +116,5 @@
132
116
  <action android:name="io.appice.CAROUSELNOTIFICATIONFIRED" />
133
117
  </intent-filter>
134
118
  </receiver>
135
-
136
-
137
119
  </application>
138
120
  </manifest>
@@ -1,4 +1,4 @@
1
- package com.reactlibrary;
1
+ package com.appice.react;
2
2
 
3
3
  import com.facebook.react.bridge.Arguments;
4
4
  import com.facebook.react.bridge.ReadableArray;
@@ -1,11 +1,11 @@
1
- package com.reactlibrary;
2
-
3
- import static com.reactlibrary.AppICEUtils.arrayListStringFromReadableArray;
4
- import static com.reactlibrary.AppICEUtils.eventPropsFromReadableMap;
5
- import static com.reactlibrary.StringConstants.MEDIA_DATA;
6
- import static com.reactlibrary.StringConstants.MEDIA_THUMBNAIL;
7
- import static com.reactlibrary.StringConstants.MEDIA_TYPE;
8
- import static com.reactlibrary.StringConstants.MEDIA_URL;
1
+ package com.appice.react;
2
+
3
+ import static com.appice.react.AppICEUtils.arrayListStringFromReadableArray;
4
+ import static com.appice.react.AppICEUtils.eventPropsFromReadableMap;
5
+ import static com.appice.react.StringConstants.MEDIA_DATA;
6
+ import static com.appice.react.StringConstants.MEDIA_THUMBNAIL;
7
+ import static com.appice.react.StringConstants.MEDIA_TYPE;
8
+ import static com.appice.react.StringConstants.MEDIA_URL;
9
9
 
10
10
  import android.content.Context;
11
11
  import android.content.Intent;
@@ -1,4 +1,4 @@
1
- package com.reactlibrary;
1
+ package com.appice.react;
2
2
 
3
3
  import java.util.Arrays;
4
4
  import java.util.Collections;
@@ -1,4 +1,4 @@
1
- package com.reactlibrary;
1
+ package com.appice.react;
2
2
 
3
3
  import android.content.BroadcastReceiver;
4
4
  import android.content.Context;
@@ -1,6 +1,6 @@
1
- package com.reactlibrary;
1
+ package com.appice.react;
2
2
 
3
- import static com.reactlibrary.StringConstants.*;
3
+ import static com.appice.react.StringConstants.*;
4
4
 
5
5
  import semusi.model.user.CustomUserPropertyConstants;
6
6
  import semusi.model.user.Ecommerce;
@@ -1,4 +1,4 @@
1
- package com.reactlibrary;
1
+ package com.appice.react;
2
2
 
3
3
  import android.annotation.TargetApi;
4
4
  import android.app.job.JobParameters;
@@ -1,4 +1,4 @@
1
- package com.reactlibrary;
1
+ package com.appice.react;
2
2
  public interface StringConstants{
3
3
  String FAILED_RETRIVE_MEDIA_DATA = "Failed to retrieve media data";
4
4
  String INVALID_INBOX_FORMAT = "Invalid inbox message format";
File without changes
File without changes
@@ -24,7 +24,7 @@ buildscript {
24
24
  url "https://gitlab.com/api/v4/projects/10636887/packages/maven"
25
25
  credentials(HttpHeaderCredentials) {
26
26
  name = "Deploy-Token"
27
- value = "PJMsxXdArqsmqDx4x5B6"
27
+ value = "gldt-ayJbLQtEd-nfQG6puvoD"
28
28
  }
29
29
  authentication {
30
30
  header(HttpHeaderAuthentication)
@@ -17,7 +17,7 @@
17
17
  "install": "^0.13.0",
18
18
  "react": "18.0.0",
19
19
  "react-native": "0.69.4",
20
- "reactnative-plugin-appice": "1.7.25",
20
+ "reactnative-plugin-appice": "1.7.28",
21
21
  "react-native-mmkv": "2.12.2"
22
22
  },
23
23
  "devDependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reactnative-plugin-appice",
3
- "version": "1.7.27",
3
+ "version": "1.7.29",
4
4
  "description": "appICE React Native SDK",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
23
23
  s.requires_arc = true
24
24
 
25
25
  s.dependency "React"
26
- s.dependency "AppICE-IOS-SDK", "1.7.93"
26
+ s.dependency "AppICE-IOS-SDK", "1.8.07"
27
27
  # ...
28
28
  # s.dependency "..."
29
29
  end