react-native-moengage-inbox 6.2.0 → 6.3.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.
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
17
17
  s.public_header_files = 'ios/**/*.h'
18
18
 
19
19
  s.dependency "React-Core"
20
- s.dependency "MoEngagePluginInbox",'4.8.0'
20
+ s.dependency "MoEngagePluginInbox",'4.8.2'
21
21
  s.dependency 'ReactNativeMoEngage'
22
22
  s.module_map = false
23
23
 
@@ -1,59 +1,44 @@
1
- buildscript {
2
- ext.kotlinVersion = '1.9.23'
1
+ import com.moengage.gradle.android.library.plugin.configs.BuildConfigType
2
+
3
+ ext {
4
+ moengageNativeBOMVersion = "2.1.0"
5
+ moengagePluginBaseBOMVersion = "2.0.0"
6
+ kotlinVersion = "1.9.23"
7
+ }
3
8
 
9
+ buildscript {
4
10
  repositories {
5
11
  google()
6
12
  mavenCentral()
13
+ gradlePluginPortal()
7
14
  }
8
15
 
9
16
  dependencies {
10
- classpath 'com.android.tools.build:gradle:8.7.3'
11
- // noinspection DifferentKotlinGradleVersion
17
+ classpath 'com.android.tools.build:gradle:8.13.2'
12
18
  classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
19
+ classpath "com.moengage.android.hybrid.module.config.plugin:com.moengage.android.hybrid.module.config.plugin.gradle.plugin:0.0.4"
13
20
  }
14
21
  }
15
22
 
16
- ext {
17
- moengageNativeBOMVersion = "1.5.1"
18
- moengagePluginBaseBOMVersion = "1.2.1"
19
- }
20
-
21
- apply plugin: 'com.android.library'
22
- apply plugin: 'kotlin-android'
23
+ apply plugin: 'com.moengage.android.hybrid.module.config.plugin'
23
24
  apply plugin: 'com.facebook.react'
24
25
 
25
- android {
26
- compileSdk 35
27
- namespace "com.moengage.react.inbox"
28
- defaultConfig {
29
- minSdk 23
30
- versionCode 1
31
- versionName "1.0"
32
-
33
- buildConfigField("boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString())
34
- }
35
-
36
- buildTypes {
37
- release {
38
- minifyEnabled false
39
- }
40
- }
41
- lintOptions {
42
- disable 'GradleCompatible'
43
- }
44
- compileOptions {
45
- sourceCompatibility JavaVersion.VERSION_1_8
46
- targetCompatibility JavaVersion.VERSION_1_8
47
- }
48
-
26
+ hybridModuleConfig.configurePlugin {
49
27
  kotlinOptions {
50
- freeCompilerArgs = ['-Xjvm-default=all']
28
+ enableJvmTarget = false
29
+ compilerArgs = ['-Xjvm-default=all']
51
30
  }
52
-
53
- buildFeatures {
54
- buildConfig true
31
+ buildFeature {
32
+ buildConfigField(
33
+ BuildConfigType.BOOLEAN,
34
+ "IS_NEW_ARCHITECTURE_ENABLED",
35
+ isNewArchitectureEnabled().toString()
36
+ )
55
37
  }
38
+ }
56
39
 
40
+ android {
41
+ namespace "com.moengage.react.inbox"
57
42
  sourceSets {
58
43
  main {
59
44
  if (isNewArchitectureEnabled()) {
@@ -65,11 +50,6 @@ android {
65
50
  }
66
51
  }
67
52
 
68
- repositories {
69
- mavenCentral()
70
- google()
71
- }
72
-
73
53
  dependencies {
74
54
  // noinspection GradleDynamicVersion
75
55
  compileOnly('com.facebook.react:react-native')
@@ -1,5 +1,5 @@
1
1
  distributionBase=GRADLE_USER_HOME
2
2
  distributionPath=wrapper/dists
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-all.zip
4
4
  zipStoreBase=GRADLE_USER_HOME
5
5
  zipStorePath=wrapper/dists
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-moengage-inbox",
3
- "version": "6.2.0",
3
+ "version": "6.3.0",
4
4
  "description": "Inbox Module for the MoEngage Platform",
5
5
  "main": "src/index.ts",
6
6
  "files": [
@@ -26,7 +26,6 @@
26
26
  "android",
27
27
  "moengage"
28
28
  ],
29
- "repository": "https://github.com/moengage/React-Native",
30
29
  "author": {
31
30
  "name": "MoEngage",
32
31
  "email": "mobiledevs@moengage.com"
@@ -52,5 +51,9 @@
52
51
  "android": {
53
52
  "javaPackageName": "com.moengage.react.inbox"
54
53
  }
54
+ },
55
+ "repository": {
56
+ "type": "git",
57
+ "url": "https://github.com/moengage/React-Native"
55
58
  }
56
59
  }