@luciq/react-native 19.2.1 → 19.2.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
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [19.2.2](https://github.com/luciqai/luciq-reactnative-sdk/compare/v19.2.2...19.2.1)
4
+
5
+ ### Changed
6
+
7
+ - Bump Luciq iOS SDK to v19.4.1 ([#34](https://github.com/luciqai/luciq-reactnative-sdk/pull/34)). [See release notes](https://github.com/luciqai/Luciq-iOS-sdk/releases/tag/19.4.1).
8
+
9
+ - Bump Luciq Android SDK to v19.2.2 ([#34](https://github.com/luciqai/luciq-reactnative-sdk/pull/34)). [See release notes](https://github.com/luciqai/Luciq-Android-sdk/releases/tag/v19.2.2).
10
+
3
11
  ## [19.2.1](https://github.com/luciqai/luciq-reactnative-sdk/compare/v19.2.1...19.1.0)
4
12
 
5
13
  ### Added
@@ -14,6 +22,10 @@
14
22
 
15
23
  - Bump Luciq Android SDK to v19.2.1 ([#29](https://github.com/luciqai/luciq-reactnative-sdk/pull/29)). [See release notes](https://github.com/luciqai/Luciq-Android-sdk/releases/tag/v19.2.1).
16
24
 
25
+ ### Fixed
26
+
27
+ - Running Expo Plugin on ios [#31](https://github.com/luciqai/luciq-reactnative-sdk/pull/31))
28
+
17
29
  ## [19.1.0](https://github.com/luciqai/luciq-reactnative-sdk/compare/v19.1.0...19.0.0)
18
30
 
19
31
  ### Added
package/RNLuciq.podspec CHANGED
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
12
12
  s.homepage = package["homepage"]
13
13
  s.source = { :git => "https://github.com/Instabug/Instabug-React-Native.git", :tag => 'v' + package["version"] }
14
14
 
15
- s.platform = :ios, "13.0"
15
+ s.platform = :ios, "15.0"
16
16
  s.source_files = "ios/**/*.{h,m,mm}"
17
17
 
18
18
  s.dependency 'React-Core'
@@ -1,5 +1,5 @@
1
1
  project.ext.luciq = [
2
- version: '19.2.1'
2
+ version: '19.2.2'
3
3
  ]
4
4
 
5
5
  dependencies {
package/ios/native.rb CHANGED
@@ -1,4 +1,4 @@
1
- $luciq= { :version => '19.4.0' }
1
+ $luciq= { :version => '19.4.1' }
2
2
 
3
3
  def use_luciq! (spec = nil)
4
4
  version = $luciq[:version]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@luciq/react-native",
3
3
  "description": "Luciq is the Agentic Observability Platform built for Mobile.",
4
- "version": "19.2.1",
4
+ "version": "19.2.2",
5
5
  "author": "Luciq (https://luciq.ai)",
6
6
  "repository": "github:luciqai/luciq-reactnative-sdk",
7
7
  "homepage": "https://www.luciq.ai/platforms/react-native",
@@ -42044,9 +42044,16 @@ function addLuciqBuildPhase(xcodeProject, packageName) {
42044
42044
  // Inject source map export line into the shell script
42045
42045
  function injectSourceMapExport(script) {
42046
42046
  var exportLine = 'export SOURCEMAP_FILE="$DERIVED_FILE_DIR/main.jsbundle.map"';
42047
- var escapedLine = exportLine.replace(/\$/g, '\\$').replace(/"/g, '\\"');
42047
+ var escapedLine = exportLine.replace(/"/g, '\\"');
42048
42048
  var injectedLine = "".concat(escapedLine, "\\n");
42049
- return script.includes(escapedLine) ? script : script.replace(/^"/, "\"".concat(injectedLine));
42049
+ if (script.includes(escapedLine)) {
42050
+ return script;
42051
+ }
42052
+ var buggyLine = exportLine.replace(/\$/g, '\\$').replace(/"/g, '\\"');
42053
+ if (script.includes(buggyLine)) {
42054
+ return script.split(buggyLine).join(escapedLine);
42055
+ }
42056
+ return script.replace(/^"/, "\"".concat(injectedLine));
42050
42057
  }
42051
42058
 
42052
42059
  var luciqPackage = require('../../package.json');
@@ -102,8 +102,15 @@ function addLuciqBuildPhase(xcodeProject: XcodeProject, packageName: string): vo
102
102
  // Inject source map export line into the shell script
103
103
  function injectSourceMapExport(script: string): string {
104
104
  const exportLine = 'export SOURCEMAP_FILE="$DERIVED_FILE_DIR/main.jsbundle.map"';
105
- const escapedLine = exportLine.replace(/\$/g, '\\$').replace(/"/g, '\\"');
105
+ const escapedLine = exportLine.replace(/"/g, '\\"');
106
106
  const injectedLine = `${escapedLine}\\n`;
107
107
 
108
- return script.includes(escapedLine) ? script : script.replace(/^"/, `"${injectedLine}`);
108
+ if (script.includes(escapedLine)) {
109
+ return script;
110
+ }
111
+ const buggyLine = exportLine.replace(/\$/g, '\\$').replace(/"/g, '\\"');
112
+ if (script.includes(buggyLine)) {
113
+ return script.split(buggyLine).join(escapedLine);
114
+ }
115
+ return script.replace(/^"/, `"${injectedLine}`);
109
116
  }