Repo created

This commit is contained in:
Fr4nz D13trich 2025-11-20 14:05:12 +01:00
parent 6e9a0d01ce
commit 7ee9806fba
2415 changed files with 312708 additions and 2 deletions

1
sentrystub/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/build

20
sentrystub/build.gradle Normal file
View file

@ -0,0 +1,20 @@
apply plugin: 'com.android.library'
android {
compileSdk 33
namespace 'io.sentry'
defaultConfig {
minSdk 26
targetSdk 33
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
sonarqube {
skipProject = true
}
}

View file

@ -0,0 +1 @@
<manifest />

View file

@ -0,0 +1,11 @@
package io.sentry;
public class Breadcrumb {
public void setMessage(String message) {
// Stub
}
public void setLevel(SentryLevel info) {
// Stub
}
}

View file

@ -0,0 +1,4 @@
package io.sentry;
public interface Integration {
}

View file

@ -0,0 +1,7 @@
package io.sentry;
public class Scope {
public void addBreadcrumb(Breadcrumb breadcrumb) {
// Stub
}
}

View file

@ -0,0 +1,5 @@
package io.sentry;
public interface ScopeCallback {
void run(Scope scope);
}

View file

@ -0,0 +1,18 @@
package io.sentry;
public class Sentry {
public static final boolean STUB = true;
public static void configureScope(ScopeCallback callback) {
// Stub
}
public interface OptionsConfiguration<T extends SentryOptions> {
/**
* configure the options
*
* @param options the options
*/
void configure(T options);
}
}

View file

@ -0,0 +1,7 @@
package io.sentry;
public enum SentryLevel {
INFO,
WARNING,
ERROR
}

View file

@ -0,0 +1,7 @@
package io.sentry;
public class SentryOptions {
public void addIntegration(Integration integration) {
// Stub
}
}

View file

@ -0,0 +1,12 @@
package io.sentry.android.core;
import android.content.Context;
import io.sentry.Sentry;
import io.sentry.SentryOptions;
public class SentryAndroid {
public static void init(Context context, Sentry.OptionsConfiguration<SentryOptions> options) {
// Stub
}
}

View file

@ -0,0 +1,11 @@
package io.sentry.android.fragment;
import android.app.Application;
import io.sentry.Integration;
public class FragmentLifecycleIntegration implements Integration {
public FragmentLifecycleIntegration(Application application, boolean enableFragmentLifecycleBreadcrumbs, boolean enableAutoFragmentLifecycleTracing ) {
// Stub
}
}

View file

@ -0,0 +1,10 @@
package io.sentry.android.timber;
import io.sentry.Integration;
import io.sentry.SentryLevel;
public class SentryTimberIntegration implements Integration {
public SentryTimberIntegration(SentryLevel minEventLevel, SentryLevel minBreadcrumbLevel) {
// Stub
}
}