Skip to content

Commit 735315b

Browse files
uercegAditi3
authored andcommitted
refac: various cleanups
1 parent b771fd7 commit 735315b

File tree

20 files changed

+955
-910
lines changed

20 files changed

+955
-910
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### Version 5.4.0 (xth June 2025)
1+
### Version 5.4.0 (18th June 2025)
22
#### Added
33
- Added support for configuring store information via the `AdjustStoreInfo` object. You can now specify the store name and store app ID via `setStoreInfo` method on your `AdjustConfig` instance. This enables the SDK to record the intended app store source during initialization. For more details about this feature, refer to the [official documentation](https://dev.adjust.com/en/sdk/react-native/setup/store-type).
44
- Added ability to initialize the SDK for the first session in delayed mode. You can start the SDK in the delayed mode by calling the `enableFirstSessionDelay` method on your `AdjustConfig` instance. To end the delay, make sure to call `endFirstSessionDelay` method of `Adjust` instance. For more details about this feature, refer to the [official documentation](https://dev.adjust.com/en/sdk/react-native/features/first-session-delay).

android/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@ apply plugin: 'com.android.library'
22

33
def _ext = rootProject.ext
44

5-
def _compileSdkVersion = _ext.has('compileSdkVersion') ? _ext.compileSdkVersion : 33
6-
def _buildToolsVersion = _ext.has('buildToolsVersion') ? _ext.buildToolsVersion : "33.0.0"
7-
def _minSdkVersion = _ext.has('minSdkVersion') ? _ext.minSdkVersion : 16
8-
def _targetSdkVersion = _ext.has('targetSdkVersion') ? _ext.targetSdkVersion : 33
5+
def _compileSdkVersion = _ext.has('compileSdkVersion') ? _ext.compileSdkVersion : 36
6+
def _minSdkVersion = _ext.has('minSdkVersion') ? _ext.minSdkVersion : 21
7+
def _targetSdkVersion = _ext.has('targetSdkVersion') ? _ext.targetSdkVersion : 36
98

109
android {
10+
namespace 'com.adjust.nativemodule'
1111
compileSdkVersion _compileSdkVersion
12-
buildToolsVersion _buildToolsVersion
1312

1413
defaultConfig {
1514
minSdkVersion _minSdkVersion
1615
targetSdkVersion _targetSdkVersion
1716
versionCode 1
1817
versionName "1.0"
1918
}
19+
2020
buildTypes {
2121
release {
2222
minifyEnabled false
23-
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
23+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
2424
}
2525
}
2626
}

android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.adjust.nativemodule">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
33
<uses-permission android:name="android.permission.INTERNET" />
44
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
55
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>

0 commit comments

Comments
 (0)