plotline-engage 5.7.2 → 5.7.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/android/build.gradle
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
buildscript {
|
|
3
3
|
repositories {
|
|
4
|
-
|
|
4
|
+
mavenCentral()
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
dependencies {
|
|
@@ -12,7 +12,7 @@ buildscript {
|
|
|
12
12
|
apply plugin: 'com.android.library'
|
|
13
13
|
|
|
14
14
|
android {
|
|
15
|
-
compileSdkVersion 33
|
|
15
|
+
compileSdkVersion rootProject.ext.has('compileSdkVersion') ? Math.max(33, rootProject.ext.compileSdkVersion as int) : 33
|
|
16
16
|
buildToolsVersion "23.0.1"
|
|
17
17
|
namespace "com.reactnativeplotline"
|
|
18
18
|
compileOptions {
|
|
@@ -33,13 +33,22 @@ android {
|
|
|
33
33
|
|
|
34
34
|
repositories {
|
|
35
35
|
mavenCentral()
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// The host app also resolves this module's native SDK dependency.
|
|
39
|
+
rootProject.allprojects {
|
|
40
|
+
repositories {
|
|
41
|
+
exclusiveContent {
|
|
42
|
+
forRepository {
|
|
43
|
+
maven { url 'https://android-sdk.plotline.so' }
|
|
44
|
+
}
|
|
45
|
+
filter { includeGroup 'com.gitlab.plotline' }
|
|
46
|
+
}
|
|
38
47
|
}
|
|
39
48
|
}
|
|
40
49
|
|
|
41
50
|
dependencies {
|
|
42
51
|
implementation 'com.facebook.react:react-native:+'
|
|
43
|
-
implementation 'com.gitlab.plotline:plotline-android-sdk:5.
|
|
52
|
+
implementation 'com.gitlab.plotline:plotline-android-sdk:5.3.0'
|
|
44
53
|
}
|
|
45
54
|
|
|
@@ -275,6 +275,7 @@ public class RNPlotline extends ReactContextBaseJavaModule {
|
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
public static void setNotificationMetadata(Context context, @DrawableRes int smallIcon) {
|
|
278
|
+
Plotline.setFramework("REACT_NATIVE");
|
|
278
279
|
PlotlinePush.setPlotlineNotificationMetaData(context, new PlotlineNotificationConfig(smallIcon));
|
|
279
280
|
}
|
|
280
281
|
|
|
@@ -284,6 +285,7 @@ public class RNPlotline extends ReactContextBaseJavaModule {
|
|
|
284
285
|
}
|
|
285
286
|
|
|
286
287
|
public static void setFcmToken(Context context, String fcmToken) {
|
|
288
|
+
Plotline.setFramework("REACT_NATIVE");
|
|
287
289
|
PlotlinePush.setFcmToken(context, fcmToken);
|
|
288
290
|
}
|
|
289
291
|
|