Skip to content

Commit ba95988

Browse files
committed
chore(android): prepare snapshot with extra logs for repro steps
1 parent ad3b3b1 commit ba95988

34 files changed

+15896
-1255
lines changed

README.md

-133
This file was deleted.

android/build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@ String getExtOrDefault(String name) {
1313
}
1414

1515
static boolean supportsNamespace() {
16+
return false
1617
def parsed = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')
1718
def major = parsed[0].toInteger()
1819
def minor = parsed[1].toInteger()
1920

2021
// Namespace support was added in 7.3.0
21-
return (major == 7 && minor >= 3) || major >= 8
22+
return false
2223
}
2324

2425
void updateManifestPackage() {

android/native.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project.ext.instabug = [
2-
version: '14.0.3'
2+
version: '14.0.0.1'
33
]
44

55
dependencies {
6-
api "com.instabug.library:instabug:${project.ext.instabug.version}"
6+
api "com.instabug.library-dream11:instabug:${project.ext.instabug.version}"
77
}

android/sourcemaps.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Task createUploadSourcemapsTask(String flavor, String defaultVersionName, String
4242
def sourceMapFile = getSourceMapFile(appDir, flavor)
4343

4444
def jsProjectDir = rootDir.parentFile
45-
def instabugDir = new File(['node', '-p', 'require.resolve("instabug-reactnative/package.json")'].execute(null, rootDir).text.trim()).getParentFile()
45+
def instabugDir = new File(['node', '-p', 'require.resolve("@instabug/instabug-reactnative-dream11/package.json")'].execute(null, rootDir).text.trim()).getParentFile()
4646

4747
def tokenShellFile = new File(instabugDir, 'scripts/find-token.sh')
4848
def inferredToken = executeShellScript(tokenShellFile, jsProjectDir)

android/src/main/java/com/instabug/reactlibrary/RNInstabugFeatureRequestsModule.java

-98
This file was deleted.

android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativePackage.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ public List<NativeModule> createNativeModules(@NonNull ReactApplicationContext r
2424
modules.add(new RNInstabugReactnativeModule(reactContext));
2525
modules.add(new RNInstabugBugReportingModule(reactContext));
2626
modules.add(new RNInstabugCrashReportingModule(reactContext));
27-
modules.add(new RNInstabugSurveysModule(reactContext));
28-
modules.add(new RNInstabugFeatureRequestsModule(reactContext));
27+
28+
2929
modules.add(new RNInstabugRepliesModule(reactContext));
3030
modules.add(new RNInstabugAPMModule(reactContext));
3131
modules.add(new RNInstabugSessionReplayModule(reactContext));

0 commit comments

Comments
 (0)