Skip to content

chore(android): prepare snapshot with extra logs for repro steps #1382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: dream11
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
133 changes: 0 additions & 133 deletions README.md

This file was deleted.

3 changes: 2 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ String getExtOrDefault(String name) {
}

static boolean supportsNamespace() {
return false
def parsed = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')
def major = parsed[0].toInteger()
def minor = parsed[1].toInteger()

// Namespace support was added in 7.3.0
return (major == 7 && minor >= 3) || major >= 8
return false
}

void updateManifestPackage() {
Expand Down
4 changes: 2 additions & 2 deletions android/native.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project.ext.instabug = [
version: '14.0.3'
version: '14.0.0.1'
]

dependencies {
api "com.instabug.library:instabug:${project.ext.instabug.version}"
api "com.instabug.library-dream11:instabug:${project.ext.instabug.version}"
}
2 changes: 1 addition & 1 deletion android/sourcemaps.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Task createUploadSourcemapsTask(String flavor, String defaultVersionName, String
def sourceMapFile = getSourceMapFile(appDir, flavor)

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

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

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public List<NativeModule> createNativeModules(@NonNull ReactApplicationContext r
modules.add(new RNInstabugReactnativeModule(reactContext));
modules.add(new RNInstabugBugReportingModule(reactContext));
modules.add(new RNInstabugCrashReportingModule(reactContext));
modules.add(new RNInstabugSurveysModule(reactContext));
modules.add(new RNInstabugFeatureRequestsModule(reactContext));


modules.add(new RNInstabugRepliesModule(reactContext));
modules.add(new RNInstabugAPMModule(reactContext));
modules.add(new RNInstabugSessionReplayModule(reactContext));
Expand Down
Loading