Repo created
This commit is contained in:
parent
6e9a0d01ce
commit
7ee9806fba
2415 changed files with 312708 additions and 2 deletions
1
sentrystub/.gitignore
vendored
Normal file
1
sentrystub/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/build
|
||||
20
sentrystub/build.gradle
Normal file
20
sentrystub/build.gradle
Normal 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
|
||||
}
|
||||
}
|
||||
1
sentrystub/src/main/AndroidManifest.xml
Normal file
1
sentrystub/src/main/AndroidManifest.xml
Normal file
|
|
@ -0,0 +1 @@
|
|||
<manifest />
|
||||
11
sentrystub/src/main/java/io/sentry/Breadcrumb.java
Normal file
11
sentrystub/src/main/java/io/sentry/Breadcrumb.java
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
package io.sentry;
|
||||
|
||||
public class Breadcrumb {
|
||||
public void setMessage(String message) {
|
||||
// Stub
|
||||
}
|
||||
|
||||
public void setLevel(SentryLevel info) {
|
||||
// Stub
|
||||
}
|
||||
}
|
||||
4
sentrystub/src/main/java/io/sentry/Integration.java
Normal file
4
sentrystub/src/main/java/io/sentry/Integration.java
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
package io.sentry;
|
||||
|
||||
public interface Integration {
|
||||
}
|
||||
7
sentrystub/src/main/java/io/sentry/Scope.java
Normal file
7
sentrystub/src/main/java/io/sentry/Scope.java
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
package io.sentry;
|
||||
|
||||
public class Scope {
|
||||
public void addBreadcrumb(Breadcrumb breadcrumb) {
|
||||
// Stub
|
||||
}
|
||||
}
|
||||
5
sentrystub/src/main/java/io/sentry/ScopeCallback.java
Normal file
5
sentrystub/src/main/java/io/sentry/ScopeCallback.java
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
package io.sentry;
|
||||
|
||||
public interface ScopeCallback {
|
||||
void run(Scope scope);
|
||||
}
|
||||
18
sentrystub/src/main/java/io/sentry/Sentry.java
Normal file
18
sentrystub/src/main/java/io/sentry/Sentry.java
Normal 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);
|
||||
}
|
||||
}
|
||||
7
sentrystub/src/main/java/io/sentry/SentryLevel.java
Normal file
7
sentrystub/src/main/java/io/sentry/SentryLevel.java
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
package io.sentry;
|
||||
|
||||
public enum SentryLevel {
|
||||
INFO,
|
||||
WARNING,
|
||||
ERROR
|
||||
}
|
||||
7
sentrystub/src/main/java/io/sentry/SentryOptions.java
Normal file
7
sentrystub/src/main/java/io/sentry/SentryOptions.java
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
package io.sentry;
|
||||
|
||||
public class SentryOptions {
|
||||
public void addIntegration(Integration integration) {
|
||||
// Stub
|
||||
}
|
||||
}
|
||||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue