Skip to content

Commit 0fc8f83

Browse files
Release:v16.0.1
1 parent d67d2a2 commit 0fc8f83

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [16.0.1](https://github.com/Instabug/Instabug-React-Native/compare/v16.0.0...dev)
4+
5+
### Fixed
6+
7+
- Reading `INSTABUG_APP_TOKEN` when upload sourcemap file ([#1448](https://github.com/Instabug/Instabug-React-Native/pull/1448))
8+
39
## [16.0.0](https://github.com/Instabug/Instabug-React-Native/compare/v15.0.3...dev)
410

511
### Added

android/sourcemaps.gradle

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,18 @@ Task createUploadSourcemapsTask(String flavor, String defaultVersionName, String
4242
def appProject = project(':app')
4343
def appDir = appProject.projectDir
4444
def sourceMapFile = getSourceMapFile(appDir, flavor,task)
45-
println "✅ Resolved sourcemap file path: ${sourceMapFile.absolutePath}"
4645

4746
def jsProjectDir = rootDir.parentFile
4847
def instabugDir = new File(['node', '-p', 'require.resolve("instabug-reactnative/package.json")'].execute(null, rootDir).text.trim()).getParentFile()
4948

5049
def tokenJsFile = new File(instabugDir, 'scripts/find-token.js')
5150
def inferredToken = executeNodeScript(tokenJsFile, jsProjectDir)
51+
X
52+
def appToken = resolveVar('App Token', 'INSTABUG_APP_TOKEN', inferredToken)
5253

53-
if (!inferredToken) {
54+
if (!appToken) {
5455
throw new GradleException("❌ Unable to infer Instabug token from script: ${tokenShellFile.absolutePath}")
5556
}
56-
57-
def appToken = resolveVar('App Token', 'INSTABUG_APP_TOKEN', inferredToken)
58-
5957
def versionName = resolveVar('Version Name', 'INSTABUG_VERSION_NAME', defaultVersionName)
6058
def versionCode = resolveVar('Version Code', 'INSTABUG_VERSION_CODE', defaultVersionCode)
6159

examples/default/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,7 +1625,7 @@ PODS:
16251625
- ReactCommon/turbomodule/bridging
16261626
- ReactCommon/turbomodule/core
16271627
- Yoga
1628-
- RNInstabug (16.0.0):
1628+
- RNInstabug (16.0.1):
16291629
- Instabug (= 16.0.2)
16301630
- React-Core
16311631
- RNReanimated (3.16.1):
@@ -2090,7 +2090,7 @@ SPEC CHECKSUMS:
20902090
ReactCommon: 6a952e50c2a4b694731d7682aaa6c79bc156e4ad
20912091
RNCClipboard: 2821ac938ef46f736a8de0c8814845dde2dcbdfb
20922092
RNGestureHandler: 511250b190a284388f9dd0d2e56c1df76f14cfb8
2093-
RNInstabug: f06cf043f071311456d3ad14b4f9da628f2cd29b
2093+
RNInstabug: d1f180394898494776cb00da5ae23f64ac7b3dcb
20942094
RNReanimated: f42a5044d121d68e91680caacb0293f4274228eb
20952095
RNScreens: c7ceced6a8384cb9be5e7a5e88e9e714401fd958
20962096
RNSVG: 8b1a777d54096b8c2a0fd38fc9d5a454332bbb4d

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "instabug-reactnative",
33
"description": "React Native plugin for integrating the Instabug SDK",
4-
"version": "16.0.0",
4+
"version": "16.0.1",
55
"author": "Instabug (https://instabug.com)",
66
"repository": "github:Instabug/Instabug-React-Native",
77
"homepage": "https://www.instabug.com/platforms/react-native",

0 commit comments

Comments
 (0)