@igaworks/adbrix-react-native-sdk 1.1.0 → 1.1.2

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/CHANGELOG.md CHANGED
@@ -3,10 +3,33 @@
3
3
 
4
4
 
5
5
 
6
- ## 1.1.0 (2025-11-06)
6
+
7
+ ## 1.1.2 (2026-02-19)
8
+
9
+ ##### Added
10
+ - Added support for SKAdNetwork (SKAN). [iOS]
11
+
12
+ ##### Changed
13
+ - Logging system changed [iOS]
14
+
15
+ ##### Fixed
16
+ - Fixed an issue in Unity where float values (e.g., 100.0) were incorrectly converted to integers, causing event attributes to be dropped. [Android]
17
+ - Resolved a NullPointerException that occurred in unit test environments when null values were passed as inputs. [Android]
18
+ - Fixed an intermittent issue where queued events were excluded from transmission during consecutive event calls. [Android]
19
+
20
+ ##### Notes
21
+ - Event sampling now applies to all events. [Android]
22
+ - Standardized inconsistent log structures and messages across all platforms into a single format. [Android]
23
+
24
+ ##### Versions
25
+
26
+ - **Android**
27
+ - Adbrix Android SDK 3.0.10
28
+ - **iOS**
29
+ - Adbrix iOS SDK 3.2.1
30
+ ## 1.1.1 (2025-11-06)
7
31
 
8
32
  ##### Added
9
- - SKAN [iOS]
10
33
  - Added support for SKAdNetwork (SKAN). [iOS]
11
34
 
12
35
  ##### Versions
@@ -63,7 +86,31 @@
63
86
 
64
87
 
65
88
 
66
- ## 1.1.0 (2025-11-06)
89
+
90
+ ## 1.1.2 (2026-02-19)
91
+
92
+ ##### 추가됨
93
+ - SKAdNetwork(SKAN) 기능이 추가되었습니다. [iOS]
94
+
95
+ ##### 변경됨
96
+ - 로깅 시스템 변경 [iOS]
97
+
98
+ ##### 고쳐짐
99
+ - Unity에서 100.0과 같은 실수형 데이터가 정수형으로 변환되어 이벤트 속성에서 누락되던 타입을 수정하였습니다. [Android]
100
+ - 유닛 테스트 환경에서 null 값이 입력될 경우 NullPointerException이 발생하던 문제를 해결하였습니다. [Android]
101
+ - 연속적인 이벤트 발생 시, 메모리 큐에 대기 중인 이벤트가 발송 대상에서 간헐적으로 누락되던 문제를 해결하였습니다. [Android]
102
+
103
+ ##### 주요 사항
104
+ - 이벤트 샘플링이 모든 이벤트에 적용되도록 변경되었습니다. [Android]
105
+ - 플랫폼별로 상이했던 로그 구조와 메시지가 통일된 규격으로 변경되었습니다. [Android]
106
+
107
+ ##### 버전 정보
108
+
109
+ - **Android**
110
+ - Adbrix Android SDK 3.0.10
111
+ - **iOS**
112
+ - Adbrix iOS SDK 3.2.1
113
+ ## 1.1.1 (2025-11-06)
67
114
 
68
115
  ##### 추가됨
69
116
  - SKAdNetwork(SKAN) 기능이 추가되었습니다. [iOS]
@@ -15,6 +15,6 @@ Pod::Spec.new do |s|
15
15
 
16
16
  s.source_files = "ios/**/*.{h,m,mm,swift}"
17
17
 
18
- s.dependency "adbrix2.0", "3.0.3"
18
+ s.dependency "adbrix2.0", "3.2.1"
19
19
  s.dependency "React-Core"
20
20
  end
@@ -71,7 +71,7 @@ repositories {
71
71
 
72
72
  dependencies {
73
73
  implementation "com.facebook.react:react-native:+"
74
- implementation 'com.igaworks.adbrix:android-sdk:3.0.7'
74
+ implementation 'com.igaworks.adbrix:android-sdk:3.0.10'
75
75
  implementation 'com.android.installreferrer:installreferrer:2.2'
76
76
  implementation 'com.google.android.gms:play-services-ads-identifier:18.2.0'
77
77
  }
@@ -0,0 +1,5 @@
1
+ distributionBase=GRADLE_USER_HOME
2
+ distributionPath=wrapper/dists
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
4
+ zipStoreBase=GRADLE_USER_HOME
5
+ zipStorePath=wrapper/dists
@@ -20,8 +20,17 @@ RCT_EXPORT_METHOD(initWithConfig:(NSDictionary *)params)
20
20
  NSString *applicationKey = params[@"applicationKey"];
21
21
  NSString *secretKey = params[@"secretKey"];
22
22
  NSDictionary *config = params[@"config"];
23
+ NSDictionary *normalizedConfig = config;
23
24
 
24
- [AdbrixReactNative initWithAppKey:applicationKey secretKey:secretKey config:config];
25
+ if ([config isKindOfClass:[NSDictionary class]]) {
26
+ NSMutableDictionary *mutableConfig = [config mutableCopy];
27
+ if (mutableConfig[@"ABLogLevel"] != nil) {
28
+ [mutableConfig removeObjectForKey:@"setLog"];
29
+ }
30
+ normalizedConfig = [mutableConfig copy];
31
+ }
32
+
33
+ [AdbrixReactNative initWithAppKey:applicationKey secretKey:secretKey config:normalizedConfig];
25
34
  }
26
35
 
27
36
  RCT_EXPORT_METHOD(logEvent:(NSDictionary *)params)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igaworks/adbrix-react-native-sdk",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "This is Official Adbrix 2.0 SDK for React Native.",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  "url": "git+https://github.com/IGAWorksDev/adbrix-react-native-sdk.git"
18
18
  },
19
19
  "author": "igaworks-dev <cs@igaworks.com> (https://www.igaworks.com/)",
20
- "license": "COMMERCIAL",
20
+ "license": "MIT",
21
21
  "homepage": "https://adbrix.gitbook.io/developer-guide",
22
22
  "devDependencies": {
23
23
  "@react-native/eslint-config": "^0.78.0",
package/src/constants.js CHANGED
@@ -130,7 +130,13 @@ export const ABSignUpChannel = {
130
130
  };
131
131
 
132
132
  export const ABConfig = {
133
+ /** @deprecated Use IOS_LOG_LEVEL instead. */
133
134
  IOS_LOG_ENABLE: 'setLog',
135
+ /**
136
+ * iOS log level config key.
137
+ * Use this key with one of ABiOSLogLevel values.
138
+ */
139
+ IOS_LOG_LEVEL: 'ABLogLevel',
134
140
  ANDROID_LOG_ENABLE: 'android_log_enable',
135
141
  ANDROID_LOG_LEVEL: 'android_log_level',
136
142
  ANDROID_COLLECT_GOOGLE_ADVERTISING_ID: 'android_collect_google_advertising_id',
@@ -160,6 +166,18 @@ export const ABiOSTrackingTimeout = {
160
166
  TIMEOUT_180: 180,
161
167
  };
162
168
 
169
+ /**
170
+ * iOS log level values for ABConfig.IOS_LOG_LEVEL.
171
+ * Setting ABConfig.IOS_LOG_LEVEL with one of these values enables iOS SDK logging.
172
+ */
173
+ export const ABiOSLogLevel = {
174
+ VERBOSE: 2,
175
+ DEBUG: 3,
176
+ INFO: 4,
177
+ WARN: 5,
178
+ ERROR: 6,
179
+ };
180
+
163
181
  export default {
164
182
  ABEvent,
165
183
  ABEventProperty,
@@ -172,4 +190,5 @@ export default {
172
190
  ABDeepLinkResult,
173
191
  ABAndroidLogLevel,
174
192
  ABiOSTrackingTimeout,
175
- };
193
+ ABiOSLogLevel,
194
+ };
package/src/index.d.ts CHANGED
@@ -109,7 +109,9 @@ export interface ABCurrencyType {
109
109
  }
110
110
 
111
111
  export interface ABConfigType {
112
+ /** @deprecated Use IOS_LOG_LEVEL instead. */
112
113
  IOS_LOG_ENABLE: string;
114
+ IOS_LOG_LEVEL: string;
113
115
  ANDROID_LOG_ENABLE: string;
114
116
  ANDROID_LOG_LEVEL: string;
115
117
  ANDROID_COLLECT_GOOGLE_ADVERTISING_ID: string;
@@ -139,6 +141,14 @@ export interface ABiOSTrackingTimeoutType {
139
141
  TIMEOUT_180: number;
140
142
  }
141
143
 
144
+ export interface ABiOSLogLevelType {
145
+ VERBOSE: number;
146
+ DEBUG: number;
147
+ INFO: number;
148
+ WARN: number;
149
+ ERROR: number;
150
+ }
151
+
142
152
  export interface ABInviteChannelType {
143
153
  KAKAO: string;
144
154
  NAVER: string;
@@ -203,6 +213,7 @@ export declare const ABConfig: ABConfigType;
203
213
  export declare const ABDeepLinkResult: ABDeepLinkResultType;
204
214
  export declare const ABAndroidLogLevel: ABAndroidLogLevelType;
205
215
  export declare const ABiOSTrackingTimeout: ABiOSTrackingTimeoutType;
216
+ export declare const ABiOSLogLevel: ABiOSLogLevelType;
206
217
 
207
218
  export type ABCurrencyValue = ABCurrencyType[keyof ABCurrencyType];
208
219
  export type ABInviteChannelValue = ABInviteChannelType[keyof ABInviteChannelType];
@@ -309,4 +320,4 @@ export interface PropertiesType {
309
320
  export declare const ABProperty: PropertiesType;
310
321
  export declare const ABItem: () => ItemBuilder;
311
322
 
312
- export default Adbrix;
323
+ export default Adbrix;