@developer_tribe/react-native-comnyx 0.12.4 → 0.12.5

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/ios/Comnyx.swift CHANGED
@@ -63,10 +63,10 @@ class Comnyx: RCTEventEmitter {
63
63
  "threadIdentifier": response.notification.request.content.threadIdentifier
64
64
  ]
65
65
  ]
66
-
66
+
67
67
  ]
68
68
  ]
69
- self.sendEvent(withName: "NOTIFICATION_CLICKED", body: ["response": responseData])
69
+ self.sendEvent(withName: "NOTIFICATION_CLICKED", body: responseData)
70
70
  })
71
71
  }
72
72
 
@@ -135,7 +135,7 @@ class Comnyx: RCTEventEmitter {
135
135
  @objc
136
136
  func initialize(_ resolve: @escaping RCTPromiseResolveBlock, reject reject: @escaping RCTPromiseRejectBlock) {
137
137
  self.comnyxMessaging!.initialize(onInitialized: { initialized in
138
-
138
+
139
139
  var countryCode = "US"
140
140
  var language = "en"
141
141
  if #available(iOS 16, *) {
@@ -146,7 +146,7 @@ class Comnyx: RCTEventEmitter {
146
146
  language = Locale.current.languageCode ?? "en"
147
147
  }
148
148
  let timezone = TimeZone.current.identifier
149
-
149
+
150
150
  resolve([
151
151
  "success": initialized,
152
152
  "country": countryCode,
@@ -191,15 +191,15 @@ class Comnyx: RCTEventEmitter {
191
191
  static func registerDeviceToken(_ deviceToken: Data) {
192
192
  let token = deviceToken.map { String(format: "%02.2hhx", $0) }.joined()
193
193
  print("Device Token: \(token)")
194
-
194
+
195
195
  // Post notification for RCT modules to handle
196
196
  NotificationCenter.default.post(
197
197
  name: NSNotification.Name("RCTRemoteNotificationRegistered"),
198
198
  object: self,
199
199
  userInfo: ["deviceToken": token]
200
- )
200
+ )
201
201
  }
202
-
202
+
203
203
  @objc
204
204
  static func registerDeviceTokenFailed(_ error: Error) {
205
205
  print("Device Token Failed: \(error)")
@@ -5,5 +5,5 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.VERSION = void 0;
7
7
  // This file is auto-generated. Do not edit manually.
8
- const VERSION = exports.VERSION = '0.12.4';
8
+ const VERSION = exports.VERSION = '0.12.5';
9
9
  //# sourceMappingURL=version.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
 
3
3
  // This file is auto-generated. Do not edit manually.
4
- export const VERSION = '0.12.4';
4
+ export const VERSION = '0.12.5';
5
5
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.12.4";
1
+ export declare const VERSION = "0.12.5";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@developer_tribe/react-native-comnyx",
3
- "version": "0.12.4",
3
+ "version": "0.12.5",
4
4
  "description": "React Native chat component with integrated support panel, enabling real-time customer communication and efficient agent workflow management.",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/commonjs/index.js",
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // This file is auto-generated. Do not edit manually.
2
- export const VERSION = '0.12.4';
2
+ export const VERSION = '0.12.5';
@@ -1,7 +0,0 @@
1
- //
2
- // APN.swift
3
- // Pods
4
- //
5
- // Created by Hasbi Sefa Demir on 15.05.2025.
6
- //
7
-